Sessions
Mint an agent-bound worker token
Changed onReturns the token once. A worker runs on it in place of the swarm API key and acts only as this agent. Creates the agent when it does not exist and name is given. Fails with 409 when the agent already holds an active token.
post/api/agents/{id}/token
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/api/agents/{id}/token
- AuthHTTP bearer
Path parameters
idstring required
Request body
Response
Minted worker token
Changes
- info
endpoint added
- info