Get file

Returns metadata for a previously uploaded file: name, media type, and size. Use the download endpoint for the file content.

Authentication

Authorizationstring

Use the API key format: api-key <token>.

Path parameters

fileIdstringRequired
File identifier.

Response

File metadata.
idstring

File identifier. Reference it as fileId in extractions and workflow payloads.

namestring
Original file name.
mimeTypestring
Detected media type of the stored file.
sizeByteslong
File size in bytes.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
406
Not Acceptable Error
409
Conflict Error
500
Internal Server Error
502
Bad Gateway Error