The API reference is in English.

Immutable source snapshot

POST /operations

Create operation. Permissions, parameters, responses and examples.

0.1.0 · source bccff29 · Current reference · Download OpenAPI specification

Private service protocols are unsupported for external integration. Their schemas describe source declarations; they are not public service endpoints.

Create operation

Create operation through POST /operations. The parameters and declared response shapes below come from this exact source snapshot.

Internal protocol; unsupported for external integration. This page makes no request to a local installation.

Authority

Private service protocol. No public or third-party integration authority.

Inspect the authority source · Authentication guide

Parameters and headers

No explicit path, query or header parameters are declared here. The authority boundary still applies.

Request body

JSON body · required · OperationRequest

FieldTypePresence
attemptintegerRequired
catalog_digeststring | nullOptional
kindstringRequired
max_attemptsintegerRequired
operation_idstringRequired
preparation_budgetPreparationBudget | nullOptional
reconciliation_budgetRecoveryBudget | nullOptional
reconciliation_targetRecoveryTarget | nullOptional
request_digeststringRequired
requested_componentsarrayRequired
schema_versionintegerRequired
Complete declared request schema
{
  "additionalProperties": false,
  "properties": {
    "attempt": {
      "maximum": 3,
      "minimum": 1,
      "title": "Attempt",
      "type": "integer"
    },
    "catalog_digest": {
      "anyOf": [
        {
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Catalog Digest"
    },
    "kind": {
      "enum": [
        "catalog_check",
        "cache_update",
        "cache_rollback",
        "cache_reconcile"
      ],
      "title": "Kind",
      "type": "string"
    },
    "max_attempts": {
      "maximum": 3,
      "minimum": 1,
      "title": "Max Attempts",
      "type": "integer"
    },
    "operation_id": {
      "format": "uuid",
      "title": "Operation Id",
      "type": "string"
    },
    "preparation_budget": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/PreparationBudget"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_budget": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecoveryBudget"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_target": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecoveryTarget"
        },
        {
          "type": "null"
        }
      ]
    },
    "request_digest": {
      "pattern": "^[0-9a-f]{64}$",
      "title": "Request Digest",
      "type": "string"
    },
    "requested_components": {
      "items": {
        "type": "string"
      },
      "maxItems": 32,
      "title": "Requested Components",
      "type": "array"
    },
    "schema_version": {
      "enum": [
        1,
        2,
        3
      ],
      "title": "Schema Version",
      "type": "integer"
    }
  },
  "required": [
    "schema_version",
    "operation_id",
    "request_digest",
    "kind",
    "requested_components",
    "attempt",
    "max_attempts"
  ],
  "title": "OperationRequest",
  "type": "object"
}

Responses

StatusMeaning and declared shape
200

OK

