OpenAPI ReferenceApi claw

Answer API Agent question

Answers a question the Agent asked with `ask_user_question` and resumes the paused run. `toolCallId` names the question; `answers` maps each question text to the chosen label.

POST
/api/v1/api-agents/{agentId}/sessions/{sessionId}/answers

Answers a question the Agent asked with ask_user_question and resumes the paused run. toolCallId names the question; answers maps each question text to the chosen label.

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string
sessionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/api-agents/string/sessions/string/answers" \  -H "Content-Type: application/json" \  -d '{    "toolCallId": "string",    "questions": [      {        "question": "string"      }    ],    "answers": {      "property1": "string",      "property2": "string"    }  }'
{  "ok": true}