Skip to main content
GET
GetHistory

Headers

Authorization
string
required

OAuth 2.0 Bearer token with the 'read' scope. Required for all library operations. Format: Bearer <access_token>.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

Accept-Language
string

Preferred locale for localized content in returned items (BCP 47).

Example:

"ar"

Query Parameters

content_type
string

Optional filter by content type. If UNSPECIFIED, returns all content types.

page_size
integer<int32>

Maximum number of items to return per page (1-100, default 20).

page_token
string

Opaque page token from a previous response. Omit for the first page.

Response

Successful response

GetHistoryResponse is the response message containing the user's playback history.

entries
object[]
nextPageToken
string

Token for the next page of results. Empty if no more pages.