Skip to content

Add /2/usage/credits endpoint to Usage docs - #329

Merged
vaulpannx merged 1 commit into
mainfrom
mintlify/8d93cbb8
Aug 24, 2026
Merged

Add /2/usage/credits endpoint to Usage docs#329
vaulpannx merged 1 commit into
mainfrom
mintlify/8d93cbb8

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Adds the new GET /2/usage/credits endpoint (PPU credit balance in USD) to the Usage section.

Changes

  • docs.json: added x-api/usage/get-usage-credits to the Usage group so the auto-generated page is reachable in the sidebar.
  • x-api/usage/introduction.mdx: added the new endpoint to the endpoints table and updated the section description to mention PPU credits.

The MDX page itself (x-api/usage/get-usage-credits.mdx) was generated by the Update Documentation Action run against the latest api.x.com/2/openapi.json.


Generated by Mintlify Agent.

Requested by: pvann@x.ai via Slack
Mintlify session: slack_1787596117.503339_C09MQDT6BM4

@mintlify

mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated (UTC)
x-corp 🟢 Ready View Preview Aug 24, 2026, 6:49 PM

@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.

@vaulpannx
vaulpannx merged commit 9eb2660 into main Aug 24, 2026
1 of 2 checks passed
@mintlify

mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Docs PR opened: #330

Added an Aug 24 changelog entry announcing the new GET /2/usage/credits endpoint for checking Pay-per-use credit balances.

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.

2 participants