Validate a custom model endpoint
validate_custom_modelRead-only
Validate the HTTPS URL and adapter configuration for an external custom model. For OpenAI-compatible mode provide baseUrl; for custom REST use endpoint. Set probe=true only when an actual minimal request to the external provider is intended. Returns validation or probe status; credentials are transient and never stored or echoed. Requires active trial or Pro; does not perform a user prompt Send.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional external model identifier for a test probe. | |
| probe | No | True sends a minimal external request to test the model; false only checks URL safety. | |
| apiKey | No | Optional transient API credential, never stored or echoed. | |
| baseUrl | No | Public HTTPS base URL for openai-compatible mode. | |
| authMode | No | Custom REST authentication method: bearer, API-key header, or none. | bearer |
| endpoint | No | Full public HTTPS URL for custom-rest mode. | |
| adapterMode | Yes | Adapter: openai-compatible or custom-rest. | |
| promptField | No | JSON request field for test prompt content on custom REST endpoints. | prompt |
| systemField | No | JSON request field for system instructions on custom REST endpoints. | system |
| apiKeyHeader | No | Header name when using api-key-header authentication. | x-api-key |
| responseTextPath | No | JSON response field or path holding the generated text. |