Skip to main content
GET
/
api
/
v2
/
tools
/
code_executions
/
{exec_id}
/
details
cURL
curl --request GET \
  --url https://paradigm.lighton.ai/api/v2/tools/code_executions/{exec_id}/details/ \
  --header 'Authorization: Bearer <token>'
{
  "exec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "files": [
    {
      "file_id": "<string>",
      "filename": "<string>",
      "content_type": "<string>",
      "size": 123
    }
  ],
  "completed_at": "2023-11-07T05:31:56Z",
  "output": "<string>",
  "error": "<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
required

UUID of the execution task

Response

Response serializer for code execution details.

exec_id
string<uuid>
required

Execution ID

status
string
required

Execution status

created_at
string<date-time>
required

When the execution was created

files
object[]
required

List of execution files

completed_at
string<date-time>

When the execution was completed

output
string

Execution output

error
string

Execution error if any