---
title: "Get Shap Values Controller"
method: POST
path: "/modeling/propensity/get_shap_values"
tags: ["modeling"]
---

# Get Shap Values Controller

`POST /modeling/propensity/get_shap_values`

## Request body

- GetShapValuesPayload
  - `model_id` integer, required — The ID of the model to use for getting shap values
  - `prediction_id` integer, nullable — The ID of the prediction to use for getting shap values
  - `feature_name` string, nullable — The name of the feature to get shap values for
  - `pagination` Pagination, required
    - `start` integer, required — The start index
    - `limit` integer, required — The limit

## Response `200`

Successful Response

- union
  - object
  - unknown[]
    - unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/akk/apis/fastapi.md) · [All operations](https://skmtc.net/akk/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akk/fastapi/versions/6662a407c637/schema)
