Use X-API-Key header for org-level provider invocation in docs#1197
Use X-API-Key header for org-level provider invocation in docs#1197jhivandb wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR updates agent tutorial examples to use ChangesAPI key header documentation updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Purpose
Correct the documentation for organization-level LLM Service Providers (and the MCP proxy code snippet) so the API key is passed in the
X-API-Keyheader. The "Next" docs previously instructed callers to use anAPI-Keyheader for org-level provider invocation, which does not match the gateway, which expectsX-API-Key.Goals
X-API-Key) for org-level provider invocation.Approach
Updated the
Next(current) docs only — versioned docs were left untouched:documentation/docs/tutorials/configure-agent-llm-configuration.mdx— Python snippet, Header Name table row, example cURL, and prose (4 occurrences)API-Key→X-API-Key.documentation/docs/tutorials/configure-agent-mcp-proxies.mdx— Python snippet (1 occurrence)API-Key→X-API-Key.The registration, secure-endpoints, MCP-proxy cURL, and CORS docs already used
X-API-Key, so the tutorial set is now fully consistent.User stories
N/A — documentation-only correction.
Release note
Docs: org-level LLM/MCP provider invocation examples now use the correct
X-API-Keyheader.Documentation
This PR is the documentation change.
Training
N/A — no training impact.
Certification
N/A — no certification impact.
Marketing
N/A — internal docs correction.
Automation tests
Unit tests: N/A — docs-only change.
Integration tests: N/A — docs-only change.
Security checks
Samples
N/A — no samples affected.
Related PRs
N/A
Migrations
N/A — no DB migrations.
Test environment
N/A — docs-only.
Learning
N/A
Summary by CodeRabbit
X-API-Keyheader consistently when connecting to LLM providers and MCP proxies.