Skip to main content
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