---
title: "Cancel Predict"
method: POST
path: "/predict/{session_id}/cancel"
tags: ["predict"]
---

# Cancel Predict

`POST /predict/{session_id}/cancel`

Cancel a running predict job.

## Path parameters

- `session_id` string, required

## Response `200`

Cancellation requested.

- unknown

## Other responses

- `400` — Job not in a cancellable state.
- `404` — Session not found
- `409` — Session is not a predict session — it was created via /pipeline or /pipeline/upload-usd. Use POST /pipeline/{session_id}/cancel instead.
- `422` — Validation Error

## Changes

- **2026-05-27** `bef81aa36f74` — 1 info
  - endpoint added
- **2026-04-29** `0ba9e71b823c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nvidia/apis/physics-agent-service/changes/predict/:session_id/cancel/post.md)

---

[API](https://skmtc.dev/nvidia/apis/physics-agent-service.md) · [All operations](https://skmtc.dev/nvidia/apis/physics-agent-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nvidia/physics-agent-service/revisions/47f3bc191c91/schema)
