LLM Providers

Test a custom LLM provider endpoint

Changed on

Probes an OpenAI-compatible endpoint (Azure AI Foundry, LiteLLM, vLLM, gateways) with the given credential: normalizes common base-URL mistakes, calls GET /models, and returns the model ids the endpoint actually serves — on Azure these are the deployment names. Nothing is stored.

post/v1/llm-providers/test-connection

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

object required
api, string required
apiKey, string
modelIds, string[]

Response

Probe completed (ok=false carries a human hint).

LlmProviderTestConnectionResponse required
result, object required
verifications, object[]

Changes

    • breaking

      the response property result/hint became nullable for the status

    • breaking

      the response property result/normalizedApi became nullable for the status

    • breaking

      the response property result/status became nullable for the status

    6 more changes in this revision