---
title: "Predict Batch"
method: POST
path: "/api/surrogate/{model_id}/predict-batch"
tags: ["surrogate"]
---

# Predict Batch

`POST /api/surrogate/{model_id}/predict-batch`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/surrogate/{model_id}/predict-batch`
- Auth: none declared

Batch surrogate inference.

## Path parameters

- `model_id` string, required

## Request body

- PredictBatchRequest
  - `inputs` object[], required: List of input sets

## Response `200`

Successful Response

- SurrogateResponse
  - `success` boolean, required
  - `data` object, nullable
  - `error` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