application/json · OperationRecord
{
  "additionalProperties": false,
  "properties": {
    "activity": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/OperationActivity"
        },
        {
          "type": "null"
        }
      ]
    },
    "attempt": {
      "maximum": 3,
      "minimum": 1,
      "title": "Attempt",
      "type": "integer"
    },
    "cancel_requested_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cancel Requested At"
    },
    "created_at": {
      "title": "Created At",
      "type": "string"
    },
    "error_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Code"
    },
    "error_detail": {
      "anyOf": [
        {
          "maxLength": 256,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Detail"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "kind": {
      "enum": [
        "catalog_check",
        "cache_update",
        "cache_rollback",
        "cache_reconcile"
      ],
      "title": "Kind",
      "type": "string"
    },
    "last_activity_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Activity At"
    },
    "max_attempts": {
      "maximum": 3,
      "minimum": 1,
      "title": "Max Attempts",
      "type": "integer"
    },
    "operation_id": {
      "format": "uuid",
      "title": "Operation Id",
      "type": "string"
    },
    "preparation_budget": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/PreparationBudget"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_budget": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecoveryBudget"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_intent": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ReconciliationIntent"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_target": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecoveryTarget"
        },
        {
          "type": "null"
        }
      ]
    },
    "request_digest": {
      "pattern": "^[0-9a-f]{64}$",
      "title": "Request Digest",
      "type": "string"
    },
    "requested_components": {
      "items": {
        "type": "string"
      },
      "maxItems": 32,
      "title": "Requested Components",
      "type": "array"
    },
    "result": {
      "anyOf": [
        {
          "discriminator": {
            "mapping": {
              "cache": "#/components/schemas/CacheOperationResult",
              "catalog": "#/components/schemas/CatalogOperationResult",
              "reconciliation": "#/components/schemas/ReconciliationOperationResult"
            },
            "propertyName": "kind"
          },
          "oneOf": [
            {
              "$ref": "#/components/schemas/CatalogOperationResult"
            },
            {
              "$ref": "#/components/schemas/CacheOperationResult"
            },
            {
              "$ref": "#/components/schemas/ReconciliationOperationResult"
            }
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "schema_version": {
      "enum": [
        1,
        2,
        3
      ],
      "title": "Schema Version",
      "type": "integer"
    },
    "stage": {
      "title": "Stage",
      "type": "string"
    },
    "started_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Started At"
    },
    "status": {
      "enum": [
        "queued",
        "running",
        "cancelling",
        "completed",
        "failed",
        "cancelled"
      ],
      "title": "Status",
      "type": "string"
    },
    "updated_at": {
      "title": "Updated At",
      "type": "string"
    },
    "workflow_deadline_exceeded": {
      "default": false,
      "title": "Workflow Deadline Exceeded",
      "type": "boolean"
    }
  },
  "required": [
    "schema_version",
    "operation_id",
    "request_digest",
    "kind",
    "requested_components",
    "status",
    "stage",
    "attempt",
    "max_attempts",
    "created_at",
    "updated_at"
  ],
  "title": "OperationRecord",
  "type": "object"
}
202

Successful Response

application/json · OperationRecord
{
  "additionalProperties": false,
  "properties": {
    "activity": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/OperationActivity"
        },
        {
          "type": "null"
        }
      ]
    },
    "attempt": {
      "maximum": 3,
      "minimum": 1,
      "title": "Attempt",
      "type": "integer"
    },
    "cancel_requested_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cancel Requested At"
    },
    "created_at": {
      "title": "Created At",
      "type": "string"
    },
    "error_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Code"
    },
    "error_detail": {
      "anyOf": [
        {
          "maxLength": 256,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Detail"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "kind": {
      "enum": [
        "catalog_check",
        "cache_update",
        "cache_rollback",
        "cache_reconcile"
      ],
      "title": "Kind",
      "type": "string"
    },
    "last_activity_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Activity At"
    },
    "max_attempts": {
      "maximum": 3,
      "minimum": 1,
      "title": "Max Attempts",
      "type": "integer"
    },
    "operation_id": {
      "format": "uuid",
      "title": "Operation Id",
      "type": "string"
    },
    "preparation_budget": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/PreparationBudget"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_budget": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecoveryBudget"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_intent": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ReconciliationIntent"
        },
        {
          "type": "null"
        }
      ]
    },
    "reconciliation_target": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecoveryTarget"
        },
        {
          "type": "null"
        }
      ]
    },
    "request_digest": {
      "pattern": "^[0-9a-f]{64}$",
      "title": "Request Digest",
      "type": "string"
    },
    "requested_components": {
      "items": {
        "type": "string"
      },
      "maxItems": 32,
      "title": "Requested Components",
      "type": "array"
    },
    "result": {
      "anyOf": [
        {
          "discriminator": {
            "mapping": {
              "cache": "#/components/schemas/CacheOperationResult",
              "catalog": "#/components/schemas/CatalogOperationResult",
              "reconciliation": "#/components/schemas/ReconciliationOperationResult"
            },
            "propertyName": "kind"
          },
          "oneOf": [
            {
              "$ref": "#/components/schemas/CatalogOperationResult"
            },
            {
              "$ref": "#/components/schemas/CacheOperationResult"
            },
            {
              "$ref": "#/components/schemas/ReconciliationOperationResult"
            }
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "schema_version": {
      "enum": [
        1,
        2,
        3
      ],
      "title": "Schema Version",
      "type": "integer"
    },
    "stage": {
      "title": "Stage",
      "type": "string"
    },
    "started_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Started At"
    },
    "status": {
      "enum": [
        "queued",
        "running",
        "cancelling",
        "completed",
        "failed",
        "cancelled"
      ],
      "title": "Status",
      "type": "string"
    },
    "updated_at": {
      "title": "Updated At",
      "type": "string"
    },
    "workflow_deadline_exceeded": {
      "default": false,
      "title": "Workflow Deadline Exceeded",
      "type": "boolean"
    }
  },
  "required": [
    "schema_version",
    "operation_id",
    "request_digest",
    "kind",
    "requested_components",
    "status",
    "stage",
    "attempt",
    "max_attempts",
    "created_at",
    "updated_at"
  ],
  "title": "OperationRecord",
  "type": "object"
}
409

Refresh current revision and identity. A conflicting command must not be blindly repeated. See source-linked error catalog.

422

Validation Error

application/json · HTTPValidationError
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "title": "Detail",
      "type": "array"
    }
  },
  "title": "HTTPValidationError",
  "type": "object"
}
503

Check readiness and the recorded job state. A healthy control plane does not prove scanner readiness. See source-linked error catalog.

An empty or broad schema preserves the source contract. It is not a promise of an empty response.

Source-linked errors

Literal HTTP errors in this handler and same-file helper call graph, plus control middleware. Dynamic and cross-module failures may add other errors; source links are authoritative.

3 source error observations
StatusSource detailRecovery
409 ↗operation_conflictRefresh current revision and identity. A conflicting command must not be blindly repeated.
503 ↗updater_capacityCheck readiness and the recorded job state. A healthy control plane does not prove scanner readiness.
422 ↗operation_rejectedCorrect the field or semantic validation error. Input values are omitted from control validation errors.

Read the recovery guide

Synthetic examples

These examples validate declared JSON shapes and formats. They contain no real installation data and do not prove runtime admission, cross-field validation, authority or successful work.

Request JSON
{
  "attempt": 1,
  "kind": "catalog_check",
  "max_attempts": 1,
  "operation_id": "00000000-0000-4000-8000-000000000001",
  "request_digest": "0000000000000000000000000000000000000000000000000000000000000000",
  "requested_components": [],
  "schema_version": 1
}
Response 200 JSON
{
  "attempt": 1,
  "created_at": "synthetic",
  "kind": "catalog_check",
  "max_attempts": 1,
  "operation_id": "00000000-0000-4000-8000-000000000001",
  "request_digest": "0000000000000000000000000000000000000000000000000000000000000000",
  "requested_components": [],
  "schema_version": 1,
  "stage": "synthetic",
  "status": "queued",
  "updated_at": "synthetic"
}
Response 202 JSON
{
  "attempt": 1,
  "created_at": "synthetic",
  "kind": "catalog_check",
  "max_attempts": 1,
  "operation_id": "00000000-0000-4000-8000-000000000001",
  "request_digest": "0000000000000000000000000000000000000000000000000000000000000000",
  "requested_components": [],
  "schema_version": 1,
  "stage": "synthetic",
  "status": "queued",
  "updated_at": "synthetic"
}
Download this service's complete OpenAPI

All referenced models remain in its components section. Browse control model definitions.