Update Config

Update mutable config fields at runtime.

Accepts JSON body with {"max_agents": N}. Writes the change to bernstein.yaml so the orchestrator's hot-reload picks it up on the next tick (~30s). Returns the new effective value.

Agent identity JWTs (per-agent, task-scoped) are rejected with 403 - mutating process-wide config is an operator action. SSO admin users and legacy operator tokens may proceed. Bearer-level permission enforcement is handled by :class:SSOAuthMiddleware via the admin:manage mapping; this check adds defense-in-depth against any agent JWT that slips through the middleware's prefix match.

post/config

Request

  • Base URL: http://127.0.0.1:8052
  • URL: http://127.0.0.1:8052/config
  • Auth: none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.