Retrieve a file
Retrieve File
Returns metadata for a single file (size, content type, purpose, etc.).
Use the /v1/files/{file_id}/content endpoint to download the bytes.
GET
Retrieve a file
Return metadata (size, filename, purpose, creation time) for one file. For the bytes, use Retrieve File Content. Compatible with OpenAI’s Retrieve file endpoint.
Rate limit: 100 requests/min.
Authorizations
Bearer token authentication using your Perceptron API key
Path Parameters
The id of the file to retrieve.
Response
File metadata.
File size in bytes.
Unix timestamp (seconds) when the file was created.
Original file name.
File ID, e.g. file-abc123.
Always "file".
File purpose.
Available options:
vision, user_data