Skip to content

Getting Books With a Status

Last Updated   August 31, 2025

Guide

Introduction

This guide will show you how to get a user’s books with a specific status.

Get a List of Books With a Status

To see a selection of the books in your library, replace ##USER_ID## with your account id, which can be found by completing the “Example Request” section of the Getting Started guide. To change the book status being queried for, replace the 2 (which represents the “Currently Reading” status) with your desired status.

Books By Status
{
user_books(
where: {user_id: {_eq: ##USER_ID##}, status_id: {_eq: 2}}
) {
book {
title
image {
url
}
contributions {
author {
name
}
}
}
}
}