Validate LLM provider credentials

Validate LLM provider credentials.

Path Params
string
required

The ID of the LLM Credentials to use.

Body Params

Request schema for validating LLM provider credentials.

Two validation modes:

  1. Credentials-only (model_name not provided): Lists available models.
  2. Model validation (model_name provided): Validates with minimal inference.

string
enum
required

The LLM provider to validate against (determines which API to call).

Optional model name. If provided, validates the model with minimal inference.

boolean
Defaults to false

Whether to validate as an embedding model (uses embeddings API).

Responses

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
application/json