Usage
Get usage
Retrieves usage statistics for Posts over a specified number of days.
GET
Get usage
Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The number of days for which you need usage for.
Required range:
1 <= x <= 90A comma separated list of Usage fields to display. The fields available for a Usage object.
Minimum array length:
1Available options:
cap_reset_day, daily_client_app_usage, daily_project_usage, project_cap, project_id, project_usage Example:
[
"cap_reset_day",
"daily_client_app_usage",
"daily_project_usage",
"project_cap",
"project_id",
"project_usage"
]Response
The request has succeeded.
Usage per client app
Minimum array length:
1An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18