Path parameters
-
The ID of the file to use for this request.
GET
/files/{file_id}
curl \
-X GET https://api.openai.com/v1/files/{file_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"bytes": 42,
"created_at": 42,
"filename": "string",
"object": "file",
"purpose": "assistants",
"status": "uploaded",
"status_details": "string"
}