跳转到主要内容
GET
/
threads
/
{threadId}
/
files
列出 Thread 文件
curl --request GET \
  --url https://docs.mosoo.ai/api/v1/threads/{threadId}/files \
  --header 'Authorization: Bearer <token>'
{
  "files": [
    {
      "committed": true,
      "createdAt": "2026-05-19T00:02:00.000Z",
      "id": "01J0000000000000000000000J",
      "kind": "attachment",
      "mimeType": "text/plain",
      "name": "brief.txt",
      "size": 19
    }
  ]
}

授权

Authorization
string
header
必填

使用 Authorization: Bearer mst_...。API token 用于识别账号,不携带 scope。

路径参数

threadId
string<ulid>
必填

create thread 返回的 Thread ID。v1 ID 是不带前缀的 ULID。

Pattern: ^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$
示例:

"01J00000000000000000000009"

响应

Thread 文件列表。

附加到 Thread 的文件列表。

files
object[]
必填

该 Thread 的文件。