Skip to main content

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.

Paginated response interface Represents the structure of a paginated API response from the X API.

Type parameters

NameDescription
TThe type of items in the response

Properties

data
T[]
required
Array of items in the current page
meta
Object
Pagination metadata
includes
Record<string, any>
Additional included objects (users, tweets, etc.)
errors
any[]
Any errors in the response