Skip to content

Books

Last Updated   August 15, 2025

Reference

Fields

FieldTypeDescription
compilationbool
release_yearint
ratingfloat
pagesint
users_countint32
lists_countint32
ratings_countint32
reviews_countint32
author_namesstring[]
cover_colorauto
genresstring[]
moodsstring[]
content_warningsstring[]
tagsstring[]
series_namesstring[]
has_audiobookbool
has_ebookbool
contribution_typesstring[]
slugstring
titlestring
descriptionstring
subtitlestring
release_datedate
audio_secondsauto
users_read_countint32
prompts_countint32
activities_countint32
release_date_iauto
featured_book_seriesbook_series
featured_series_idint
alternative_titlesstring[]
isbnsstring[]
contributionscontributions[]
imageauto
book_category_idint
book_charactersCharacters
book_mappingsbook_mappings[]
book_seriesbook_series[]
book_statusbook_statuses
canonicalBooks
canonical_idint
created_attimestamp
created_by_user_idint
default_audio_editionEditions
default_audio_edition_idint
default_cover_editionEditions
default_cover_edition_idint
default_ebook_editionEditions
default_ebook_edition_idint
default_physical_editionEditions
default_physical_edition_idint
dtostring[]
dto_combinedstring[]
dto_externalstring[]
editionsEditions
editions_countint
header_image_idint
headlinestring
idint
imageimages[]
import_platform_idint
journals_countint
linksstring[]
list_bookslist_books[]
literary_type_idint
lockedbool
prompt_answersprompt_answers[]
prompt_summariesprompt_books_summary[]
ratings_distributionstring[]
recommendationsrecommendations[]
statestring
taggable_countstaggable_counts[]
taggingstaggings[]
updated_attimestamptz
user_addedbool
user_booksuser_books[]

User Book Statuses

StatusDescription
1Want to Read
2Currently Reading
3Read
4Paused
5Did Not Finished
6Ignored

Get a List of Books in a User’s Library

User Books
{
user_books(
where: {
user_id: {_eq: ##USER_ID##}
},
distinct_on: book_id
limit: 5
offset: 0
) {
book {
title
pages
release_date
}
}
}

Get a List of Books by a Specific Author

Books by User Count
query BooksByUserCount {
books(
where: {
contributions: {
author: {
name: {_eq: "Brandon Sanderson"}
}
}
}
limit: 10
order_by: {users_count: desc}
) {
pages
title
id
}
}

Getting All Editions of a Book

Editions from Title
query GetEditionsFromTitle {
editions(where: {title: {_eq: "Oathbringer"}}) {
id
title
edition_format
pages
release_date
isbn_10
isbn_13
publisher {
name
}
}
}

Create a New Book

Create Book
mutation {
createBook(input: {
title: "My First Book",
pages: 300,
release_date: "2024-09-07"
description: "This is my first book."
}) {
book {
title
pages
release_date
description
}
}
}