{"ok":true,"data":{"trace":{"id":"84a41df3-f5b6-45cb-9d55-d37067b9d1b5","trace_id":"rG4tRQkPr5NkX9gO","name":"SQL Query: INSERT INTO traces (\n      trace_id, name, de...","description":"Database Query Execution","session_id":"6Cf6exEmYkfFVJQ3","source_domain":null,"source_site_id":null,"agent_name":null,"model_name":null,"status":"completed","start_time":"2026-05-22T21:35:41.919Z","end_time":"2026-05-22T21:35:42.381Z","duration_ms":462,"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_mphfv6fs_8xh2cki","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":462},"tags":[],"fingerprint_hash":"2b80e1394565a4cff368d8b68355e4ad786427d3810bc54c99d5d07e7ee8c4d5","created_at":"2026-05-22T21:35:42.450Z","updated_at":"2026-05-22T21:35:42.450Z"},"completion":{"completionStatus":"completed","reason":"All required spans are complete or explicitly optional/not applicable.","algorithmVersion":"trace-completion-v2.5.0","computedAt":"2026-05-26T03:31:12.061Z","expectedSpans":["b6SeCYNz"],"completedSpans":["b6SeCYNz"],"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"}}