Skip to main content
GET
/
v1
/
installs
/
{id}
/
logs
Stream install logs
curl --request GET \
  --url https://api.cnap.tech/v1/installs/{id}/logs \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "not_found",
    "message": "Resource not found",
    "param": "name",
    "suggestion": "Run `cnap clusters list` to see available clusters",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens

Path Parameters

id
string
required

Install ID

Query Parameters

pod
string

Pod name (all pods if omitted)

Required string length: 1 - 253
container
string

Container name

Required string length: 1 - 253
follow
boolean | null
default:true

Follow log output

tail
integer | null

Lines to tail

since_seconds
integer | null
default:0

Only return logs newer than this many seconds

Response

Log stream (text/event-stream)