Cancel an audiobook
Formats and speeds of the same settings share one generation run, so stopping it also cancels the other whole-book requests that share it. POST to the collection with the same settings resumes from the cached audio.
AuthorizationBearer <token>Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.
Scope: audio:generate
id*string^[a-f0-9]{64}$audiobookId*stringCancelled state, which later reads also report. Chapter cancel is rejected.
application/json- response
id*stringdocumentId*string^[a-f0-9]{64}$status*stringcancelled: someone stopped the request. A POST with the same settings resumes it from the cached audio.
"idle""preparing""queued""generating""complete""stopped""usage_limited""interrupted""failed""building""waiting""ready""cancelled"progress*|0 <= value <= 1provider*stringSpeech provider, as a request names it.
model*stringvoice*stringmodelSpeed*numberThe rate the model speaks at; speed is the finished file's playback speed.
requestedAt*|When it was last requested or cancelled; null when nobody has asked for it.
date-timeformat*string"mp3""m4b"speed*numberchapter*integer|nulldownloadUrl*string|nullfilename*string|nullwebUrl*stringuriwebDownloadUrl*|uriretryAfterMs*number|nullgeneration*segments*|nullartifact*curl -X POST 'https://reader.example/api/v1/documents/string/audiobooks/string/cancel'{ "id": "string", "documentId": "string", "status": "idle", "progress": 0, "provider": "string", "model": "string", "voice": "string", "modelSpeed": 0, "requestedAt": "2019-08-24T14:15:22Z", "format": "mp3", "speed": 0, "chapter": 0, "downloadUrl": "string", "filename": "string", "webUrl": "http://example.com", "webDownloadUrl": "http://example.com", "retryAfterMs": 0, "generation": { "state": "idle", "operationId": "string", "issue": { "code": "string", "message": "string" } }, "segments": { "plannedSegments": 0, "completedSegments": 0, "skippedSegments": 0, "lastSkipIssue": { "code": "string", "message": "string" }, "chapters": [ { "index": 0, "title": "string", "spineHref": "string", "page": 0, "plannedSegments": 0, "completedSegments": 0, "skippedSegments": 0, "generatingSegments": 0, "durationMs": 0 } ] }, "artifact": { "state": "none", "operationId": "string", "issue": { "code": "string", "message": "string" } }}List voices GET
Returns the voices of one provider and model. Without parameters, it follows the saved speech settings of the caller. A voice ID is only meaningful within its provider and model.
Create an audiobook POST
Uses saved settings unless explicit settings are provided. Signed-in whole-book requests advance after the tab closes. Guests advance on their own requests. Repeated matching requests reuse the same identity; retrySkipped is for whole books only.