/api/job and require authentication.
The list endpoint path is
/api/jobs (the /job prefix + s suffix). Single-resource and action endpoints use /api/job/{id}.Job types
| Value | Description |
|---|---|
0 | Fetch a single novel (NOVEL) |
1 | Fetch multiple novels in a batch (NOVEL_BATCH) |
5 | Full novel fetch including all content (FULL_NOVEL) |
6 | Full novel fetch batch (FULL_NOVEL_BATCH) |
10 | Fetch a single chapter (CHAPTER) |
11 | Fetch chapters in a batch (CHAPTER_BATCH) |
20 | Fetch a single volume (VOLUME) |
21 | Fetch volumes in a batch (VOLUME_BATCH) |
30 | Fetch a single image (IMAGE) |
31 | Fetch images in a batch (IMAGE_BATCH) |
40 | Generate a single artifact (ARTIFACT) |
41 | Generate artifacts in a batch (ARTIFACT_BATCH) |
Job statuses
| Value | Description |
|---|---|
0 | PENDING — queued, not yet started |
1 | RUNNING — currently executing |
2 | SUCCESS — completed successfully |
3 | FAILED — completed with an error |
4 | CANCELED — stopped by a user or admin |
Job priorities
| Value | Description |
|---|---|
0 | LOW |
1 | NORMAL |
2 | HIGH |
GET /api/jobs
Return a paginated list of jobs visible to the authenticated user. Query parametersNumber of records to skip.
Maximum records to return. Cannot exceed
100.Filter by job type (see table above).
Filter by job status.
Filter by job priority.
Filter by the user who created the job.
Filter by parent job ID (for child jobs in a batch).
Filter by completion state (
true = finished, false = in progress).Paginated[Job]
Total matching records.
Current offset.
Current limit.
GET /api/job/
Return details for a single job. Use this endpoint to poll job progress. Path parametersThe job’s unique ID.
Job object (same fields as the list response).
POST /api/job//cancel
Cancel a running or pending job. Path parametersThe job’s unique ID.
true on success.
POST /api/job//replay
Create a new job with the same type and parameters as an existing job. Path parametersThe ID of the job to replay.
Job object.
DELETE /api/job/
Delete a job record. Any running execution is stopped first. Path parametersThe job’s unique ID.
true on success.
Creating jobs
POST /api/job/create/fetch-novel
Fetch (or refresh) novel metadata from its source URL. Setfull to true to also enqueue chapter content downloads.
Request body
The full URL of the novel’s main page on the source site.
When
true, also fetches all chapter contents after the novel metadata is retrieved.Job object.
POST /api/job/create/fetch-volumes
Queue a job to download chapter contents for one or more volumes.Providing a single volume ID creates a
VOLUME job. Multiple IDs create a VOLUME_BATCH job.List of volume IDs whose chapter contents should be fetched. Must contain at least one ID.
Job object.
POST /api/job/create/fetch-chapters
Queue a job to download content for specific chapters.Providing a single chapter ID creates a
CHAPTER job. Multiple IDs create a CHAPTER_BATCH job.List of chapter IDs to fetch. Must contain at least one ID.
Job object.
POST /api/job/create/fetch-images
Queue a job to download images for specific chapter image records. Request bodyList of
ChapterImage IDs to download. Must contain at least one ID.Job object.
POST /api/job/create/make-artifacts
Generate e-book artifacts for a novel in one or more output formats. The available formats depend on the user’s tier. Request bodyThe ID of the novel to generate artifacts for.
List of output format strings. Supported values:
epub, json, txt, pdf, mobi, docx, rtf, fb2, azw3, lit, lrf, pdb, rb, tcr.Job object (an ARTIFACT_BATCH job when multiple formats are requested).