Skip to main content
POST
/
base
/
{baseId}
/
chat
/
resolve-attachments
cURL
curl --request POST \
  --url https://app.teable.ai/api/base/%7BbaseId%7D/chat/resolve-attachments \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"tokens":["string"],"nameHints":{"property1":"string","property2":"string"}}'
{
  "success": true,
  "attachments": [
    {
      "token": "<string>",
      "url": "<string>",
      "name": "<string>",
      "mimetype": "<string>",
      "size": 123,
      "path": "<string>"
    }
  ],
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

baseId
string
required

Body

application/json
tokens
string[]
required

Array of attachment tokens to resolve

Minimum array length: 1
nameHints
object

Optional map of token -> filename for name hints

Response

200 - application/json

Resolved attachments with URLs

success
boolean
required
attachments
object[]
error
string
Last modified on March 5, 2026