{
"data": [
{
"id": "14624140233640368324",
"type": "span",
"attributes": {
"duration": 83000,
"input": {
"value": "hi",
"messages": [
{
"content": "hi",
"role": "user"
}
]
},
"metadata": {
"test-key": "test-value"
},
"metrics": {
"cache_read_input_tokens": 0,
"cache_write_input_tokens": 0,
"estimated_cache_read_input_cost": 0,
"estimated_cache_write_input_cost": 0,
"estimated_input_cost": 1500,
"estimated_non_cached_input_cost": 1500,
"estimated_output_cost": 6000,
"estimated_total_cost": 7500,
"input_tokens": 10,
"non_cached_input_tokens": 10,
"output_tokens": 10,
"total_tokens": 20
},
"ml_app": "test-ml-app",
"model_name": "gpt-4o-mini",
"model_provider": "openai",
"name": "llm_call_enriched",
"output": {
"value": "hello there",
"messages": [
{
"content": "hello there",
"role": "assistant"
}
]
},
"parent_id": "undefined",
"span_id": "14624140233640368324",
"span_kind": "llm",
"start_ns": 1761833858897,
"status": "ok",
"tags": [
"service:test-service",
"env:prod",
"ddtrace.version:3.17",
"test-key:test-value",
"error:0",
"source:llm-observability",
"source:integration",
"ml_app:test-ml-app",
"version:",
"language:python"
],
"tool_definitions": [
{
"name": "test-tool",
"description": "A test tool",
"schema": {
"test-key": "test-value"
}
}
],
"trace_id": "6903738200000000af2d3775dfc70530"
}
}
],
"meta": {
"elapsed": 336,
"request_id": "pddv1ChZucHRwTW96NFNfT3Z4bWFLTFBDWkR3Ii0KHYhY65R_1R21AyDpavSaeO2sul_V6omQLAyWutrzEgx-GnVDrZaMu-lW-Yc",
"status": "done",
"page": null
}
}