> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MachineUserMode

> How machine users count in a thread metric. Every machine user counts, AI agent or API user. Each metric defines machine-user activity, and `threadMetricCapabilities` returns the exact definition, default and supported modes:
- Thread counts, status counts, CSAT and customer waiting time: a machine-user thread is one whose assignees were all machine users. A thread with a human assignee, or none, counts as human.
- First response time and first-response SLA compliance: a thread whose first outbound message a machine user sent.
- Time between responses: each response a machine user sent.
- Resolution time: a machine-user thread, or one a machine user created and first replied to.
- Status transitions and messages sent: each change or message a machine user made.
- Next-response SLA compliance: not supported (INCLUDE only).
- `agent_*` metrics: the agent credited is a machine user.



**Kind**: `enum`

## Values

**`INCLUDE`** — Count machine-user activity alongside human activity.

**`EXCLUDE`** — Leave machine-user activity out.

**`ONLY`** — Count only machine-user activity.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.