API
Contract source of truth: openapi.json.
Endpoints
Filter endpoints:
| Method | Path | Description |
|---|---|---|
| GET | /healthz | Liveness probe |
| GET | /readyz | Readiness probe |
| POST | /sagas/definitions | Create definition |
| GET | /sagas/definitions | List definitions |
| GET | /sagas/definitions/{id} | Get definition |
| PUT | /sagas/definitions/{id} | Insert definition by id |
| DELETE | /sagas/definitions/{id} | Delete definition |
| POST | /sagas/definitions/{name}/{version}/run | Run stored definition |
| POST | /sagas/run | Run inline definition |
| GET | /sagas/{id} | Get execution status |
| POST | /sagas/{id}/retry | Retry failed execution |
| GET | /metrics | Prometheus metrics |
Endpoint Details (from OpenAPI)
Rendered live from openapi.json, including request/response schema references.
Schema Fields (from OpenAPI)
Field-level reference for request and response objects used by this API.
Examples
curl -X POST http://localhost:8080/sagas/run \
-H 'Content-Type: application/json' \
-d '{"definition": { ... }, "payload": {"orderId": "123"}}'Error Model
Validation and operational errors are returned as:
{ "errors": ["message"] }