Returns a file of the specified agent thread.
Returns file metadata for a file attached to the specified agent thread.
Both the thread id and file id must match the attachment. Returns not found if the file is not attached to that thread.
<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
threadId
The agent thread id.
fileId
The file id.
Response
OK
name
The user-specified name of the file.
description
The description of the file.
id
The id of the file info.
projectId
projectTemplateId
companyId
taskId
taskTemplateId
userId
documentId
fileName
The name of the file.
entityType
The name of the linked entity type.
mimeType
The MIME type of the file.
createdOn
The date this file was created.
createdBy
The id of the user who created this file.
updatedOn
The date this file was last modified.
updatedBy
The id of the user who last modified this file.
fileVersions
List of all versions.
isCommentFile
Whether the file is related to a comment.
externalProvider
The external provider for the file. Like 'google' or 'onedrive'.
externalFileUrl
The file url of the external provider.
isHiddenForConnectUsers
Whether the file is hidden for connect users.
entityIdDeprecated
Deprecated. The id of the linked entity derived from entity specific owner ids.
Errors
401
Unauthorized Error
404
Not Found Error

