---
url: /orchestration/reference/operations/GetBlob.md
description: 'GET /v2/consumer/blobs/{blobId} — Get blob by ID. This will redirect to a cacheable content URL'
---

> Documentation index: https://developer.civitai.com/llms.txt — every page on this site has a markdown version at its URL + `.md`.

# Get blob by ID. This will redirect to a cacheable content URL

`GET https://orchestration.civitai.com/v2/consumer/blobs/{blobId}`

Operation `GetBlob` · Blobs · Civitai Orchestration API, generated from the published OpenAPI spec ([v2-consumers.json](https://developer.civitai.com/openapi/v2-consumers.json)); the interactive HTML page is this URL without `.md`.

## Authentication

Send `Authorization: Bearer <token>` (the spec's `ApiKey` scheme); this operation documents `401 Unauthorized` for a missing or invalid token. See [Authentication](https://developer.civitai.com/orchestration/guide/authentication.md).

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `blobId` | path | string | yes |  |
| `workflowId` | query | string | no |  |
| `nsfwLevel` | query | `NSFWLevel` (one of `pg`, `pg13`, `r`, `x`, `xxx`, `na`) | no | Maximum NSFW level. When set, a blob with no level or a level above it is an error. |
| `filename` | query | string | no | Optional filename for the Content-Disposition header. Path components and control characters are stripped. |
| `download` | query | boolean | no | When true, the blob is served with Content-Disposition: attachment to prompt a download. Defaults to inline. |

## Responses

### 308 Permanent Redirect

No body.

### 401 Unauthorized

Content type: `application/json`.

Schema `ProblemDetails`.

| Field | Type | Required | Description |
|---|---|---|---|
| `type` | string, nullable | no |  |
| `title` | string, nullable | no |  |
| `status` | integer (int32), nullable | no |  |
| `detail` | string, nullable | no |  |
| `instance` | string, nullable | no |  |

### 403 Forbidden

Content type: `application/json`.

Schema `ProblemDetails` — fields as listed above.

### 404 Not Found

Content type: `application/json`.

Schema `ProblemDetails` — fields as listed above.
