---
title: "Update Step Progress"
method: PATCH
path: "/api/v1/auth/preferences/onboarding/step"
tags: ["user-preferences"]
---

# Update Step Progress

`PATCH /api/v1/auth/preferences/onboarding/step`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/auth/preferences/onboarding/step`
- Auth: none declared

Update a chapter's current step for resume functionality.

Saves the step the user is on so they can resume later.

## Headers

- `Authorization` string

## Request body

- UpdateStepRequest: Request to update a chapter's current step (for resume functionality).
  - `chapter` string, required: Chapter ID (connect, discover, freshness, schema)
  - `current_step` integer, required: 0-indexed step the user is on
  - `current_step_id` string, nullable: Step ID string for stable resume across step changes

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
