Scalar Types
Scalars represent primitive values in the GraphQL schema.Built-in Scalars
Int: Signed 32-bit integerString: UTF-8 character sequenceBoolean: True or false valueID: Unique identifier, serialized as a string
Custom Scalars
Mixed
A flexible scalar type that can represent any JSON-serializable value.- Dynamic filter values
- Flexible metadata fields
- Variable JSON structures
Enum Types
Enums represent a fixed set of possible values.AnimeMediaFormat
Represents the format/medium of an anime production.AnimeSeason
Represents the broadcast season.ThemeType
Represents the type of anime theme.VideoSource
Represents the source of video files.VideoOverlap
Represents how the video transitions with the episode.Timestamp Fields
All models include standard timestamp fields:Pagination
The API uses cursor-based pagination for collection queries.PaginationInfo
Paginated Response Pattern
Relationships
The GraphQL schema represents relationships between models using standard GraphQL patterns.One-to-Many
Represented as array fields:Many-to-Many
Represented with pivot types:Polymorphic Relationships
Some relationships are polymorphic (e.g., images, resources):Nullable vs Non-Nullable
Field nullability indicates data guarantees:String!- Required, never nullString- Optional, may be null[String!]!- Required array of required strings (array never null, elements never null)[String]- Optional array with optional elements
Localized Enums
Enum types have corresponding localized fields for human-readable values:Query Arguments
Standard query arguments are available on collection queries:Filter Arguments
Filters use column-specific operators:Sort Arguments
Sort by one or more fields:Field Selection
Use GraphQL field selection to request only needed data:Next Steps
- Anime Type - Anime type and queries
- Artist Type - Artist type and queries
- Song Type - Song type and queries
- Video Type - Video type and queries