---
title: "actor.level-change@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/actor.level-change"
updated: null
---

# actor.level-change@1 · OpenVibe.Services

HTML: [actor.level-change@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/actor.level-change)

# ActorLevelChange `actor.level-change@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: actor
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [ADR-044](/docs/adr/ADR-044)
- Schema: [`https://openvibe.network/contracts/actor/level-change.v1.json`](/docs/contracts/actor.level-change.json)

actor.level-change@1: the body of PUT /api/v1/agents/{id}/level (capability actor.agent.manage). LEVEL is the new approval level of the person's agent; the answer is the agent (actor.agent@1) with its level. The level never widens the floor: money, passwords, deletions and sending to a new recipient ask at every level. AGENT\_ID and THREAD\_ID are optional echoes for a caller changing a level from a thread; Actor checks the agent in the path and stores the agent level only.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `level` | enum | yes |  | - `one of "ask", "auto-edits", "approve-for-me", "full"` |
| `agent_id` | string |  |  | - `pattern ^agt_[0-9A-HJKMNP-TV-Z]{26}$` |
| `thread_id` | string |  |  | - `pattern ^tsk_[0-9A-HJKMNP-TV-Z]{26}$` |
| `reason` | string |  |  | - `maxLength 300` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: full

~~~~
{
  "level": "full",
  "agent_id": "agt_01M4C49CW34NGX7TR2TNRVFWNW",
  "reason": "The person is watching this run."
}
~~~~

Rejected: unknown-level

~~~~
{
  "level": "everything"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('actor.level-change@1', value);   // { valid, errors: [{ path, message }] }
~~~~
