YouTube · Schema

ListGroupsResponse

Response message for GroupsService.ListGroups.

VideoYouTubeGoogleMediaSocialStreamingLive StreamingChannelsPlaylistsSearch

Properties

Name Type Description
items array A list of groups that match the API request parameters. Each item in the list represents a `group` resource.
errors object Apiary error details
nextPageToken string The token that can be used as the value of the `pageToken` parameter to retrieve the next page in the result set.
kind string Identifies the API resource's type. The value will be `youtube#groupListResponse`.
etag string The Etag of this resource.
View JSON Schema on GitHub

JSON Schema

youtube-list-groups-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-list-groups-response-schema.json",
  "title": "ListGroupsResponse",
  "description": "Response message for GroupsService.ListGroups.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtube-analytics-groups-api-openapi.yml#/components/schemas/ListGroupsResponse",
  "properties": {
    "items": {
      "description": "A list of groups that match the API request parameters. Each item in the list represents a `group` resource.",
      "items": {
        "$ref": "#/$defs/Group"
      },
      "type": "array"
    },
    "errors": {
      "$ref": "#/$defs/Errors",
      "description": "Apiary error details"
    },
    "nextPageToken": {
      "type": "string",
      "description": "The token that can be used as the value of the `pageToken` parameter to retrieve the next page in the result set."
    },
    "kind": {
      "description": "Identifies the API resource's type. The value will be `youtube#groupListResponse`.",
      "type": "string"
    },
    "etag": {
      "type": "string",
      "description": "The Etag of this resource."
    }
  },
  "type": "object",
  "$defs": {
    "ErrorProto": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "Error domain. RoSy services can define their own domain and error codes. This should normally be the name of an enum type, such as: gdata.CoreErrorDomain"
        },
        "externalErrorMessage": {
          "description": "A short explanation for the error, which can be shared outside Google. Please set domain, code and arguments whenever possible instead of this error message so that external APIs can build safe error messages themselves. External messages built in a RoSy interface will most likely refer to information and concepts that are not available externally and should not be exposed. It is safer if external APIs can understand the errors and decide what the error message should look like.",
          "type": "string"
        },
        "location": {
          "description": "Location of the error, as specified by the location type. If location_type is PATH, this should be a path to a field that's relative to the request, using FieldPath notation (net/proto2/util/public/field_path.h). Examples: authenticated_user.gaia_id resource.address[2].country",
          "type": "string"
        },
        "debugInfo": {
          "description": "Debugging information, which should not be shared externally.",
          "type": "string"
        },
        "argument": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Error arguments, to be used when building user-friendly error messages given the error domain and code. Different error codes require different arguments."
        },
        "locationType": {
          "enum": [
            "PATH",
            "OTHER",
            "PARAMETER"
          ],
          "type": "string"
        },
        "code": {
          "description": "Error code in the error domain. This should correspond to a value of the enum type whose name is in domain. See the core error domain in error_domain.proto.",
          "type": "string"
        }
      },
      "description": "Describes one specific error."
    },
    "Errors": {
      "properties": {
        "requestId": {
          "description": "Request identifier generated by the service, which can be used to identify the error in the logs",
          "type": "string"
        },
        "error": {
          "type": "array",
          "description": "Specific error description and codes",
          "items": {
            "$ref": "#/$defs/ErrorProto"
          }
        },
        "code": {
          "enum": [
            "BAD_REQUEST",
            "FORBIDDEN",
            "NOT_FOUND",
            "CONFLICT",
            "GONE",
            "PRECONDITION_FAILED",
            "INTERNAL_ERROR",
            "SERVICE_UNAVAILABLE"
          ],
          "description": "Global error code. Deprecated and ignored. Set custom error codes in ErrorProto.domain and ErrorProto.code instead.",
          "type": "string",
          "deprecated": true
        }
      },
      "type": "object",
      "description": "Request Error information. The presence of an error field signals that the operation has failed."
    },
    "Group": {
      "properties": {
        "snippet": {
          "$ref": "#/$defs/GroupSnippet",
          "description": "The `snippet` object contains basic information about the group, including its creation date and name."
        },
        "contentDetails": {
          "$ref": "#/$defs/GroupContentDetails",
          "description": "The `contentDetails` object contains additional information about the group, such as the number and type of items that it contains."
        },
        "kind": {
          "description": "Identifies the API resource's type. The value will be `youtube#group`.",
          "type": "string"
        },
        "etag": {
          "description": "The Etag of this resource.",
          "type": "string"
        },
        "errors": {
          "$ref": "#/$defs/Errors",
          "description": "Apiary error details"
        },
        "id": {
          "type": "string",
          "description": "The ID that YouTube uses to uniquely identify the group."
        }
      },
      "description": "A group.",
      "type": "object"
    },
    "GroupContentDetails": {
      "type": "object",
      "description": "A group's content details.",
      "properties": {
        "itemType": {
          "description": "The type of resources that the group contains. Valid values for this property are: * `youtube#channel` * `youtube#playlist` * `youtube#video` * `youtubePartner#asset`",
          "type": "string"
        },
        "itemCount": {
          "format": "uint64",
          "description": "The number of items in the group.",
          "type": "string"
        }
      }
    },
    "GroupSnippet": {
      "description": "A group snippet.",
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "description": "The group name. The value must be a non-empty string."
        },
        "publishedAt": {
          "type": "string",
          "description": "The date and time that the group was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.",
          "format": "google-datetime"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/youtube-list-groups-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.