agentThreadFiles
Returns a file of the specified agent thread.
Changed onReturns 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>
get/agents/threads/{threadId}/files/{fileId}
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/threads/{threadId}/files/{fileId}
- AuthHTTP bearer
Path parameters
threadIdstring uuid required
The agent thread id.
fileIdstring uuid required
The file id.
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
endpoint added
- info