List chapters of a project
Sorted by chapter number. Free.
apiKeyAuthorizationBearer <nlk_… (team API key)>projectId*stringuuidarchived?booleantrue — archived chapters instead of active ones.
falsepage?integerint320size?integer1 <= value <= 10030A page of chapters.
application/json- response
items?array<>page?integerint32size?integerint32total?integerint64curl -X GET 'https://api.neurolate.com/ext/v1/chapters?projectId=497f6eca-6276-4993-bfeb-53cbbbba6f08'{
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
"number": 0,
"type": "MANGA",
"readingDirection": "LTR",
"status": "CREATED",
"archived": true,
"pages": 0,
"ocrDone": 0,
"createdAt": "2019-08-24T14:15:22Z"
}
],
"page": 0,
"size": 0,
"total": 0
}Chapter processing status GET
The running or the last finished processing of the chapter (also one started on the website). Poll every few seconds until `status` is DONE or FAILED. Free.
Process a chapter POST
Starts `assemble` and/or `ocr` on an uploaded chapter. On an assembled chapter `assemble` is skipped and OCR reads only pages not read yet, so it is safe to repeat. Runs in the background — poll `GET /ext/v1/chapters/{id}/pipeline`. OCR is charged once per chapter, for the whole chapter, at the team's chapter rate (`chapter_processing` for a webtoon, `chapter_processing_page` for manga); repeat runs are free, and so is a chapter whose OCR was already paid on the website. 402 means the balance or key limit can't cover that price. The charge happens while processing runs and shows in `GET /ext/v1/requests/{id}` of the request that started it; it is final once the processing is DONE or FAILED.