v10

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-02-05141768.5 KB
Files

Get file metadata

Get metadata for a specific file.

get/v1/files/{file_id}

Path parameters

file_idstring required

The unique identifier of the file.

Example:file_01kfxgjd94fn9stqm414vjb0s8

The unique identifier of the file.

Response

Successful Response

idstring required

The unique identifier for this file.

object'file' required

The object type, which is always 'file'.

file_namestring required

The original filename of the uploaded file.

content_typestring required

The MIME type of the file.

sizeinteger required

The size of the file in bytes.

created_atstring date-time required

The timestamp when the file was uploaded.

Example response

{
  "content_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  "created_at": "2024-01-15T10:30:00Z",
  "file_name": "financial_report.xlsx",
  "id": "file_01kfxgjd94fn9stqm414vjb0s8",
  "object": "file",
  "size": 1048576
}