SandboxesProcesses

Fetch process logs

Fetch a process's buffered logs. 409 logging_disabled when the process ran with max_log_bytes=0.

GET
/v1/sandboxes/{sandboxIdOrName}/processes/{ref}/logs
AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

sandboxIdOrName*string

Sandbox ID (ULID) or name

ref*string

Process ULID or name

Query Parameters

org?string

Required when the path names the sandbox by name.

project?string

Required when the path names the sandbox by name.

tail?integer

Return only the last N lines; 0 = full retained log

Formatint32
Range0 <= value
resume?boolean

Wake a paused sandbox to serve this request

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/v1/sandboxes/string/processes/string/logs"
{  "frames": [    {      "data_base64": "string",      "seq": 0,      "stream": "stdout",      "ts": "2019-08-24T14:15:22Z"    }  ]}