Skip to main content
POST
Upload File

Authorizations

x-api-key
string
header
required

API key for authentication

x-selected-account-id
string
header
required

Selected Account ID

Path Parameters

project_id
string
required

Body

multipart/form-data
file
file
required

Response

Successful Response

id
string
required

ID of the entity

project_id
string
required

ID of the project

filename
string
required
size_bytes
integer
required
mime_type
string
required
status
enum<string>
required
Available options:
uploading,
uploaded,
failed,
deleted
created_at
string<date-time>
required
storage_key
string
required
object
string | null
default:file
Allowed value: "file"
path
string | null
external_data_source_id
string | null
external_file_id
string | null
external_etag
string | null
external_content_hash
string | null
external_deleted_at
string<date-time> | null
external_sync_status
enum<string> | null
Available options:
pending,
processing,
retrying,
failed,
synced
external_sync_error
string | null