Skip to content
Navigation

Download an artifact

The stored bytes of ANY artifact of this session, under their own content type — the composed PDF the Workspace viewer opens, the redlined .docx the export produced, the markdown itself. Nothing is minted: the response IS the file. Authorization: the same gate as every session route — work_session:read (or comment to write) on the session, OR space:contribute on one of its linked spaces; a desk session only for its owner. Any denial is 404.

GET
https://api.cloudraker.com/workspace/sessions/{sessionId}/artifacts/{artifactId}/file
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • sessionId
    string
    required
  • artifactId
    string
    required

Returns

200

The artifact bytes.

404

No such session or artifact, or the caller may not see it.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

409

artifact_not_ready — the bytes are not stored or parsed yet (retryable); document_version_conflict — a save whose baseVersion is behind the current version.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close