---
title: "Get Safety Settings"
method: GET
path: "/knowledge-bases/customization/{kb_id}/safety"
tags: ["Knowledge Base Customizations"]
---

# Get Safety Settings

`GET /knowledge-bases/customization/{kb_id}/safety`

## Request

- Base URL: `https://api.dante-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dante-ai.com/knowledge-bases/customization/{kb_id}/safety`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2
    - Password
    - Token URL: `auth/jwt/login`
- TypeScript: <https://skmtc.dev/dante-ai/apis/dante-ai-api/docs/knowledge-bases/customization/:kb_id/safety/get.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint to get Safety settings.

## Path parameters

- `kb_id` string, uuid, required

## Response `200`

Successful Response

- SafetySettingsResponse
  - `activate_chatbot` boolean, required
  - `max_number_of_credits` integer
  - `max_messages_in_conversations` integer, required
  - `number_of_messages_per_minutes` integer, required
  - `number_of_minutes` integer, required
  - `public` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dante-ai/apis/dante-ai-api.md) - [All operations](https://skmtc.dev/dante-ai/apis/dante-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dante-ai/apis/dante-ai-api/revisions/38b6c9a4246d?raw)
