Skip to main content
POST
Create a file upload URL

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

MIME type of the file

fileName
string
required

Name of the file

fileSize
integer
required

Size of the file in bytes

useCase
string
required

Intended use case for the file, use "conversation"

useCaseMetadata
string
required

(optional) Metadata for the use case, for conversation useCase should be dictionary with conversationId stringified

Response

File upload URL created successfully

file
object