---
title: "Test Settings"
method: POST
path: "/api/v1/admin/ai-assistant/settings/test"
tags: ["admin-ai-assistant"]
---

# Test Settings

`POST /api/v1/admin/ai-assistant/settings/test`

Ping the configured model with a short prompt to verify the key works.

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- LLMTestRequest — Probe the current configuration by asking the model one short prompt.
  - `prompt` string

## Response `200`

Successful Response

- LLMTestResponse
  - `ok` boolean, required
  - `answer` string, nullable
  - `error` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ninjavan/apis/salesforce-sales-cloud-replacement.md) · [All operations](https://skmtc.net/ninjavan/apis/salesforce-sales-cloud-replacement/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjavan/salesforce-sales-cloud-replacement/versions/fd3a41a6260b/schema)
