---
title: "Get Batch Image"
method: GET
path: "/api/batch/image/{s3_key}"
tags: ["Batch Processing"]
---

# Get Batch Image

`GET /api/batch/image/{s3_key}`

Serve batch document images from S3 with authentication.
Accepts token via query parameter for img src compatibility.

Args:
    s3_key: S3 key for the image (path format: batches/{batch_id}/...)
    token: Optional auth token from query param
    s3_storage: S3 storage instance

Returns:
    Streaming response with image data

## Path parameters

- `s3_key` string, required

## Query parameters

- `token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/b6c76b02a94a/schema)
