> ## 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.

# PolicyVocabInit

> **Required scope:** write

**Required scope:** `write`

### Request body

`PolicyVocabInitRequest`

<ParamField body="custom_tool_names" type="string[]" />

<ParamField body="org_id" type="string" />

### Response

`PolicyVocabResponse`

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

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

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

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Policy vocabulary initialized                      |
| `400` | Invalid request                                    |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |
| `500` | Internal server error                              |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.nsr.stateset.com/api/v1/policy/vocab/init' \
    --header 'X-API-Key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "custom_tool_names": [
      "string"
    ],
    "org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "programs_set": 1,
    "symbols_registered": 1
  }
  ```
</ResponseExample>
