---
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

---

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