Document relevance_ai.request_id field in streaming events (TSP-1428) - #798
claude[bot] wants to merge 1 commit into
Conversation
Add relevance_ai.request_id to the base attributes tables for both logs and traces, update the agent_deleted example JSON to include the field, and add a new "Correlating API responses to OTEL records" section that explains how to use the x-request-id response header to trace API calls through to their corresponding OTEL records in S3 exports. Implements field added in relevanceai/relevance-api#17392. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
🎯 Vibe checkReviewed: 1 file (1 with issues, 0 clean) Scores
Score key: 🟢 9–10, 🟡 6–8, 🔴 1–5. ✨ Overall vibe: Solid technical reference documentation — well-organized, migration warnings are specific and actionable, and the SQL example is exactly the kind of practical detail enterprise readers need. The issues are all surface-level: a capitalization slip, a couple of bold-as-heading antipatterns, and a CardGroup that trades scannability for visual flair in a context where scannability is the point. 🔧 Issues (4)
🧩 Component suggestions (3)
🏗️ Page structure (1)
✅ Clean files (0)No files were entirely clean — the one reviewed file has the issues listed above. 🔋 Credit usage
Files read: |
Summary
relevance_ai.request_idto the Logs base attributes tablerelevance_ai.request_idto the Traces base attributes tableagent_deletedexample log record JSON to include the field with a sample valuex-request-idresponse header to filter their S3/Databricks exports to the exact OTEL records produced by a specific API call, with an AWS Athena SQL exampleContext
Both OTEL streams (logs and traces) now carry
relevance_ai.request_id, which matches thex-request-idheader returned by the Relevance AI API on every response. This enables customers to link API calls to the OTEL records they produce — useful for debugging specific invocations, correlating application logs with OTEL records, compliance audits, and troubleshooting.Feature implemented in relevanceai/relevance-api#17392.
Linear: https://linear.app/relevance/issue/TSP-1428/
🤖 Generated with Claude Code