Skip to main content
POST
Create AI file

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

Display name for the file.

Minimum string length: 1
file
any

Multipart file upload, up to 100MB. Provide this or url, not both.

url
string<uri>

URL the server downloads and stores, up to 100MB. Provide this or file, not both.

Response

OK

id
string
required
Pattern: ^\d+$
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
name
string
required
path
string
required
size
integer
required
Required range: -2147483648 <= x <= 2147483647
mimeType
string
required
workspaceId
string
required
Pattern: ^\d+$
url
string
required
chunksCount
number
required
processingStatus
enum<string>
required
Available options:
pending,
success,
error,
processing