Skip to main content
POST
Create a file upload

Authorizations

Authorization
string
header
required

Your DUST API key is a Bearer token.

Path Parameters

wId
string
required

ID of the workspace

Body

application/json
contentType
string
required
fileName
string
required
fileSize
number
required
useCase
enum<string>
required
Available options:
conversation,
folders_document,
avatar,
upsert_document,
upsert_table,
project_context,
skill_attachment,
workspace_branding
useCaseMetadata
object

Response

File record created with upload URL

file
object

File record with a pre-signed upload URL.