Sandbox processes

Fetch process logs

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

GET
/v1/sandboxes/{sandboxId}/processes/{ref}/logs

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

AuthorizationBearer <token>

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

In: header

Path Parameters

sandboxId*string

Sandbox ID (ULID)

ref*string

Process ULID or name

Query Parameters

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://api-dev.tektona.ai/v1/sandboxes/string/processes/string/logs"
{  "$schema": "https://api-dev.tektona.ai/schemas/LogsResponse.json",  "frames": [    {      "data_base64": "string",      "seq": 0,      "stream": "stdout",      "ts": "2019-08-24T14:15:22Z"    }  ]}