Skip to content

Document x-request-id, Retry-After, and structured 429 rate-limit details - #602

Merged
tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/retry-after-and-request-id-docs
Dec 2, 2026
Merged

tcaldwell-x merged 1 commit into
mainfrom
tcaldwell/retry-after-and-request-id-docs

Conversation

@tcaldwell-x

Copy link
Copy Markdown
Collaborator

Summary

Document the new X API v2 response headers and structured 429 Too Many Requests Problem Details now live on api.x.com:

  • x-api/fundamentals/rate-limits.mdx: Document retry-after (covering 1-second, 15-minute, and 24-hour windows without clock skew) and 24-hour rate-limit headers, add an example 429 Problem Details response and field table (limit_scope, limit_window, limit, remaining, reset, retry_after), and update the Python retry example to honor retry-after first.
  • x-api/fundamentals/response-codes-and-errors.mdx: Document x-request-id on every response (2xx, 4xx, 5xx), update the 429 troubleshooting accordion and headers table, and recommend including x-request-id when asking for help.
  • fundamentals/rate-limits.mdx: Document retry-after and update the 429 example to the X API v2 Problem Details format.
  • changelog.mdx: Add a Dec 1, 2026 (X API v2) changelog entry.

@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
x-corp 🟢 Ready View Preview Dec 2, 2026, 1:13 AM

@tcaldwell-x
tcaldwell-x merged commit 7c34182 into main Dec 2, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
staging — c09231b4 Deployed Dec 2, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant