Download a file

GET /api/endpoint/action/{action_id}/file/{file_id}/download

Spaces method and path for this operation:

get /s/{space_id}/api/endpoint/action/{action_id}/file/{file_id}/download

Refer to Spaces for more information.

Download a file from an endpoint.

To construct a file_id, combine the action_id and agent_id values using a dot separator: {file_id} = {action_id}.{agent_id}

Path parameters

  • action_id string Required
  • file_id string Required

Responses

  • 200 application/json

    OK

GET /api/endpoint/action/{action_id}/file/{file_id}/download
curl \
 --request GET 'http://localhost:5601/api/endpoint/action/{action_id}/file/{file_id}/download' \
 --header "Authorization: $API_KEY"