Agents
Delegation

Issue a delegation token from one agent to another

Changed on
post/api/v1/agents/{id}/delegate

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/agents/{id}/delegate
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

idstring required

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Request body

target_agent_idstring required
allowed_actionsstring[]
allowed_topicsstring[]
ttl_secondsinteger
parent_tokenstring

Response

Delegation token issued

tokenstring
kidstring
expires_atstring
chain_depthinteger
jtistring

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added