---
title: "POST /base/{baseId}/chat/resolve-attachments"
method: POST
path: "/base/{baseId}/chat/resolve-attachments"
tags: ["chat"]
---

# POST /base/{baseId}/chat/resolve-attachments

`POST /base/{baseId}/chat/resolve-attachments`

Resolve attachment tokens to presigned URLs

## Path parameters

- `baseId` string, required

## Request body

- object
  - `tokens` string[], required — Array of attachment tokens to resolve
  - `nameHints` object — Optional map of token -> filename for name hints

## Response `200`

Resolved attachments with URLs

- object
  - `success` boolean, required
  - `attachments` object[]
    - `token` string, required
    - `url` string, required
    - `name` string
    - `mimetype` string
    - `size` number
    - `path` string
  - `error` string

---

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