---
title: "Function that recommends thresholds given an array of prompts"
method: GET
path: "/get_thresholds"
tags: ["thresholds"]
---

# Function that recommends thresholds given an array of prompts

`GET /get_thresholds`

Given an input array of prompts, returns thresholds for a selected model.

## Query parameters

- `prompts` string, required

## Headers

- `model_id` string

## Response `200`

successful threshold display

## Other responses

- `404` — no threshold display

## Changes

- **2024-10-10** `93cc0678fef7` — 1 info
  - endpoint added
- **2024-08-09** `c9a4b3a38ef7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ibm/apis/responsible-prompt-recommendation-api/changes/get_thresholds/get.md)

---

[API](https://skmtc.dev/ibm/apis/responsible-prompt-recommendation-api.md) · [All operations](https://skmtc.dev/ibm/apis/responsible-prompt-recommendation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibm/responsible-prompt-recommendation-api/revisions/289f88c3eca1/schema)
