Skip to main content

Documentation Index

Fetch the complete documentation index at: https://x-preview-mintlify-weekly-changelog-1778710653.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This module provides Pydantic models for request and response data structures for the usage endpoints of the X API. All models are generated from the OpenAPI specification and provide type safety and validation.

GetResponse

Class Bases: BaseModel Response model for get

Methods

class xdk.usage.models.GetResponse

Response model for get