Skip to main content
GET
/
api
/
v2
/
tools
/
code_executions
/
{exec_id}
/
files
/
{file_id}
Retrieve execution file
curl --request GET \
  --url https://paradigm.lighton.ai/api/v2/tools/code_executions/{exec_id}/files/{file_id}/ \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

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

Path Parameters

exec_id
string<uuid>
required

UUID of the execution task

file_id
string
required

ID of the file to retrieve

Query Parameters

download
boolean

Whether to download the file as attachment (default: false)

Response

File content

The response is of type file.