---
title: "Explain"
method: POST
path: "/api/explain"
tags: ["inference"]
---

# Explain

`POST /api/explain`

## Request

- Base URL: `https://api.alpha-grid.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alpha-grid.ai/api/explain`
- Auth: HTTP bearer

## Request body `multipart/form-data`

- BodyExplainApiExplainPost
  - `file` string, binary, required

## Response `200`

Successful Response

- ExplainResponse
  - `heatmap` string, required
  - `mime_type` string, required
  - `prediction` PredictionItem, required
    - `index` integer, required
    - `label` string, required
    - `probability` number, required
  - `probabilities` object, required
  - `image` ExplainImageSize, required
    - `width` integer, required
    - `height` integer, required
  - `is_dicom` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev.md) - [All operations](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/llms.txt) - [OpenAPI document](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/revisions/13bab0bdd466?raw)
