# swarmops blob get

> Release: 0.11.0 · Last changed: 2026-11-08 · Source: https://github.com/KeiaiLab/SwarmOps/blob/stable/docs/reference/commands/blob-get.md

Print the blobs the IDs name, each with its size and content as cat gives a file's.

```yaml
title: "swarmops blob get"
description: "Print the blobs the IDs name, each with its size and content as cat gives a file's."
group: "read"
since: "0.3.0"
mutates: false
identity_required: false
mcp_tool: ""
envelope_op: "blob_get"
exit_codes: [0]
errors: []
syntax: "swarmops blob get [OPTIONS] <ID>..."
```

## Syntax

```text
swarmops blob get [OPTIONS] <ID>...
```

## Required arguments

### `ID`

Syntax: `<ID>`.

Blob ids, 64 hex digits each.

## Optional arguments

The command also takes the [global options](../cli.md#global-options).

### `--max-bytes`

Syntax: `--max-bytes <N>`.
Default: `67108864`.

The most content bytes to print; the blobs past it are left out (truncated).

## Examples

### CLI

No recorded example yet.

## Return information

`result` is a `BlobGetResp` (`swarmops schema BlobGetResp` prints its JSON Schema).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `blobs` | `array of BlobOut` | yes | The blobs, each whole. |
| `missing` | `array of string` | yes | The ids the store holds no blob under. |
| `truncated` | `boolean` | yes | Whether blobs were left out to keep within `max_bytes`. |

Envelope `op`: `blob_get`.

Exit codes:

- `0`: Success.

## Errors

No golden step shows this command failing yet.

Any command that opens a store may also fail with a store error, such as [`E_NOT_A_REPO`](../errors.md#e_not_a_repo), [`E_IO`](../errors.md#e_io) or [`E_STORE_CORRUPT`](../errors.md#e_store_corrupt); a command line the grammar refuses is [`E_INVALID_ARG`](../errors.md#e_invalid_arg) (exit 2).

## See also

- [`swarmops resolve`](resolve.md)
- [`swarmops cat`](cat.md)
- [`swarmops ls`](ls.md)
- [`swarmops show`](show.md)
- [`swarmops log`](log.md)
- [`swarmops ancestry`](ancestry.md)
- [`swarmops history`](history.md)
- [`swarmops diff`](diff.md)
- [`swarmops merge-base`](merge-base.md)
- [CLI reference](../cli.md)
- [Error codes](../errors.md)
