Files
Retrieve file metadata
Retrieve the metadata for a single uploaded data file.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
The ID of the file to retrieve
Response Body
application/json
curl -X GET "https://example.com/files/string"{ "id": "string", "object": "file", "created_at": 0, "filename": "string", "bytes": 0, "purpose": "fine-tune", "Processed": true, "FileType": "csv", "processing_status": "PENDING", "validation_report": { "valid": true, "dataset_format": "string", "dataset_has_sample_weights": true, "dataset_has_message_weights": true, "dataset_is_multimodal": true, "dataset_has_tools": true, "dataset_has_parallel_tool_calls": true, "dataset_has_reasoning": true, "nlines": 0, "file_id": "string", "error_type": "INVALID_FORMAT", "error": "string" }}