Bots
Download a workspace file
Download one workspace file.
Raw bytes with the stored content type (application/octet-stream when unknown), always Content-Disposition: attachment. The path must name a listed file inside the workspace: .., absolute paths outside /ws and encoded forms are refused.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
Query parameters
notes/a.mdResponse
The file
application/octet-stream
invalid_path — path does not name a file inside the workspace
application/json
unauthorized — missing, invalid or revoked ozk_ key
application/json
workflow_not_found — no saved workflow with that id for this account (foreign and missing ids answer alike); file_not_found — no such file in the workspace; not_found — no route for this method on this path: every other method answers it
application/json
file_too_large — the file is above the 20 MB download limit
application/json
upstream_error — the workspace store is unavailable; retry
application/json