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

# Predict

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

## 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`
- Auth: none declared

Single-point surrogate inference.

## Path parameters

- `model_id` string, required

## Request body

- PredictRequest
  - `inputs` object, required: Input parameter values keyed by name

## 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)
