---
title: "POST /api/v1/model-providers/instances/validate"
method: POST
path: "/api/v1/model-providers/instances/validate"
tags: ["Model Providers"]
---

# POST /api/v1/model-providers/instances/validate

`POST /api/v1/model-providers/instances/validate`

## Request body

- object
  - `apiKey` string
  - `baseUrl` string
  - `instanceKey` string, required

## Response `200`

Validate model provider instance credentials

- object
  - `valid` boolean, required
  - `models` string[]
  - `error` string

---

[API](https://skmtc.net/nexu-io/apis/nexu-controller-api.md) · [All operations](https://skmtc.net/nexu-io/apis/nexu-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nexu-io/nexu-controller-api/versions/ee3237405da6/schema)
