v10

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

Upload a file

Upload an Excel spreadsheet file for later processing.

Supported formats:

  • Excel (.xlsx)

Maximum file size: 100 MB

post/v1/files

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
}