local-sandbox

Poll execution logs

Changed on

Returns execution status and new log content since the provided byte cursor. Call repeatedly with the returned cursor to stream logs.

get/local-sandbox/{local_sandbox_id}/execution-logs

Request

  • Base URL
    https://api.klavis.ai
  • Auth
    HTTP bearer

Path parameters

local_sandbox_idstring required

The local sandbox identifier

Query parameters

execution_namestring required

Name of the execution to get logs for

cursorinteger

Byte offset to start reading from

Response

Successful Response

statusstring required

Current status: pending | running | completed | failed

logsstring

New log content since the provided cursor

cursorinteger

Byte offset to pass as cursor on next poll

Changes