Skip to content

Chunked upload: 16 GB segment count and APPEND pacing - #461

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
docs/media-upload-16gb-segments
Open

mintlify[bot] wants to merge 2 commits into
mainfrom
docs/media-upload-16gb-segments

Conversation

@mintlify

@mintlify mintlify Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Addresses the docs gap after the 16 GB Premium media limit (forum: https://devcommunity.x.com/t/276668).

Changes to x-api/media/quickstart/media-upload-chunked.mdx:

  • Note that 16 GB uploads need about 2,000 (8 MB) to 3,300 (5 MB) APPENDs, and that segment_index is not capped at 999.
  • New "Pace APPEND requests for large files" section: the 1,875/15 min user limit, reading x-rate-limit-* headers, waiting for reset on 429, and resuming from the failed segment instead of restarting.

Not in this PR:

  • AppendMediaUploadRequest.segment_index maximum: 999 in openapi.json. That file is overwritten from https://api.x.com/2/openapi.json by update-docs.yml four times a day, so the fix has to land in the upstream spec. The XChat append schema also has maximum: 999.
  • Any change to the published APPEND rate limits. The API team needs to decide this.

Generated by Mintlify Agent.

Requested by: tcaldwell@x.ai via Slack
Mintlify session: slack_1790353489.651319_C09MQDT6BM4

@mintlify

mintlify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated
x-corp 🟢 Ready View Preview Sep 26, 2026, 1:14 AM

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This branch was successfully deployed

1 active deployment
staging — ad8c6009 Deployed Sep 26, 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