- HTTP request
- Query parameters
- Request body
- Response body
- Authorization scopes
- ContentType
- Sort
- Status
- Try it!
Retrieves a list of claims that match the search criteria. You can search for claims that are associated with a specific asset or video or that match a specified query string.
HTTP request
GET https://youtubepartner.googleapis.com/youtube/partner/v1/claimSearch
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
assetId |
The |
contentType |
The |
createdAfter |
The |
createdBefore |
The |
inactiveReasons |
The |
includeThirdPartyClaims |
Used along with the |
onBehalfOfContentOwner |
The |
origin |
The |
pageToken |
The |
partnerUploaded |
The |
q |
The |
referenceId |
The |
sort |
The |
status |
The |
statusModifiedAfter |
The |
statusModifiedBefore |
The |
videoId |
The |
isVideoShortsEligible |
The |
Request body
The request body must be empty.
Response body
A paginated list of claim snippets returned in response to a claimSearch.list
call.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "kind": string, "pageInfo": { object ( |
Fields | |
---|---|
kind |
The type of the API response. For this operation, the value is |
pageInfo |
The |
items[] |
A list of claims that match the request criteria. |
nextPageToken |
The token that can be used as the value of the |
previousPageToken |
The token that can be used as the value of the |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.
ContentType
Enum of content type.
Enums | |
---|---|
CONTENT_TYPE_UNSPECIFIED |
Default value. |
AUDIO |
Restrict results to audio-only claims. |
AUDIOVISUAL |
Restrict results to audiovisual claims. |
VISUAL |
Restrict results to video-only claims. |
Sort
Supported sorting orders.
Enums | |
---|---|
SORT_UNSPECIFIED |
Default value. |
DATE |
Resources are sorted in reverse chronological order (from newest to oldest) based on the dates they were created. This value is not applicable if the status parameter is set to any of the following values: appealed , disputed , pending , potential , or routedForReview . |
VIEW_COUNT |
Resources are sorted from highest to lowest number of views for the claimed content. This value is not applicable if the status parameter is set to any of the following values: appealed , disputed , pending , potential , or routedForReview . |
Status
Enum of claim status.
Enums | |
---|---|
STATUS_UNSPECIFIED |
Default value. |
ACTIVE |
Restrict results to claims with active status. |
APPEALED |
Restrict results to claims with appealed status. |
DISPUTED |
Restrict results to claims with disputed status. |
INACTIVE |
Restrict results to claims with inactive status. |
PENDING |
Restrict results to claims with pending status. |
POTENTIAL |
Restrict results to claims with potetial status. |
ROUTED_FOR_REVIEW |
Restrict results to claims that require review based on a match policy rule. |
TAKEDOWN |
Restrict results to claims with takedown status. |
SHORT_MATCH |
Restrict results to claims where the matching segment is too short for us to be confident that it should be made. |
YOUTUBE_PARTNER |
Restrict results to claims about videos that were uploaded to a channel owned by a YT partner. |
LOW_CONFIDENCE |
Restrict results to claims with low confidence for various reasons, including low match score, low trust score, high view count, etc. |
YT_MONETIZATION_POLICY |
Restrict results to 3rd claims that are suspected of being actually first party claims done through music aggregators (allowing creators to monetize without having to get into YPP). |
RETROACTIVE_BLOCK |
Restrict results to low confidence claims made as part of legacy block. |