Skip to content

POST /api/v1/lifecycles/{entity_name}/{guid}/stepTo

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

Step To

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/lifecycles/<entity_name>/<guid>/stepTo" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"comment":"reviewed; moving to publish-ready","detail":{"reviewer":"agent"},"to_step":3}'

The contract carries no example for this response; schema: AdvanceResponse. Field-level shape: interactive explorer.

AdvanceResponse — Successful Response

FieldTypeDescription
detailobject | null (opt.)
entitystring
from_stepinteger | null
guidinteger
outletstring
to_stepinteger
ParameterInRequiredTypeDefaultConstraintsDescription
entity_namepathyesstring——
guidpathyesinteger——
Idempotency-Keyheadernostring—uuidOptional.
FieldTypeRequiredDescription
commentstring | nullno
detailobject | nullno
to_stepintegeryestarget step id from LC definition

Example:

{
"comment": "reviewed; moving to publish-ready",
"detail": {
"reviewer": "agent"
},
"to_step": 3
}
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
404Entity or lifecycle not foundErrorResponse
409Transition not allowed from the current stepErrorResponse
422Validation ErrorHTTPValidationError

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.