files
Retrieve file
Returns metadata about a specific file, including its size, creation time, and purpose.
get/files/{file_id}
Path parameters
file_idstring required
The file ID returned when the file was uploaded.
Response
File metadata.
Example response
{
"bytes": 12045,
"created_at": 1703187200,
"filename": "batch_requests.jsonl",
"id": "file-abc123",
"object": "file",
"purpose": "batch"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.