> ## Documentation Index
> Fetch the complete documentation index at: https://docs.worldlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Operations

> Poll long-running API jobs until they complete.

Long-running endpoints return an `operation_id`. Use the operations endpoint to
check status, inspect progress metadata, and retrieve the final response.

<CardGroup cols={1}>
  <Card title="Get an operation" icon="activity" href="/api/reference/operations/get">
    **GET** `/marble/v1/operations/{operation_id}`

    Poll a world-generation or pano operation until `done` is `true`.
  </Card>
</CardGroup>

## Response states

* `done: false`: The job is still running. Check `metadata` for progress details
  when present.
* `done: true` with `error: null`: The job completed. Read `response` for the
  generated result.
* `done: true` with `error`: The job failed. Use the error code and message to
  decide whether to retry or adjust the request.
