ReferenceAPI

Read computer logs

Read the workload's stdout and stderr as NDJSON {ts, stream, line} lines.

GET https://api.nevia.cloud/v1/computers/{cmp}/logs
curl -X GET "https://api.nevia.cloud/v1/computers/01d4cnjk3xg90y576w8y6t4gdwm/logs" \
  -H "Authorization: Bearer $TOKEN"
{
  "ts": "2026-09-10T12:34:56Z",
  "stream": "journal",
  "line": "string"
}

Authorization

bearerAuth
Authorization Bearer <token>

Send the token in the Authorization: Bearer <token> header. See Authenticate.

In: header

Path Parameters

cmp* string

Computer id: 27 lowercase letters and digits.

Match ^[A-Za-z0-9_-]{1,64}$

Query Parameters

since? string

Start time, RFC 3339 or relative like 10m

tail? integer

Number of recent lines to return

Range 1 <= value <= 10000
Default 100
follow? boolean

Stream new lines as they arrive

Default false

Behavior

follow=true keeps the response open (chunked) and streams new lines.

Response

application/x-ndjson

NDJSON lines from the machine's journal, streamed when follow=true.

One log line