Skip to Content
Xeonr Developer Docs
API SpecificationSandboxes

Validate Workload Spec

POST
/containers.api.v1.SandboxService/ValidateWorkloadSpec

Dry-runs the requested installer and runtime requirements against the namespace's current cluster capabilities and platform runtime profiles. A disconnected or stale operator is never treated as certified.

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

namespace?string
Length1 <= length <= 64
installer?
runtime?
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://containers.xeonr.io/containers.api.v1.SandboxService/ValidateWorkloadSpec" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "supported": true,
  "issues": [
    {
      "component": "WORKLOAD_COMPONENT_UNSPECIFIED",
      "code": "string",
      "capability": "string",
      "requiredRevision": 0,
      "availableRevision": 0,
      "message": "string"
    }
  ],
  "clusterId": "string",
  "capabilityObservedAtUnix": "string"
}