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

# Create a single validation case.

> **Required scope:** write

**Required scope:** `write`

### Request body

`NSRValidationCaseInput`

<ParamField body="expected_valid" type="boolean" />

<ParamField body="inquiry" type="string" required />

<ParamField body="name" type="string" required />

<ParamField body="response" type="string" required />

### Response

`NSRValidationCase`

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

<ResponseField name="expected_valid" type="boolean" />

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

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

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

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

### Status codes

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

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.nsr.stateset.com/api/v1/nsr/validation/cases' \
    --header 'X-API-Key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "expected_valid": true,
    "inquiry": "string",
    "name": "Two-Person Tent",
    "response": "string"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "created_at": "2026-08-31T14:22:05Z",
    "expected_valid": true,
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "inquiry": "string",
    "name": "Two-Person Tent",
    "response": "string"
  }
  ```
</ResponseExample>
