Skip to main content
GET
Get a run's script
Minimum role required: Viewer

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Path Parameters

run_id
string<uuid>
required

The run's id.

Response

OK

Every cell a run executed, in order, failed and exploratory ones included: the raw material for a clean script. A code run's first cell is its revision's script.

cells
object[] | null
required

The cells one by one.

partial
boolean
required

True when the cells may not be all the run executed: the run's script record was missing and the cells were rebuilt from what remains of its transcript and, for a code run, its revision, or the record was never finished because the run is still going or its phone stopped mid-run. Such a script can miss cells, the last one included.

script
string
required

The cells as one Python file, each headed by its number and status.