POST
/
download_files
curl --request POST \
  --url https://api.gumloop.com/api/v1/download_files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_names": [
    "<string>"
  ],
  "run_id": "<string>",
  "user_id": "<string>",
  "project_id": "<string>",
  "saved_item_id": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
file_names
string[]

An array of file names to download.

run_id
string

The ID of the flow run associated with the files.

user_id
string

The user ID associated with the files. Required if project_id is not provided.

project_id
string

The project ID associated with the files. Required if user_id is not provided.

saved_item_id
string

Optional. The saved item ID associated with the files.

Response

200
application/zip
Files downloaded successfully as a zip

The response is of type file.