{
"count": 150,
"next": "https://api.keywordsai.co/api/traces/list/?page=2",
"previous": null,
"results": [
{
"id": "trace_abc123",
"trace_unique_id": "trace_abc123",
"start_time": "2024-01-15T10:30:00Z",
"end_time": "2024-01-15T10:30:02.5Z",
"duration": 2.5,
"span_count": 5,
"llm_call_count": 2,
"total_prompt_tokens": 150,
"total_completion_tokens": 75,
"total_tokens": 225,
"total_cost": 0.00345,
"error_count": 0,
"input": {
"messages": [{"role": "user", "content": "Explain quantum computing"}]
},
"output": {
"choices": [
{
"message": {"role": "assistant", "content": "Quantum computing is..."}
}
]
},
"metadata": {"user_id": "user123", "session_id": "session456"},
"customer_identifier": "[email protected]",
"environment": "production",
"trace_group_identifier": "workflow_v1",
"name": "chat_completion",
"model": "gpt-4"
}
]
}