跳转到主要内容
POST
/
chat
/
onboarding
/
attachments
cURL
curl --request POST \
  --url https://app.teable.ai/api/chat/onboarding/attachments \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"tokens":["string"]}'
{
  "attachments": [
    {
      "token": "<string>",
      "name": "<string>",
      "path": "<string>",
      "mimetype": "<string>",
      "size": 123,
      "presignedUrl": "<string>"
    }
  ]
}

授权

Authorization
string
header
必填

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

请求体

application/json
tokens
string[]
必填
Required array length: 1 - 20 elements

响应

200 - application/json

Get attachments successfully

attachments
object[]
必填
Last modified on March 5, 2026