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

# imageConversionJob

> Gets a job of one of the tenant's image conversions, as `convertImage` returned it. Once the job is completed, `result` holds a signed link to the converted image.



**query** `imageConversionJob(id: UUID!): ConversionJob!`

## Arguments

**`id`**: `UUID!` (required)

Raw id of the job (`ConversionJob.id`, a UUID).

## Returns

`ConversionJob!`

**`error`**: `String`

Why the conversion failed, once the job has failed.

---

**`id`**: `UUID!`

The job's id.

---

**`position`**: `Int`

About how many queued jobs are ahead of this one. 0 means it's next, and 1000 means 1000 or more. It's an estimate: null when the job isn't queued, and sometimes null while it is.

---

**`queuedAt`**: `DateTime!`

When the job joined the queue. If an attempt failed and will be retried, it's when the job rejoins the queue, about a minute after the failure.

---

**`result`**: `ConvertedImage`

The converted image, once the job is completed.

---

**`status`**: `ConversionJobStatus!`

The job's current status.

## Examples

```graphql Query
query ImageConversionJob($id: UUID!) {
  imageConversionJob(id: $id) {
    error
    id
    position
    queuedAt
    result {
      contentType
      expiresAt
      filename
      size
      url
    }
    status
  }
}
```

```json Variables
{
  "id": "value"
}
```

```json Response
{
  "data": {
    "imageConversionJob": {
      "error": "string",
      "id": "value",
      "position": 1,
      "queuedAt": "value",
      "result": {
        "contentType": "string",
        "expiresAt": "value",
        "filename": "string",
        "size": "value",
        "url": "string"
      },
      "status": "QUEUED"
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.