---
title: "Upload Agent Document Image"
method: POST
path: "/workspaces/{workspace_id}/document-images"
tags: ["documents"]
---

# Upload Agent Document Image

`POST /workspaces/{workspace_id}/document-images`

## Path parameters

- `workspace_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- DocumentImageResponse
  - `file_id` string, required
  - `url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.net/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/versions/28bdface01df/schema)
