Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,8 @@
"group": "Usage",
"pages": [
"x-api/usage/introduction",
"x-api/usage/get-usage"
"x-api/usage/get-usage",
"x-api/usage/get-usage-credits"
]
},
{
Expand Down
5 changes: 3 additions & 2 deletions x-api/usage/introduction.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Usage
sidebarTitle: Introduction
description: "The Usage endpoint lets you monitor your API usage, including the number of Posts consumed. Reference for the X API v2 standard tier covering usage."
description: "The Usage endpoints let you monitor your API usage and, for Pay-per-use (PPU) accounts, check your credit balance. Reference for the X API v2 standard tier covering usage."
keywords: ["usage API", "API usage", "usage tracking", "post usage", "consumption monitoring"]
---

Expand Down Expand Up @@ -29,11 +29,12 @@ Pay-per-usage plans are subject to a monthly cap of 3 million Post reads. If you

---

## Endpoint
## Endpoints

| Method | Endpoint | Description |
|:-------|:---------|:------------|
| GET | [`/2/usage/tweets`](/x-api/usage/get-usage) | Get Post usage data |
| GET | [`/2/usage/credits`](/x-api/usage/get-usage-credits) | Get your Pay-per-use (PPU) credit balance in USD |

---

Expand Down