Share an agent with another user or change its visibility
cURL
curl --request POST \ --url https://api.example.com/api/v1/custom-agents/agents/share \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "agent_id": "<string>", "visibility": "private", "shared_with_email": "<string>" } '
{ "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>
private
public
shared
Successful Response
Show child attributes