API ReferenceRuns
Get Run Log
Get a time-limited download URL for the run's log file.
The log is a single plaintext file capturing the full execution timeline of the run, including messages exchanged with model providers, tools invoked, and the agent's intermediate reasoning. It is intended for debugging, traceability, and feeding back to builder agents.
Returns 404 while the run is still in progress (the file is written when the run finishes).
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
run_id*Run Id
Format
uuidHeader Parameters
X-API-Key?string|null
Response Body
application/json
application/json
curl -X GET "https://api.levainlabs.com/api/v1/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/log"{
"url": "string",
"expires_in_seconds": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}