Atlantiraptor Docs

create_flow_download

Type: Function · Category: server

Creates a download pack for the flow.

This function initiates the download creation process for a flow. It is equivalent to the GUI functionality allowing to “Download Results” from the Flows Overview page.

Using the wait parameter you can wait for the download to complete or just kick it off asynchronously.

Argument Type Description
client_id string (required) Client ID to export.
flow_id string (required) The flow id to export.
wait bool If set we wait for the download to complete before returning.
type string Type of download to create (deprecated Ignored).
template string Report template to use (deprecated Ignored).
password string An optional password to encrypt the collection zip.
format string Format to export (csv,json,csv_only) defaults to both.
expand_sparse bool If set we expand sparse files in the archive.
name string If specified we call the file this name otherwise we generate name based on flow id.

Required permissions: PREPARE_RESULTS

Platforms: macOS, Linux, Windows

Source: vql/server/downloads/downloads.go