REST Resource: videoTrainability

Resource: VideoTrainability

Specifies who is allowed to train AI models on a YouTube video.

JSON representation
{
  "videoId": string,
  "kind": string,
  "etag": string,
  "permitted": [
    string
  ]
}
Fields
videoId

string

The ID of the video.

kind

string

Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability".

etag

string

Etag of this resource.

permitted[]

string

Specifies who is allowed to train AI models on the video. Valid values are:

  • A single string "All", indicating that any third party can use the video for training.
  • A single string "None", indicating that the video isn't permitted for training. The API also returns ["None"] when a video has no third-party training setting enabled (the default), isn't found, or isn't accessible.
  • A list of allowed third-party company names (for example, "Amazon", "Meta", or "OpenAI").

Methods

get

Returns the trainability status of a video.