cURL
curl --request POST \ --url https://api.veryfront.com/runs/{run_id}/complete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "completed", "metadata": { "provider": "<string>", "model": "<string>", "inputTokens": 123, "outputTokens": 123, "finishReason": "<string>", "cachedInputTokens": 123, "reasoningTokens": 123, "providerRequestId": "<string>" }, "terminal_error_code": "<string>", "terminal_error_message": "<string>" } '
{ "completed": true, "run": { "run_id": "<string>", "kind": "agent", "status": "pending", "owner": { "kind": "conversation", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }, "parent_run_id": "<string>", "root_run_id": "<string>", "waiting_reason": "tool", "created_at": "<string>", "started_at": "<string>", "completed_at": "<string>", "metadata": null } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
completed
failed
cancelled
Show child attributes
Run completed