Skip to main content
GET
/
threads
/
{threadId}
/
files
List Thread files
curl --request GET \
  --url https://mosoo.ai/api/v1/threads/{threadId}/files \
  --header 'Authorization: Bearer <token>'
{
  "files": [
    {
      "committed": true,
      "createdAt": "2026-05-19T00:02:00.000Z",
      "id": "file_01KQX0V62MEXAMPLE7W6X3B2A",
      "kind": "attachment",
      "mimeType": "text/plain",
      "name": "brief.txt",
      "size": 19
    }
  ]
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer grt_pat_... . PATs identify an account and do not carry scopes.

Path Parameters

threadId
string
required

Thread ID returned by create thread.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Response

Thread file list.

files
object[]
required