Sessions
Create get agent task response session
Create a session that lets the client fetch the response of a completed agent task.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/sessions" \ -H "Content-Type: application/json" \ -d '{ "getAgentTaskResponse": { "agentTaskId": "ata_exampleagenttaskid000000000000" } }'{ "id": "example-session-id", "createdAt": "2024-04-08T17:02:27.887295Z", "type": "GET_AGENT_TASK_RESPONSE", "clientToken": "client token"}