Operations

Download an operation output

Changed on

Streams the file output of a completed operation (e.g. the CSV produced by an exports.generate or subscribers.export run). Returns 200 text/csv with a Content-Disposition attachment once the operation has succeeded and produced an output. Any operation that is missing, not yours, not a public kind, not yet succeeded, or has no stored output returns 404 operations_not_found. The underlying storage URL is never exposed — the bytes are streamed through the API. Requires operations.read.

get/operations/{id}/download

Request

  • Base URL: https://api.cavuno.com/v1
  • URL: https://api.cavuno.com/v1/operations/{id}/download
  • Auth: HTTP bearer

Path parameters

idstring required

Unique identifier for the operation.

Response

The operation output, streamed as a file attachment.

Changes