---
title: "Check Key"
method: POST
path: "/api/v1/ai/connection/models"
tags: ["ai"]
---

# Check Key

`POST /api/v1/ai/connection/models`

## Request

- Base URL: `https://teraads.co` (the document declares no server; this is the origin it was published from)
- URL: `https://teraads.co/api/v1/ai/connection/models`
- Auth: none declared

Check a key with its provider and list its models. Nothing is stored.

## Query parameters

- `brand_id` string, required

## Request body

- ModelsRequest
  - `provider` string, required
  - `key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teraads/apis/tera-ads-api.md) · [All operations](https://skmtc.dev/teraads/apis/tera-ads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/teraads/apis/tera-ads-api/revisions/fb2526b5cf3c?raw)
