Blueprints

Blueprints from GitOps (read-only), rendering preview.

All paths are relative to the base path /api/v1 (same origin as the UI). Authentication, roles, pagination and the error format are described in the overview; the types are on the page Data types.

OperationRequestPermission
All blueprintsGET /blueprintsread (viewer)
Blueprint details (chain, merged parameters, usage, issues)GET /blueprints/{name}read (viewer)
Render a preview for an agent or hypothetical attributes (no side effects)POST /blueprints/{name}/renderread (viewer)

All blueprints

GET /api/v1/blueprints

Operation listBlueprints. Permission read (lowest role: viewer).

Responses

StatusDescriptionContent typeType
200Blueprintsapplication/jsonBlueprintSummaryList
401Not authenticated (code unauthorized)application/problem+jsonProblem

Blueprint details (chain, merged parameters, usage, issues)

GET /api/v1/blueprints/{name}

Operation getBlueprint. Permission read (lowest role: viewer).

Parameters

NameInTypeRequiredDescription
namepathstringyesPattern ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$.

Responses

StatusDescriptionContent typeType
200Blueprintapplication/jsonBlueprintDetail
404Not found (code not_found)application/problem+jsonProblem

Render a preview for an agent or hypothetical attributes (no side effects)

POST /api/v1/blueprints/{name}/render

Operation renderBlueprint. Permission read (lowest role: viewer).

Parameters

NameInTypeRequiredDescription
namepathstringyesPattern ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$.
X-CSRF-TokenheaderstringnoRequired for cookie-authenticated mutating requests (value of cookie myriarch_csrf).

Request body

Content type application/json, required. Type: RenderRequest.

{
  "agentId": "00000000-0000-4000-8000-000000000000",
  "attributes": {
    "key": "string"
  },
  "fleet": "string",
  "parameters": {},
  "validate": true
}

Responses

StatusDescriptionContent typeType
200Render result (issues instead of HTTP errors for rendering problems)application/jsonRenderResponse
404Not found (code not_found)application/problem+jsonProblem