---
title: "oz0 tenant quality"
description: "Usage and flags for oz0 tenant quality."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/tenant/quality"
---
# oz0 tenant quality

> Usage and flags for oz0 tenant quality.

For: Operators and developers looking up a command.

--sample AGENT=RATE[:JUDGE] has a judge look at that share of the agent's finished jobs after the fact (a rule of the tenant's own, which wins over the agent's quality.sample; RATE 0 turns it off); JUDGE is a model alias or \<provider>/\<model>, and --sample-rubric-file the rubric it judges by, else the agent's own. --unsample AGENT removes a rule. Agents with an outcome check are judged on every job already and are never sampled.

Each judge job is a model call through the gateway, metered to the tenant and left out of the usage figures.

--sample-subject-jobs on lets jobs about a data subject be sampled too (off by default): their task and answer then go to the judge, so turning it on loosens a governance control and waits for a second admin where the tenant has four eyes on.

--retirement-notice-days is how many days before a pinned model retires the agents that pin it get a model_retiring finding and the model.retiring notification (30 by default, 1 to 365).

Every change takes a reason (--reason or $OZ0_REASON). Operators may read the setting; admins change it.

## Usage

```bash
oz0 tenant quality <tenant> [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --decision-ref
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      the decision or case the change follows, such as a case number (at most 200 characters)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --json
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      print JSON instead of a table
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --reason
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      why, required for every governance change (at most 500 characters; default $OZ0_REASON); the audit log keeps it
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --retirement-notice-days
      </code>
    </td>
    
    <td>
      int32
    </td>
    
    <td>
      
    </td>
    
    <td>
      days before a pinned model retires that its agents are warned (1 to 365)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --sample
      </code>
    </td>
    
    <td>
      stringArray
    </td>
    
    <td>
      
    </td>
    
    <td>
      a sampling rule, AGENT=RATE or AGENT=RATE:JUDGE, such as writer=0.1:smart; repeatable
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --sample-rubric-file
      </code>
    </td>
    
    <td>
      file
    </td>
    
    <td>
      <code>
        the agent's own
      </code>
    </td>
    
    <td>
      a file with the rubric the --sample rules' judge judges by
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --sample-subject-jobs
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      whether jobs about a data subject may be sampled: on or off
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --unsample
      </code>
    </td>
    
    <td>
      stringArray
    </td>
    
    <td>
      
    </td>
    
    <td>
      remove an agent's sampling rule (its own quality.sample applies again); repeatable
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
