Poll the status of a dashboard Excel export job
GET/api/v1/dashboard/export_xlsx/status/:job_id/
For a session with no email address to be notified at (e.g. an embedded/guest session), the frontend polls this endpoint with the job_id from the export_xlsx response instead of waiting for an email. Behind the same @protect() as the export request itself, unlike the login-free download_xlsx stream (which also has to work when clicked from a plain email link, possibly with no active session at all).
Request
Responses
- 200
- 401
- 403
Job status: {"status": "pending"} while queued, {"status": "running"} once a worker has started executing, {"status": "ready", "download_url": "..."} once the file is available, or {"status": "error", "message": "..."} if the export failed.
Unauthorized
Forbidden