Active Sessions
Active Sessions API endpoints
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
agentId?string
Format
uuidResponse Body
curl -X GET "http://localhost:3013/api/active-sessions"Empty
Authorization
bearerAuth AuthorizationBearer <token>
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" }'Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
id*string
Response Body
curl -X DELETE "http://localhost:3013/api/active-sessions/string"Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
taskId*string
Response Body
curl -X DELETE "http://localhost:3013/api/active-sessions/by-task/string"Empty
Authorization
bearerAuth AuthorizationBearer <token>
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 '{}'Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
taskId*string
Response Body
curl -X PUT "http://localhost:3013/api/active-sessions/heartbeat/string"Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
taskId*string
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" }'Empty