{"ok":true,"data":{"trace":{"id":"43489f48-8a5c-45dc-ab0b-07b8c57deee1","trace_id":"l9g0o9ObRo7JPYf0","name":"SQL Query: INSERT INTO traces (\n      trace_id, name, de...","description":"Database Query Execution","session_id":"fDSM6P7eV5ghLCFe","source_domain":null,"source_site_id":null,"agent_name":null,"model_name":null,"status":"completed","start_time":"2026-05-22T21:35:43.375Z","end_time":"2026-05-22T21:35:43.670Z","duration_ms":295,"total_spans":1,"total_tool_calls":0,"total_tokens_used":0,"error_count":0,"retry_count":0,"ai_summary":null,"ai_health_score":null,"ai_anomalies":[],"ai_suggestions":[],"ai_analyzed_at":null,"network_percentile":null,"similar_trace_ids":null,"is_public":true,"share_token":"req_mphfv7fe_snv7ntn","annotations_count":0,"metadata":{"query":"\n    INSERT INTO traces (\n      trace_id, name, description, session_id, source_domain, source_site_id,\n      agent_name, model_name, status, start_time, end_time, duration_ms,\n      total_spans, total_tool_calls, total_tokens_used, error_count, retry_count,\n      metadata, tags, fingerprint_hash, share_token, is_public\n    ) VALUES (\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      ?,\n      true\n    )\n  ","durationMs":295},"tags":[],"fingerprint_hash":"0bd0adc6980823192f102bed15169b22f4e71c347a3a3a56da29e305631e1de6","created_at":"2026-05-22T21:35:43.741Z","updated_at":"2026-05-22T21:35:43.741Z"},"completion":{"completionStatus":"completed","reason":"All required spans are complete or explicitly optional/not applicable.","algorithmVersion":"trace-completion-v2.5.0","computedAt":"2026-05-26T01:51:19.819Z","expectedSpans":["nCLQ_zEL"],"completedSpans":["nCLQ_zEL"],"missingSpans":[],"pendingSpans":[],"lateSpans":[],"orphanSpans":[],"failedSpans":[],"optionalSpans":[],"notApplicableSpans":[],"counts":{"expected":1,"completed":1,"pending":0,"missing":0,"failed":0,"late":0,"orphan":0,"optional":0,"notApplicable":0}},"storage":"database"}}