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

**cases** `NSRValidationCaseInput[]` *required*

### Response

`NSRValidationCasesBatchResponse`

**created** `integer` *required*

**errors** `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 |

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

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


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