GET /api/v1/lifecycles/{entity_name}/{guid}/state
Get State
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/lifecycles/<entity_name>/<guid>/state" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: LifecycleStateResponse. Field-level shape: interactive explorer.
Returns
Section titled “Returns”LifecycleStateResponse — Successful Response
| Field | Type | Description |
|---|---|---|
available_outlets | array of OutletDef (opt.) | |
current_step | StepDef | null (opt.) | |
entity | string | |
guid | integer | |
is_terminal | boolean (opt.) | |
last_log | LifecycleLogRead | null (opt.) | |
lcid | integer | null | |
lcstep | integer | null | |
locked_by | string | null (opt.) | |
permitted_manual_steps | array of StepDef (opt.) |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
entity_name | path | yes | string | — | — | |
guid | path | yes | integer | — | — |
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.