> ## 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 multiple validation cases in one request.

> **Required scope:** write

**Required scope:** `write`

### Request body

`NSRValidationCasesBatchRequest`

<ParamField body="cases" type="NSRValidationCaseInput[]" required />

### Response

`NSRValidationCasesBatchResponse`

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

<ResponseField name="errors" type="string[]" required />

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Batch create result                                |
| `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/batch' \
    --header 'X-API-Key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "cases": [
      {
        "expected_valid": true,
        "inquiry": "string",
        "name": "Two-Person Tent",
        "response": "string"
      }
    ]
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "created": 1,
    "errors": [
      "string"
    ]
  }
  ```
</ResponseExample>
