Files

Manage files used by agents or users. These endpoints support file uploads, previews, and importing files directly from URLs.

Upload File

post
Query parameters
tenant_idany ofOptional

Tenant Id

Example: 40d39c4b-9585-4123-8fd4-f1cc23a1184c
stringOptional
or
nullOptional
tenant_unit_idany ofOptional

Tenant Unit ID

Example: da114de3-d7e6-4161-bc55-0ce85dbee589
stringOptional
or
nullOptional
Body
filestring · binaryRequired

Upload file

Responses
post
/admin/api/v2/files/upload

Preview File

get
Path parameters
file_idstringRequired

File id

Query parameters
expiresstringRequired

Expires

noncestringRequired

Nonce

sigstringRequired

Sig

Responses
200

Successful Response

application/json
Responseobject
get
/admin/api/v2/files/{file_id}

Remote Url Upload File

post
Query parameters
tenant_idany ofOptional

Tenant Id

Example: 40d39c4b-9585-4123-8fd4-f1cc23a1184c
stringOptional
or
nullOptional
tenant_unit_idany ofOptional

Tenant Unit ID

Example: da114de3-d7e6-4161-bc55-0ce85dbee589
stringOptional
or
nullOptional
Body

The remote url

urlstringRequired
Responses
post
/admin/api/v2/files/remote-url/upload

Last updated

Was this helpful?