cURL
curl --request POST \ --url https://api.example.com/agent \ --header 'Content-Type: application/json' \ --data ' { "decision": "<string>" } '
Create and manage human-in-the-loop approval requests.
{ "action": "create-confirmation", "agent_id": "uuid", "tool_name": "gmail_send", "service_name": "gmail", "tool_args_summary": "to: team@celerflow.ai, subject: ...", "action_description": "Send email to team@celerflow.ai" }
{ "id": "uuid", "status": "pending", "expires_at": "2026-03-28T07:05:00Z" }
{ "action": "respond-confirmation", "confirmation_id": "uuid", "decision": "approved" }
approved
denied
{ "id": "uuid", "status": "approved", "decided_at": "2026-03-28T07:01:30Z" }
{ "action": "get-confirmation", "confirmation_id": "uuid" }