---
title: "Stamp Mode Internal"
method: POST
path: "/v1/sessions/internal/{session_id}/mode"
tags: ["sessions"]
---

# Stamp Mode Internal

`POST /v1/sessions/internal/{session_id}/mode`

Stamp the session's behavior mode + config (behavior-modes). Used by the
dispatch path to run a session in trainee/observer mode. Mode is immutable
once the agent reads it; this must be set before the agent connects.

## Path parameters

- `session_id` string, required

## Request body

- ModeStamp
  - `mode` string, required
  - `mode_config` object, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/roxels/apis/interviewer.md) · [All operations](https://skmtc.dev/roxels/apis/interviewer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roxels/interviewer/revisions/4ef48ed226e1/schema)
