---
title: "Batch create PredictionBatch"
method: POST
path: "/api/v3/prediction-batch:batch-create"
tags: ["Prediction Batch"]
---

# Batch create PredictionBatch

`POST /api/v3/prediction-batch:batch-create`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/prediction-batch:batch-create`
- Auth: HTTP bearer

Batch create PredictionBatch synchronously in one transaction. Maximum 25 items per request.

## Headers

- `EARLY-ACCESS` string

## Request body

- object
  - `items` PredictionBatchInput[], required
    - `configSchemaVersion` integer, required
    - `folderId` string, required
    - `jobConfigs` PredictionBatchJobConfigInput[], required
      - `config` PredictionBatchJobConfigInputConfig, required
      - `name` string, nullable
    - `model` string, required
    - `modelImplementationVersion` string, nullable
    - `name` string, required

## Response `201`

Created

- PredictionBatchBatchcreateResponse201
  - `items` PredictionBatch[], required
    - `__typename` string
    - `archiveReason` string, nullable
    - `archived` boolean
    - `createdAt` string, datetime
    - `creator` PrincipalRef
      - `__typename` string
      - `id` string, api_id
    - `folder` FolderRef
      - `__typename` string
      - `id` string, api_id
    - `id` string
    - `jobConfigs` PredictionBatchJobConfigsItems[]
    - `model` string
    - `modelImplementationVersion` string
    - `modelVersion` string, nullable
    - `modifiedAt` string, datetime
    - `predictionJobs` string, uri
    - `status` 'PENDING' | 'RUNNING' | 'COMPLETED' | 'FAILED'

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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