orke employee metric
Record the current value of a number in the goal document.
When to use it
Record the current value of a number in the goal document, such as subscriber count. The UI's Goal tab shows it as “current value / target”.
Usage
Syntax · [ ] marks optional arguments
orke employee metric --name <string> --value <integer>Options
| Options | Required? | Value and description |
|---|---|---|
--name | Required | Metric name from the goal document. |
--value | Required | Current value. Range: 0 or greater |
Common management options and errors →
Example
Terminal
orke employee metric --name "Subscribers" --value 120 --jsonThis example runs inside an AI employee's shift. Values such as instruction_id must be actual values supplied in the shift guidance.
What to check in the result
{ok, name, value, target}
Behavior and states to watch
- Available only inside an AI employee's shift. A person running it in a terminal is rejected with
employee_binding_required. The shift's system instructions explain how the employee should use it. - A name missing from the goal document is rejected, and the available names are returned.