Upload a file
Uploads a file to be referenced in future API calls. The file is stored under the workspace of the authenticating API key. Maximum file size: 100 MB.
Authentication
AuthorizationBearer
API key as bearer token in Authorization header
Query parameters
workspace_id
Workspace to scope the request to. Defaults to the caller’s default workspace.
Request
This endpoint expects a multipart form containing a file.
file
Response
The uploaded file metadata.
created_at
downloadable
filename
id
mime_type
size_bytes
type
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
413
Content Too Large Error
429
Too Many Requests Error
500
Internal Server Error