---
title: "Recheck one queued book"
method: POST
path: "/api/books/availability"
tags: ["books"]
---

# Recheck one queued book

`POST /api/books/availability`

## Request

- Base URL: `https://leafle.org` (the document declares no server; this is the origin it was published from)
- URL: `https://leafle.org/api/books/availability`
- Auth: HTTP bearer

**Access: write token.**

Check the requested `book_id` again, bypassing the availability cache. Returns the same shape as the GET with one book, or 404 if it is not in this reader's queue.

## Request body

- QueueRecheckIn
  - `book_id` integer, required
  - `reader_id` integer, nullable

## Response `200`

Successful Response

- QueueAvailability: GET/POST /api/books/availability: routes for the to-read queue. ``borrower`` is service connectivity (the profile's library resolves to a live connector), not borrowing history; when false, ``books`` carry only search/buy links. ``capped`` is true when the queue was longer than the per-request check budget — the missing tail is unknown, not unavailable.
  - `borrower` boolean, required
  - `digital` boolean, required
  - `acquisition_preference` 'borrow' | 'buy', required
  - `capped` boolean, required
  - `books` QueueBookAvailability[], required
    - `book_id` integer, required
    - `status` 'available' | 'on_loan' | 'held' | 'unavailable' | 'unknown', required
    - `branch` string, nullable, required
    - `was_borrowable` boolean, nullable, required
    - `was_borrowable_on` string, nullable, required
    - `link` string, nullable, required
    - `libby_url` string, nullable, required
    - `buy_url` string, nullable, required
    - `review_url` string, nullable, required
    - `checked_at` integer, nullable, required

## Other responses

- `401`: Missing or unusable credential.
- `403`: Insufficient token scope or the reader is outside your account.
- `404`: No such resource for this reader, or the requested daily find is unavailable.
- `422`: Validation Error

---

[API](https://skmtc.dev/leafle/apis/leafle-api.md) · [All operations](https://skmtc.dev/leafle/apis/leafle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/leafle/apis/leafle-api/revisions/f2e56cb74495?raw)
