# The operation object

## Attributes

- `object` (string, required):
- `id` (string, required):
- `type` (enum, required): Kind of operation. New types may be added within v1; ignore operations of unknown types. Values: `storyboard.preview`, `film.comments_apply`.
- `status` (enum, required):  Values: `queued`, `running`, `succeeded`, `failed`.
- `created_at` (string (date-time), required): Creation time (UTC).
- `updated_at` (string (date-time), required): Last change (UTC).
- `result` (nullable object, required):
  - `object` (string):
  - `id` (string):
  - `url` (string):
- `error` (nullable object, required):
  - `code` (string):
  - `message` (string):

## Example

```json
{
  "object": "operation",
  "id": "op_4d9b2e7a1c6f3d8b5e0a2c7f9b4d1e6a",
  "type": "storyboard.preview",
  "status": "succeeded",
  "created_at": "2026-11-10T08:25:00Z",
  "updated_at": "2026-11-10T08:27:41Z",
  "result": {
    "object": "storyboard_preview",
    "id": "pv_8c1e4a7d2b5f9e3c6a0d1b4e7f2a5c8d",
    "url": "https://api.cream-ai.de/api/v1/films/k7m2xq9v4t8n1b5r3c6d0wza/storyboard-preview?preview_id=pv_8c1e4a7d2b5f9e3c6a0d1b4e7f2a5c8d"
  },
  "error": null
}
```
