Active Sessions
Monitor and control active agent sessions running in the swarm
Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
uuidResponse Body
curl -X GET "http://localhost:3013/api/active-sessions"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/active-sessions" \ -H "Content-Type: application/json" \ -d '{ "agentId": "string", "triggerType": "string" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X DELETE "http://localhost:3013/api/active-sessions/string"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X DELETE "http://localhost:3013/api/active-sessions/by-task/string"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/active-sessions/cleanup" \ -H "Content-Type: application/json" \ -d '{}'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X PUT "http://localhost:3013/api/active-sessions/heartbeat/string"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "http://localhost:3013/api/active-sessions/provider-session/string" \ -H "Content-Type: application/json" \ -d '{ "providerSessionId": "string" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/active-sessions/recover-orphaned-tasks" \ -H "Content-Type: application/json" \ -d '{ "agentId": "string" }'