API
Jobs.
Jobs are the durable record of every erase request. Poll them or inspect them in the dashboard.
Get a job
HTTP
GET https://api.erasa.app/v1/jobs/job_01J...
Authorization: Bearer $ERASA_KEYStatus
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| queued | status | Accepted and waiting for a worker. |
| processing | status | Credits reserved; inference running. |
| succeeded | status | Output available. |
| failed | status | No output; credits released. |
| canceled | status | Canceled before completion. |
| expired | status | Job or output expired. |
Response
200 OK
{
"id": "job_01J...",
"status": "succeeded",
"output": { "url": "https://.../signed", "format": "png" },
"credits": { "charged": 1 },
"error": null,
"request_id": "req_01J..."
}The dashboard mirrors the API at /dashboard/jobs, including the before/after view and timeline.