The message file object (v1)
Legacy

A list of files attached to a message.source

The identifier, which can be referenced in API endpoints.source

The object type, which is always thread.message.file.source

The Unix timestamp (in seconds) for when the message file was created.source

The ID of the message that the File is attached to.source

OBJECT The message file object (v1)
1
2
3
4
5
6
7
{
  "id": "file-abc123",
  "object": "thread.message.file",
  "created_at": 1698107661,
  "message_id": "message_QLoItBbqwyAJEzlTy4y9kOMM",
  "file_id": "file-abc123"
}