Returns the content of a file from the specified agent thread.

Returns the binary content of a file attached to the specified agent thread. Use the thread id and file id from the attachment metadata. For images, width, height, and crop control resizing. <Check title="Required Permissions" icon="key">The user must have read access to the agent thread.</Check>

Authentication

AuthorizationBearer

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

Path parameters

threadIdstringRequiredformat: "uuid"
The agent thread id.
fileIdstringRequiredformat: "uuid"
The file id.

Query parameters

widthdoubleOptional
The optional image width.
heightdoubleOptional
The optional image height.
cropbooleanOptional
Whether to crop the image when resizing it.

Response

OK