---
title: Configure verification batches
description: Configure OrbitRail Verify with an API key and a bounded batchSize value.
url: https://pr-1-f831df687d6c.thally.app/verify/configuration
---

# Configure verification batches

Configure OrbitRail Verify with an API key and a bounded batchSize value.

Pass `batchSize` when you need to tune how many verification items the client
groups at once:

```ts
const verifier = createVerifyClient({
  apiKey: process.env.ORBITRAIL_API_KEY!,
  batchSize: 50,
});
```

`batchSize` defaults to **50** and accepts integers from 1 through 500. Values
outside that range throw a `RangeError` during client creation.

| Option      | Required | Default | Description                               |
| ----------- | -------- | ------- | ----------------------------------------- |
| `apiKey`    | Yes      | —       | OrbitRail API key used to verify payloads |
| `batchSize` | No       | `50`    | Verification items grouped in one batch   |