cURL
curl --request PATCH \ --url https://api.example.com/api/v1/agent-executions/{agent_execution_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "state": { "dataExtracted": {}, "status": "PENDING_REVIEW" } } '
{ "agentId": "<string>", "workspaceId": "<string>", "state": { "status": "PENDING_INPUTS" }, "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
"PENDING_REVIEW"
Successful Response
The agent is waiting for inputs, e.g., files to be uploaded. An agent may stay in this state in failure cases, e.g., if file upload fails.
"PENDING_INPUTS"
Was this page helpful?