Trama

API

Contract source of truth: openapi.json.

Endpoints

Filter endpoints:

MethodPathDescription
GET/healthzLiveness probe
GET/readyzReadiness probe
POST/sagas/definitionsCreate definition
GET/sagas/definitionsList 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}/runRun stored definition
POST/sagas/runRun inline definition
GET/sagas/{id}Get execution status
POST/sagas/{id}/retryRetry failed execution
GET/metricsPrometheus 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"] }