{"ok":true,"data":{"trace":{"id":"9ab15035-4ee5-48c2-b884-b0c569a35092","trace_id":"3zfLZK3vBhrqkAgq","name":"SQL Query: INSERT INTO traces (\n      trace_id, name, de...","description":"Database Query Execution","session_id":"fOehBX60cfRbL_xK","source_domain":null,"source_site_id":null,"agent_name":null,"model_name":null,"status":"completed","start_time":"2026-05-22T21:35:43.273Z","end_time":"2026-05-22T21:35:43.667Z","duration_ms":394,"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_mphfv7fb_9lmjnlg","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":394},"tags":[],"fingerprint_hash":"68a9b45b1a95ef9787099aaf67fe871efb71e9e6a1b30455ea3a315b05eaa58b","created_at":"2026-05-22T21:35:43.719Z","updated_at":"2026-05-22T21:35:43.719Z"},"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:52.213Z","expectedSpans":["3rGTe1uK"],"completedSpans":["3rGTe1uK"],"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"}}