Get Page Job
Retrieve a job by ID. For batch jobs, this endpoint also returns aggregate status summary.
GET /api/page-jobs/{jobId}Authentication
Required. API key or browser session.
Response
Status: 200 OK
{
"job": {
"id": "uuid",
"type": "single",
"status": "succeeded",
"pageId": "page-uuid",
"result": {
"pageId": "page-uuid",
"pageUrl": "https://chatblocks.app/yourname/my-page",
"qrCodeUrl": "https://chatblocks.app/api/qr/yourname/my-page"
},
"error": null
}
}Batch jobs include:
{
"job": { "...": "..." },
"summary": {
"total": 10,
"queued": 1,
"running": 2,
"succeeded": 6,
"failed": 1,
"cancelled": 0
}
}Errors
| Status | Error | When |
|---|---|---|
| 401 | Not authenticated | Missing or invalid auth |
| 404 | Job not found | Unknown job or not owned by caller |
Last updated on