v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Conversations

Create a file upload URL

post/api/v1/w/{wId}/files

Path parameters

wIdstring required

ID of the workspace

Request body

contentTypestring required

MIME type of the file

fileNamestring required

Name of the file

fileSizeinteger required

Size of the file in bytes

useCasestring required

Intended use case for the file, use "conversation"

useCaseMetadatastring required

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

Response

File upload URL created successfully