Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/GuancheData/stage_3/llms.txt

Use this file to discover all available pages before exploring further.

The status endpoint reports whether a book identified by its Project Gutenberg ID has been downloaded and stored in the datalake. It checks the "log" ISet in Hazelcast and returns one of three status values: available, not_available, or error. Use this endpoint to verify that a book was successfully ingested before attempting to search or index it.

Path parameters

book_id
integer
required
The Project Gutenberg numeric book ID to look up. For example, 1342 for Pride and Prejudice.

Example request

curl http://localhost:7001/ingest/status/1342

Response fields

book_id
integer
required
The Gutenberg book ID that was queried.
status
string
required
The ingestion status of the book. One of:
  • available — the book has been downloaded and is present in the datalake.
  • not_available — the book has not yet been ingested.
  • error — an exception occurred while checking the status.

Example responses

{
  "book_id": 1342,
  "status": "available"
}

Build docs developers (and LLMs) love