runs
Get a run's script
Changed onReturns every cell the run executed, in order, as one Python file and one by one, failed and exploratory cells included. A code run's first cell is its revision's script. The script is kept with the run's data, so it outlives the transcript; when that record is missing, the cells are rebuilt from what remains of the transcript and partial is true. 404 when there is nothing to build it from.
get/runs/{run_id}/script
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
run_idstring uuid required
The run's id.
Response
OK
Example response
{
"$schema": "/api/v1/AgentRunScript.json"
}Changes
- info
endpoint added
- info