{ "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "project_name": "my-rag-chatbot", "project_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "name": "user_query_trace", "start_time": "2026-06-13T10:00:00.000Z", "end_time": "2026-06-13T10:00:02.543Z", "input": { "messages": [ { "role": "user", "content": "What are the main features of Opik?" } ] }, "output": { "message": { "role": "assistant", "content": "Opik is an open-source LLM evaluation and tracing platform that provides: 1) Trace logging for debugging LLM applications, 2) Automated evaluation with LLM-as-a-judge metrics, 3) Dataset management for running experiments, and 4) Production monitoring with real-time scoring." } }, "metadata": { "session_id": "session-abc-123", "user_id": "user-456", "environment": "production" }, "tags": ["rag", "production", "chatbot"], "usage": { "prompt_tokens": 245, "completion_tokens": 87, "total_tokens": 332 }, "created_at": "2026-06-13T10:00:02.600Z", "last_updated_at": "2026-06-13T10:00:02.600Z", "created_by": "sdk", "feedback_scores": [ { "name": "relevance", "value": 0.92, "reason": "The answer directly addresses the question with accurate information.", "source": "online_scoring" }, { "name": "helpfulness", "value": 4.5, "reason": "Clear and informative response", "source": "ui" } ], "span_feedback_scores": [ { "name": "hallucination", "value": 0.05, "source": "online_scoring" } ], "total_estimated_cost": 0.000664, "duration": 2543 }