cURL
curl --request GET \ --url https://api.olostep.com/v1/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "object": "<string>", "created": 123, "filename": "<string>", "bytes": 123, "purpose": "<string>", "status": "<string>" }
Retrieve metadata for a file by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier for the file to retrieve.
Successful response with file metadata.
File ID
The kind of object. "file" for this endpoint.
Created epoch timestamp
The filename of the uploaded file
File size in bytes
The purpose of the file
File status (e.g., 'pending', 'completed')