---
title: "Test a draft LLM config + list its models (public API)"
method: POST
path: "/llm-credentials/probe"
tags: ["public", "llm-credentials"]
---

# Test a draft LLM config + list its models (public API)

`POST /llm-credentials/probe`

## Request body

- object
  - `provider` 'anthropic' | 'openai' | 'google' | 'azure' | 'mistral' | 'cohere' | 'amazon-bedrock' | 'google-vertex' | 'groq' | 'xai' | 'deepseek' | 'perplexity' | 'togetherai' | 'fireworks' | 'cerebras' | 'openrouter', required
  - `apiKey` string
  - `model` string
  - `baseUrl` string
  - `azureResourceName` string
  - `azureApiVersion` string
  - `azureApiProtocol` 'openai' | 'anthropic'

## Response `200`

OK

- object
  - `ok` boolean, required
  - `error` string
  - `azureApiProtocol` 'openai' | 'anthropic'
  - `models` string[], required

---

[API](https://skmtc.net/urlbox/apis/urlbox-public-api-spike.md) · [All operations](https://skmtc.net/urlbox/apis/urlbox-public-api-spike/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/urlbox/urlbox-public-api-spike/revisions/4510ae6afe8d/schema)
