make-artifacts job completes. All endpoints are under /api/artifact and require authentication.
The list endpoint path is
/api/artifacts (the /artifact prefix + s suffix). Single-resource endpoints use /api/artifact/{id}.Output formats
The following format strings are used across the Artifacts and Jobs APIs:| Format | Description |
|---|---|
epub | EPUB e-book (native) |
json | JSON export |
txt | Plain text |
pdf | PDF document |
mobi | Mobipocket (Kindle) |
docx | Microsoft Word |
rtf | Rich Text Format |
fb2 | FictionBook 2 |
azw3 | Kindle Format 8 |
lit | Microsoft LIT |
lrf | Sony LRF |
pdb | Palm Database |
rb | Rocket Book |
tcr | Psion/Epoc |
Formats other than
epub and json require Calibre to be installed on the server. The available formats for your account depend on your user tier.GET /api/artifacts
Return a paginated list of artifacts. Authentication is required. Query parametersNumber of records to skip.
Maximum records to return. Cannot exceed
100.Filter by novel ID.
Filter by the job that generated the artifact.
Filter by the user who triggered artifact generation.
Filter by output format (e.g.
epub, mobi).Paginated[Artifact]
Total matching records.
Current offset.
Current limit.
GET /api/artifact/enabled-formats
Return the list of output formats that are enabled for the currently authenticated user. The available formats depend on the user’s tier. Response — array of format strings.GET /api/artifact/
Return a single artifact record by its ID. Path parametersThe artifact’s unique ID.
Artifact object (same fields as items in the list response).
Downloading artifact files
Artifact files are served from the/static path using the output_file field as the path component:
Static file serving requires authentication. Include the bearer token or use HTTP Basic Auth when downloading.