---
title: "Obtain responsible prompt recommendations"
method: GET
path: "/recommend"
tags: ["recommend"]
---

# Obtain responsible prompt recommendations

`GET /recommend`

Given an input prompt with one or more sentences, returns up to five recommendations of sentences and its respective positive value representations to be added at the end of the input prompt, and up to five recommendations for removal of potentially harmful sentences in the given input prompt.

## Query parameters

- `prompt` string, required

## Headers

- `add_lower_threshold` string
- `add_upper_threshold` string
- `remove_lower_threshold` string
- `remove_upper_threshold` string
- `model_id` string

## Response `200`

successful recommendation

## Other responses

- `404` — invalid prompt

---

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