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

# Get an agent handler

> **Required scope:** agents:admin

**Required scope:** `agents:admin`

### Path parameters

<ParamField path="agent_name" type="string" required>
  Agent name
</ParamField>

### Response

`AgentRuntimeStatus`

<ResponseField name="confidence_threshold" type="number (float)" required />

<ResponseField name="description" type="string" required />

<ResponseField name="enabled" type="boolean" required />

<ResponseField name="interval_secs" type="integer (int64)" required />

<ResponseField name="max_concurrency" type="integer" required />

<ResponseField name="name" type="string" required />

<ResponseField name="require_approval" type="boolean" required />

<ResponseField name="running" type="boolean" required />

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Agent status                                       |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `404` | Agent not found                                    |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.nsr.stateset.com/api/v1/agents/{agent_name}' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "confidence_threshold": 1,
    "description": "string",
    "enabled": true,
    "interval_secs": 1,
    "max_concurrency": 1,
    "name": "string",
    "require_approval": true,
    "running": true
  }
  ```
</ResponseExample>
