# The templates closest to a description, with the words that matched

`POST /hosting/templates/suggest` · Rivier · hosting

The templates closest to a description, with the words that matched.

- Scope: hosting:read
- Mcp: rivier_site_template_suggest
- Graphql: Query.hostingTemplateSuggest
- Sdk: hosting.template.suggest
- Cli: hosting template suggest

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 2,
      "maxLength": 1000
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/hosting/templates/suggest' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "string"
}'
```
