Documentation

Update the agents attached to a session

PATCH
/api/v1/external/sessions/agents

Scope requis : write:sessions.

AutorisationBearer <jeton>

JWT d'organisation obtenu via le flow OIDC. Voir le guide d'intégration.

Dans: header

Corps de requête

application/json

Définitions TypeScript

Utilisez le type request body en TypeScript.

sessionId?string
agentIds*array<string>

Corps de réponse

application/json

curl -X PATCH "https://example.com/api/v1/external/sessions/agents" \  -H "Content-Type: application/json" \  -d '{    "agentIds": [      "string"    ]  }'
{  "sessionId": "string",  "totalAgentShared": 0}