Discover models from endpoint

Discover available models from an OpenAI-compatible endpoint using a provided API key and base URL.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
apiKeystringRequired>=1 character
baseUrlstringRequired>=1 character

Response

Models discovered
modelslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error