cURL
curl --request GET \ --url https://api.tracelm.ai/api/v1/tasks/{id}
{ "id": "<string>", "task_name": "<string>", "user_id": "<string>", "conversation_id": "<string>", "status": "<string>", "metadata": {}, "traces": [ {} ], "loops": [ {} ], "started_at": "<string>", "completed_at": "<string>" }
Get detailed information about a specific task
active
completed
failed
timeout
curl -X GET "https://api.tracelm.ai/api/v1/tasks/550e8400-e29b-41d4-a716-446655440000" \ -H "X-API-Key: $TRACELM_API_KEY"
{ "id": "550e8400-e29b-41d4-a716-446655440000", "task_name": "booking_flow", "user_id": "user_123", "conversation_id": "conv_456", "status": "completed", "metadata": { "intent": "book_flight" }, "traces": [ { "id": "trace_1", "model": "gpt-4o-mini", "latency_ms": 1200, "tokens_in": 150, "tokens_out": 50, "has_tool_calls": true, "created_at": "2024-01-15T10:30:00Z" } ], "loops": [], "started_at": "2024-01-15T10:30:00Z", "completed_at": "2024-01-15T10:31:00Z" }