cURL
curl --request POST \ --url https://api.agnost.ai/api/v1/capture-event \ --header 'Content-Type: application/json' \ --header 'X-Org-Id: <api-key>' \ --data ' { "session_id": "<string>", "primitive_name": "search_web", "primitive_type": "tool", "success": true, "latency": 123, "args": "<string>", "result": "<string>", "checkpoints": [ { "name": "<string>", "timestamp": 123, "metadata": {} } ], "metadata": {} } '
{ "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Record a single tool call within a session
Organization ID (UUID) — used by SDKs for event ingestion
"search_web"
tool
resource
prompt
Execution time in milliseconds
JSON-encoded input arguments
JSON-encoded output
Show child attributes
Event recorded