---
title: "Create a batch run"
method: POST
path: "/api/v1/novasynth/batch-runs"
tags: ["NovaSynth"]
---

# Create a batch run

`POST /api/v1/novasynth/batch-runs`

## Request

- Base URL: `https://dev.noveum.ai`
- URL: `https://dev.noveum.ai/api/v1/novasynth/batch-runs`
- Auth: API key in cookie `apiKeyCookie` and HTTP bearer

Creates a new synthetic batch run from a set of persona/scenario pairs and enqueues the runs.

## Query parameters

- `projectId` string, required

## Request body

- object
  - `name` string, required
  - `description` string
  - `endpointId` string, required
  - `pairs` object[]
    - `personaId` string, required
    - `scenarioId` string, required
  - `personaIds` string[]
  - `scenarioIds` string[]
  - `mode` 'voice' | 'text'
  - `testType` string
  - `direction` 'outbound' | 'inbound'
  - `profileData` object
  - `llmProvider` 'google' | 'openai' | 'anthropic' | 'groq'
  - `sttProvider` 'deepgram' | 'groq' | 'openai' | 'assemblyai'
  - `ttsProvider` 'elevenlabs' | 'openai' | 'cartesia'
  - `projectId` string
  - `concurrencyLimit` integer
  - `maxCallDurationS` integer
  - `callDelayMs` integer
  - `retryFailedRuns` boolean
  - `testProfileId` string
  - `selectedMetrics` string[]
  - `scorerIds` string[]

## Response `200`

Success

- object

## Other responses

- `201`: Created
- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/noveum/apis/noveum-api.md) · [All operations](https://skmtc.dev/noveum/apis/noveum-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noveum/apis/noveum-api/revisions/1745e27f38d0?raw)
