API SpecificationConsole Sessions
WriteConsole
The unary pair below is the same session by request/response. It exists for callers that cannot hold a stream open across their own turn boundaries — an agent between LLM calls, a cron probe, a CLI one-shot — and for anything behind a proxy that would sever a long-lived stream anyway.
Authorization
BearerAuth AuthorizationBearer <token>
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
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
sessionId?string
data?string
Format
byte[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.ConsoleService/WriteConsole" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"tailOffset": 0
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}