---
title: Get a job result
description: The output of a completed job.
---
`GET` `/v1/jobs/{id}/result`

**Host** `https://api.open.sume.com` · **Auth** API key

Returns the artifacts of a completed job. Each artifact has a `type`, a `content_type` and a `url` on `media.sume.com`. Before the job completes, this answers `409 job_not_completed` with the current status in `details`.

## Request

### Headers

| Header | Type | Required | Description |
|---|---|---|---|
| `Authorization` | string | Yes | `Bearer <key>`. Or send `x-api-key`. |

### Path

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string | Yes | The job id (`job_...`) from the submit response. |

## Example

<!-- api-call-example:v2-job-result -->

## Response

`200 OK`

```json
{
  "data": {
    "request_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb",
    "job_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb",
    "status": "COMPLETED",
    "result": {
      "artifacts": [
        {
          "id": "artf_UCdnhWThU_Tbemv7E2gE7-ee9lNCIDxP",
          "type": "image",
          "url": "https://media.sume.com/artifacts/artf_UCdnhWThU_Tbemv7E2gE7-ee9lNCIDxP/images.png",
          "content_type": "image/png",
          "public_artifact_id": "artf_UCdnhWThU_Tbemv7E2gE7-ee9lNCIDxP",
          "visibility": "public_by_link",
          "size_bytes": null,
          "width": null,
          "height": null,
          "duration_ms": null,
          "checksum_sha256": null
        }
      ]
    }
  }
}
```

## Errors

| Status | `code` | When |
|---|---|---|
| 401 | `unauthorized` | No key, or the key is wrong or revoked. |
| 404 | `not_found` | No job with that id in your workspace. |
| 409 | `job_not_completed` | The job is queued, processing, failed or canceled. |
| 429 | `rate_limited` | Too many requests for your key in this window. |

[All error codes](/docs/errors)

## Related

- [Get job status](/docs/reference/jobs/status)
- [Jobs and lifecycle](/docs/jobs)
