---
title: "Poll async staging job status"
method: GET
path: "/api/staging/poll"
tags: ["Staging"]
---

# Poll async staging job status

`GET /api/staging/poll`

## Request

- Base URL: `https://www.zestio.de`
- URL: `https://www.zestio.de/api/staging/poll`
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sb-access-token`

Check the status of an async staging job created with the 'flux-depth' model.

## Query parameters

- `jobId` string, required

## Response `200`

Job status retrieved

- StagingResponse
  - `success` boolean
  - `output` string, uri: URL to the staged image (when complete). URL is signed and valid for 1 hour — download or store the image promptly; request the endpoint again if you need a fresh link. (Authenticated browser sessions receive an app-internal URL instead.)
  - `model` 'interior-design' | 'precision': Staging pipeline. Default: interior-design.
  - `creditsUsed` integer
  - `creditsRemaining` integer: Remaining credit balance
  - `status` 'processing' | 'completed': Job status (for async models like flux-depth)
  - `stage` 'depth_map' | 'staging': Current processing stage (for flux-depth)
  - `jobId` string: Job ID for polling (for async models)
  - `depthPredictionId` string: Replicate prediction ID (for flux-depth)
  - `message` string: Status message

## Other responses

- `400`: Bad request - invalid parameters
- `401`: Unauthorized - invalid or missing credentials
- `404`: Resource not found
- `500`: Internal server error

---

[API](https://skmtc.dev/zestio/apis/zestio-api.md) · [All operations](https://skmtc.dev/zestio/apis/zestio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zestio/apis/zestio-api/revisions/d291848b1175?raw)
