Base URL
Starting the server
8080 by default.
Authentication
The API uses JWT bearer tokens. Every protected endpoint requires anAuthorization header:
Default credentials
| Field | Value |
|---|---|
admin | |
| Password | admin |
Obtaining a token
Send aPOST /api/auth/login request with your credentials. The response contains a token field you use in all subsequent requests.
Error responses
All errors follow a consistent JSON shape:422) include a more detailed breakdown:
Common HTTP status codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request — invalid parameters or business rule violation |
401 | Unauthorized — missing or invalid credentials |
403 | Forbidden — authenticated but insufficient permissions |
404 | Not found — the requested resource does not exist |
422 | Unprocessable entity — request body failed schema validation |
500 | Internal server error |
Pagination
List endpoints return aPaginated wrapper object:
offset and limit query parameters to page through results. The maximum limit is 100.
API sections
Authentication
Login, signup, token management, and password reset.
Novels
Browse and manage the novel library.
Chapters
Fetch chapter metadata and read chapter content.
Jobs
Create and monitor crawl jobs.
Artifacts
List and download generated e-book files.