Skip to main content
POST
Compute and record a verified workload layout for a planned change

Authorizations

Authorization
string
header
required

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

Body

application/json
flow
enum<string>
required
Available options:
add-server,
add-use-case
stack_id
string
required
Minimum string length: 1
goals
string[]
required
Minimum array length: 1
compute_profile
string
use_case_settings
object
use_case_capabilities
object
planned_node
object

The node an add-server run brings, when its size is known before it enrolls.

pins
object

The owner's server choice per use case of an add-use-case change, use case id to server id. Every chosen server must belong to one deployment of the owner in this tenant, and every pinned use case must be part of goals.

Response

The recommendation view

data
object
meta
object