TaskResponse
Number of execution attempts
0Associated book ID (if applicable)
Resolved title of the associated book (from book_metadata.title).
Populated only when the task is book-scoped and metadata exists.
When task execution completed
When the task was created
2024-01-15T10:00:00ZUnique task identifier
550e8400-e29b-41d4-a716-446655440000Error message from last failed attempt
Associated library ID (if applicable)
550e8400-e29b-41d4-a716-446655440001Resolved name of the associated library (from libraries.name).
Populated only when the task is library-scoped.
Worker ID that has locked this task
worker-1When the lock expires
Maximum number of allowed attempts
3Task-specific parameters
Priority level (higher = more urgent)
0Task execution result
When the task is scheduled to run
2024-01-15T12:00:00ZAssociated series ID (if applicable)
Resolved title of the associated series (from series_metadata.title).
Populated only when the task is series-scoped and metadata exists.
When task execution started
Current status (pending, processing, completed, failed)
pendingType of task (scan_library, generate_thumbnail, etc.)
scan_library{
"attempts": 0,
"bookId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"bookTitle": "string",
"completedAt": "2024-07-29T15:51:28.071Z",
"createdAt": "2024-01-15T10:00:00Z",
"id": "550e8400-e29b-41d4-a716-446655440000",
"lastError": "string",
"libraryId": "550e8400-e29b-41d4-a716-446655440001",
"libraryName": "string",
"lockedBy": "worker-1",
"lockedUntil": "2024-07-29T15:51:28.071Z",
"maxAttempts": 3,
"priority": 0,
"scheduledFor": "2024-01-15T12:00:00Z",
"seriesId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"seriesTitle": "string",
"startedAt": "2024-07-29T15:51:28.071Z",
"status": "pending",
"taskType": "scan_library"
}