---
title: "Rate An Answer"
method: PUT
path: "/teams/{team_id}/bots/{bot_id}/rate/{answer_id}"
---

# Rate An Answer

`PUT /teams/{team_id}/bots/{bot_id}/rate/{answer_id}`

## Request

- Base URL: `https://api.docsbot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.docsbot.ai/teams/{team_id}/bots/{bot_id}/rate/{answer_id}`
- Auth: none declared

## Path parameters

- `team_id` string, required
- `bot_id` string, required
- `answer_id` string, required

## Request body

- Rate
  - `rating` integer, required

## Response `200`

Successful Response

- union
  - boolean
  - Error
    - `error` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/docsbot/apis/docsbot-chat-api.md) · [All operations](https://skmtc.dev/docsbot/apis/docsbot-chat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/docsbot/apis/docsbot-chat-api/revisions/336b782b49d5?raw)
