Method: assetLabels.listStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
This API endpoint retrieves a list of asset labels associated with a content owner via a GET request tohttps://youtubepartner.googleapis.com/youtube/partner/v1/assetLabels.
The request supports several query parameters, includinglabelPrefix,onBehalfOfContentOwner,q, andpageToken, which allow for filtering and pagination of results.
The request body must be empty for this endpoint.
A successful response returns a paginated list ofassetLabelresources, including details like kind, pageInfo, items, and anextPageTokenfor subsequent requests.
Authorization for this endpoint requires thehttps://www.googleapis.com/auth/youtubepartnerOAuth scope.
ThelabelPrefixparameter identifies the prefix of asset labels to retrieve.
onBehalfOfContentOwner
string
TheonBehalfOfContentOwnerparameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.
q
string
Theqparameter specifies the query string to use to filter search results. YouTube searches for the query string in thelabelNamefield of asset labels.
pageToken
string
ThepageTokenparameter specifies a token that identifies a particular page of results to return. Set this parameter to the value of thenextPageTokenvalue from the previous API response to retrieve the next page of search results.
Request body
The request body must be empty.
Response body
A paginated list ofassetLabelresources returned in response to aassetLabel.listrequest.
If successful, the response body contains data with the following structure:
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],["This API endpoint retrieves a list of asset labels for a content owner using a `GET` request to `https://youtubepartner.googleapis.com/youtube/partner/v1/assetLabels`. Requests are authorized via `https://www.googleapis.com/auth/youtubepartner` scope. It supports parameters for `labelPrefix`, `onBehalfOfContentOwner`, filtering with `q`, and pagination via `pageToken`. The request body must be empty. The response contains a paginated list of `assetLabel` resources, with fields including `kind`, `pageInfo`, `items`, and `nextPageToken` in JSON format.\n"]]