Skip to main content
GET
Get single file

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Path Parameters

file_hash
string
required

Query Parameters

source_type
enum<string>
required

Type of the file source

Available options:
knowledge_source,
chat
source_id
string
required

ID of the file source

Response

Successful Response

stem
string
required
extension
string
required
hash
string
required
view_uri
string
required
download_uri
string
required
num_pages
integer
required
num_chunks
integer
required
num_tokens
integer
required
document_type
enum<string>
default:document
Available options:
document,
image
processing_status
enum<string>
default:ready
Available options:
processing,
ready,
failed