Conversations

Download a conversation-scoped file by path

Download a file from a conversation's file system by its scoped path. Pass the canonical filePath surfaced in a message action's generatedFiles (the legacy conversation/foo.pdf form is also accepted). The file content is streamed directly from the conversation mount.

get/api/v1/w/{wId}/assistant/conversations/{cId}/files/{rel}

Request

Path parameters

wIdstring required

ID of the workspace

cIdstring required

ID of the conversation

relstring 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.

Changes

No recorded changes to this operation across all 130 revisions of this API.