---
title: POST /api/v1/lifecycles/{entity_name}/{guid}/stepTo
description: Step To
locale: en
version: 0.2.0
canonical: https://enterium-developer-docs.pages.dev/developers/api/lifecycles/post-lifecycles-entity-name-guid-stepto/
---

> Documentation index: https://enterium-developer-docs.pages.dev/developers/llms.txt — every page of this portal has a Markdown twin at <route>.md; the frozen API contract is at https://enterium-developer-docs.pages.dev/developers/api/openapi.json.

:::note
Generated from the OpenAPI contract — do not edit by hand. Interactive explorer with full schemas: [https://entherium.duckdns.org:8443/reference](https://entherium.duckdns.org:8443/reference); frozen spec for this build: [openapi.json](/developers/api/openapi.json). Group: [lifecycles](../).
:::

Step To

**Auth:** `Authorization: Bearer <token>` required

## Request

```sh
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}'
```

## Response `200`

The contract carries no example for this response; schema: `AdvanceResponse`. Field-level shape: [interactive explorer](https://entherium.duckdns.org:8443/reference).

## Returns

`AdvanceResponse` — Successful Response

| Field | Type | Description |
| --- | --- | --- |
| `detail` | `object \| null` (opt.) |  |
| `entity` | `string` |  |
| `from_step` | `integer \| null` |  |
| `guid` | `integer` |  |
| `outlet` | `string` |  |
| `to_step` | `integer` |  |

## Parameters

| Parameter | In | Required | Type | Default | Constraints | Description |
| --- | --- | --- | --- | --- | --- | --- |
| `entity_name` | path | yes | `string` | — | — |  |
| `guid` | path | yes | `integer` | — | — |  |
| `Idempotency-Key` | header | no | `string` | — | uuid | Optional. |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `comment` | `string \| null` | no |  |
| `detail` | `object \| null` | no |  |
| `to_step` | `integer` | yes | target step id from LC definition |

_Example:_

```json
{
  "comment": "reviewed; moving to publish-ready",
  "detail": {
    "reviewer": "agent"
  },
  "to_step": 3
}
```

## Errors

| Code | Meaning | Body |
| --- | --- | --- |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
| `404` | Entity or lifecycle not found | `ErrorResponse` |
| `409` | Transition not allowed from the current step | `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](../../../reference/errors/).
