v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBLLM Observability
List LLM Observability experiment spans (v1)
Retrieve spans with their evaluation metrics for a given experiment. Returns spans only, with no summary metrics and no pagination. Deprecated in favor of ListLLMObsExperimentEventsV3.
get/api/v2/llm-obs/v1/experiments/{experiment_id}/events
Path parameters
experiment_idstring required
The ID of the LLM Observability experiment.
Response
OK
Example response
{
"data": [
{
"attributes": {
"duration": 1500000000,
"eval_metrics": [
{
"assessment": "pass",
"eval_source_type": "managed",
"id": "00000000-0000-0000-0000-000000000001",
"label": "faithfulness",
"metric_source": "custom",
"metric_type": "score",
"span_id": "span-7a1b2c3d",
"timestamp_ms": 1705314600000,
"trace_id": "abc123def456"
}
],
"id": "00000000-0000-0000-0000-000000000001",
"meta": {
"error": {
"message": "Model response timed out",
"stack": "Traceback (most recent call last):\n File \"main.py\", line 10, in <module>\n response = model.generate(input)\n File \"model.py\", line 45, in generate\n raise TimeoutError(\"Model response timed out\")\nTimeoutError: Model response timed out",
"type": "TimeoutError"
}
},
"name": "llm_call",
"span_id": "span-7a1b2c3d",
"start_ns": 1705314600000000000,
"status": "ok",
"trace_id": "abc123def456"
},
"id": "00000000-0000-0000-0000-000000000001",
"type": "experiments"
}
]
}