Get pod logs

View as Markdown
Returns the last N lines of logs from a pod in the deployment's namespace.

Authentication

AuthorizationBearer
OAuth 2.0 device flow or session token from WorkOS

Path parameters

namespacestringRequired
Kubernetes namespace for the deployment

Query parameters

accountstringRequired

Account name (used for ownership verification)

podstringRequired
Pod name
containerstringOptional

Container name (defaults to first container)

tailLinesintegerOptionalDefaults to 200

Number of log lines to return (default 200)

Response

Log output as plain text

Errors