Skip to main content
GET
Download a conversation-scoped file by path

Authorizations

Authorization
string
header
required

Your DUST API key is a Bearer token.

Path Parameters

wId
string
required

ID of the workspace

cId
string
required

ID of the conversation

rel
string
required

Conversation-scoped file path: the canonical filePath returned in a message action's generatedFiles, or the legacy conversation/foo.pdf form. Paths scoped to another conversation or to a different scope are rejected. Path traversal segments (..) are rejected.

Response

File content streamed directly, with the file's stored content type. A file stored without a type is served as an attachment, with text/html for .html and the current Office types for .docx, .pptx and .xlsx, unless the request's Accept header is exactly application/octet-stream. Any other extension stays application/octet-stream.

The response is of type file.