Share agent with other
POST
/api/v1/gen_agents/share
Share an agent with another user with specific permissions.
Request Body required
Section titled “Request Body required ” ShareAgentRequest
object
user_shared_agent
required
ShareAgentData
object
agent_id
required
Agent Id
ID of the agent to share
string
username_or_email
required
Username Or Email
Username or email of the user to share with
string
role
required
Role
Role/permission level for the shared agent
string
Example
editorResponses
Section titled “ Responses ”Successful Response
BooleanResponse
Simple response returning a single boolean success status.
object
success
required
Success
Success status of the operation
boolean
Bad Request
Agent not found
User shared agent creation/update failed.
Internal Server Error