Update a custom agent
cURL
curl --request PUT \ --url https://api.example.com/api/v1/custom-agents/agents/{agent_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "role": "<string>", "goal": "<string>", "backstory": "<string>", "system_prompt": "<string>", "tasks": [ { "description": "<string>", "tools": [ "<string>" ], "expected_output": "<unknown>", "mcp_servers": [] } ], "visibility": "private" } '
{ "role": "<string>", "goal": "<string>", "backstory": "<string>", "system_prompt": "<string>", "id": "<string>", "user_id": "<string>", "tasks": [ { "description": "<string>", "tools": [ "<string>" ], "expected_output": "<unknown>", "id": 123, "mcp_servers": [] } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "deployment_status": "<string>", "deployment_url": "<string>", "visibility": "private" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
private
public
shared
Successful Response