Get App Logs
Returns retained output chunks of an App (the same records TailAppLogs streams). With from_offset 0 it returns the latest chunks, oldest first; otherwise the chunks after that cursor. At most limit chunks (0 means 200, at most 2000) and about limit_bytes of output (0 means 65536, at most 1048576; a chunk is never split). next_offset is the cursor of the last chunk returned; more says later chunks exist.
Access: namespace VIEWER or above (read)
Required scopes: container-platform:namespaces:read
Authorization
BearerAuth A namespace-scoped API key (cpk_…) for machines, or a Xeonr Auth OIDC
token for humans. The key's namespace and role are pinned server-side.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 64Restrict to one replica. Empty means every replica, merged.
length <= 256Read the chunks after this cursor. 0 returns the latest chunks.
int640 <= valueMost chunks to return. 0 means 200.
value <= 2000Stop adding chunks past this many bytes of output. 0 means 65536.
value <= 1048576Response Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.AppService/GetAppLogs" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"chunks": [
{
"replica": "string",
"data": "string",
"stderr": true,
"atUnix": "string",
"offset": "string"
}
],
"nextOffset": "string",
"more": true
}Get App POST
Returns an App, including its key, plus its live instances derived from pods (an instance has no address until a version is promoted). The hostname is derived for the current app domain. NotFound for an unknown id. **Access:** namespace VIEWER or above (read)
List Apps POST
Lists Apps in a namespace, newest first. page_size defaults to 100 and is clamped to 1000. **Access:** namespace VIEWER or above (read). `namespace` is required unless the caller is a platform admin, for whom empty covers every namespace.