---
title: "List models for a provider that has not been saved yet"
method: POST
path: "/ai/probe-models"
tags: ["AI"]
---

# List models for a provider that has not been saved yet

`POST /ai/probe-models`

Lets the add-provider form fill its model picker before the provider exists, so nobody has to go and look up model names by hand.

## Request body

- object
  - `providerType` string
  - `baseUrl` string
  - `apiKey` string
  - `providerId` integer

## Response `200`

Model ids, possibly a curated fallback list.

## Other responses

- `400` — Unknown provider type.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
