agents

Create or replace an Agent Share.

Changed on

Creates or replaces one User or Team Agent Share. UseShared permits Agent sessions, files, and workflows; it does not permit Agent modification, deletion, sharing, ownership, or secret access.

post/api/agent/{agentName}/share

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/agent/{agentName}/share
  • Auth: HTTP bearer

Path parameters

agentNamestring required

Agent name.

Request body

target_user_idstring
target_team_idstring
capabilitiesAgentShareCapability[] required

Response

Agent Share created or replaced.

idstring required
agent_namestring required
target_user_idstring nullable required
target_team_idstring nullable required
created_bystring required
capabilitiesAgentShareCapability[] required
created_atstring date-time required

Changes