---
title: "Update Sandbox Phase"
method: POST
path: "/auto-agent/run/{run_id}/phase"
tags: ["auto-agent"]
---

# Update Sandbox Phase

`POST /auto-agent/run/{run_id}/phase`

Update the high-level progress phase visible to the user.

Args:
    run_id: Run UUID from the path.
    body: ``{"phase": "analyzing"}``.
    callback_token: One-time token issued at run creation.

Raises:
    HTTPException 401: Token invalid or run already finalized.
    HTTPException 404: Run not found.

## Path parameters

- `run_id` string, required

## Headers

- `X-Callback-Token` string, required

## Request body

- SandboxPhaseRequest — High-level progress phase update.
  - `phase` string, required — Phase identifier, e.g. ``analyzing``.

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/versions/31dfe831e079/schema)
