GET
/files/{file_id}
curl \
--request GET 'https://api.openai.com/v1/files/{file_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"bytes": 42,
"created_at": 42,
"expires_at": 42,
"filename": "string",
"object": "file",
"purpose": "assistants",
"status": "uploaded",
"status_details": "string"
}