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

# Create PredictionBatch

`POST /api/v3/prediction-batch`

## Request

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

Create PredictionBatch.

## Headers

- `EARLY-ACCESS` string

## Request body

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

- PredictionBatch: Represents an execution of a Model Hub model against multiple data inputs (resulting in multiple Predictions). A PredictionBatch tracks the input configuration, execution status, and results. Each batch is associated with a specific model and version, enabling version tracking. Common use cases include protein structure prediction, property prediction, and sequence generation.
  - `__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/3873a10bf7b8?raw)
