Skip to main content
FilesVersion: 2023-02-21

Get file by id

GET/knowledge-bases/files/{fileId}

Retrieves one uploaded file by id for the authenticated location. WHEN TO USE: use this when you need to inspect a single file; use getFilesByKnowledgeBasePublic to list files; use deleteFile to remove it. RETURNS: uploaded file details for that file id.

Authorizations

Authorizationstringheaderrequired

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

Scope:knowledge-bases.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available options2023-02-21
Example:2021-07-28

Path Parameters

fileIdstringrequired

File ID to retrieve

Example:ocQHyuzHvysMo5N5VsXc

Response

Returns uploaded file details by file id

successbooleanrequired

success

Example:true
dataobjectrequired

data