Sandbox processes
Fetch process logs
Fetch a process's buffered logs. 409 logging_disabled when the process ran with max_log_bytes=0.
Fetch a process's buffered logs. 409 logging_disabled when the process ran with max_log_bytes=0.
Authorization
apiKey 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
Format
int32Range
0 <= valueresume?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" } ]}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}