Get an operation
Get an operation by ID.
Poll this endpoint to check the status of a long-running operation. When done=true, the response field contains the generated world.
Args: operation_id: The operation identifier from /worlds:generate.
Returns: GetOperationResponse[World] with:
- operation_id: Operation identifier
- created_at: Creation timestamp
- updated_at: Last update timestamp
- expires_at: Expiration timestamp
- done: true when complete, false while in progress
- error: Error details if failed, null otherwise
- metadata: Progress information and world_id
- response: Generated World if done=true, null otherwise
- cost: Settled credit cost breakdown; populated only when the operation completed successfully (done=true with no error) and a public price is known for its operation type. Failed or in-progress operations return null.
Raises: HTTPException: 401 if unauthorized HTTPException: 404 if operation not found HTTPException: 500 if request fails
Authorizations
API key for authentication. Get your key from the developer portal.
Path Parameters
Response
Successful Response
True if the operation is completed
Operation identifier
Settled credit cost for the operation. Populated only on successful completion.
Creation timestamp
Error information if the operation failed
Expiration timestamp
Service-specific metadata, such as progress percentage
A generated world, including asset URLs.
- World
- PanoDepthToRgbResult
- ExportWorldResult
Last update timestamp