Xeonr Developer Docs
API SpecificationApps

Report Load

POST
/containers.api.v1.AppService/ReportLoad

Records an App's aggregate in-flight request count and last-request time, which drives idle reaping without an RPC per request. last_request_unix 0 with in_flight > 0 is stored as now. rps is accepted but not used yet.

Access: namespace OPERATOR or above (write)

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

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

appId?string
Length1 <= length <= 64
inFlight?integer

validate:skip any count is meaningful; stored as-is

lastRequestUnix?string

When the app last received a request. 0 with in_flight > 0 is stored as now. validate:skip any unix time is stored as-is

Formatint64
rps?number

Recent request rate, for predictive scale-up. Not yet read by the server. validate:skip ignored by the handler today, so no bound is defensible

Formatdouble
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://containers.xeonr.io/containers.api.v1.AppService/ReportLoad" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}