---
title: "Start an AI prediction for a simulation based on an AI model"
method: POST
path: "/ai/predictions"
tags: ["AI Models"]
---

# Start an AI prediction for a simulation based on an AI model

`POST /ai/predictions`

Starts the prediction and returns immediately, without waiting for the results. Poll
GET /ai/predictions/{predictionId} for the status and the results.

## Request body

- CreateAiPredictionRequest
  - `aiModelId` string, uuid, required
  - `projectId` string, required
  - `simulationId` string, uuid, required

## Response `202`

Prediction successfully started

- CreateAsyncAiPredictionResponse
  - `predictionId` string, uuid
  - `status` string — RUNNING - Prediction is in progress, poll GET /ai/predictions/{predictionId} for the results

## Other responses

- `403` — Insufficient permissions
- `404` — Element was not found

---

[API](https://skmtc.net/simscale/apis/simscale-api.md) · [All operations](https://skmtc.net/simscale/apis/simscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/simscale/simscale-api/revisions/53223abaceb7/schema)
