{"ok":true,"data":{"trace":{"id":"b074e0e6-2223-47f4-9c11-886eda565eb0","trace_id":"kUKKEdyB4xGn9ypr","name":"SQL Query: INSERT INTO traces (\n      trace_id, name, de...","description":"Database Query Execution","session_id":"MJRQT6x-86CeqBP7","source_domain":null,"source_site_id":null,"agent_name":null,"model_name":null,"status":"completed","start_time":"2026-05-22T21:35:42.543Z","end_time":"2026-05-22T21:35:42.757Z","duration_ms":214,"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_mphfv6q4_p2oi1wz","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":214},"tags":[],"fingerprint_hash":"2d6f247325628f967225d7e2dabc4b4316a51c2131e064fd50a008a58baaddbd","created_at":"2026-05-22T21:35:42.862Z","updated_at":"2026-05-22T21:35:42.862Z"},"completion":{"completionStatus":"completed","reason":"All required spans are complete or explicitly optional/not applicable.","algorithmVersion":"trace-completion-v2.5.0","computedAt":"2026-05-26T03:34:12.636Z","expectedSpans":["jxmXNVsh"],"completedSpans":["jxmXNVsh"],"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"}}