AniList · Schema

GraphQLRequest

GraphQLRequest schema from AniList GraphQL API v2

AnimeMangaEntertainmentMediaSocialDatabaseGraphQLOAuth2Public APIs

Properties

Name Type Description
query string GraphQL query or mutation document
variables object Map of variable values referenced in the query
operationName string Name of the operation to execute when the document contains multiple
View JSON Schema on GitHub

JSON Schema

anilist-graphqlrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-schema/anilist-graphqlrequest-schema.json",
  "title": "GraphQLRequest",
  "description": "GraphQLRequest schema from AniList GraphQL API v2",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "GraphQL query or mutation document",
      "example": "query { Viewer { id name } }"
    },
    "variables": {
      "type": "object",
      "additionalProperties": true,
      "description": "Map of variable values referenced in the query"
    },
    "operationName": {
      "type": "string",
      "description": "Name of the operation to execute when the document contains multiple"
    }
  },
  "required": [
    "query"
  ]
}