---
title: "Set Advisor Mode"
method: POST
path: "/api/admin/advisor-mode"
tags: ["admin"]
---

# Set Advisor Mode

`POST /api/admin/advisor-mode`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/admin/advisor-mode`
- Auth: HTTP bearer

Superuser toggle for Advisor mode (both engine call sites at once).

SECURITY (F2): maps onto the SAME process-global ``settings`` flags as
``PUT /engine-mode``, so it is gated on platform superuser (not tenant role)
for the identical reason — a personal-tenant owner is not a platform operator.

DEFAULT OFF; flipping it here changes only the running worker — the durable
fleet-wide control is the ADVISORPPC_ADVISOR_ENABLED_* env vars.

## Headers

- `X-Tenant-Id` integer, nullable

## Request body

- AdvisorModeIn
  - `enabled` boolean, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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