LLM Providers

Test LLM provider connection

Tests a provider connection by making a simple API call. Returns success status and latency information.

post/api/v1/llm-providers/{name}/test

Request

Path parameters

namestring required

Provider name

Request body

promptstring

Optional test prompt (default is simple greeting)

modelstring

Optional model to test with

Example request

{
  "prompt": "Say hello in one word."
}

Response

Provider test result

successboolean
providerstring
latency_msnumber
responsestring

Model response (if successful)

errorstring

Error message (if failed)

Changes

No recorded changes to this operation across all 1 revision of this API.