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
  • URL: https://api.openworklabs.com/v1/llm-providers/test-connection
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

apistring required
apiKeystring
modelIdsstring[]

Response

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

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API