Verify OpenAI-Compatible API with HTTP Request & Models
Verify OpenAI-Compatible API with HTTP Request & Models
Regular price
£58.99
Regular price
£58.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Verify OpenAI-Compatible API with HTTP Request & Models
Regular price
£58.99
Regular price
£58.99
Sale price
Unit price
/
per
Instantly verify your OpenAI-compatible API endpoint and confirm model availability
This n8n workflow performs a manual preflight check to ensure your OpenAI-compatible base URL is reachable and that a specific model ID is available for your API key—by testing the public /health route and the authenticated /v1/models response.
What this workflow does
- Runs on manual trigger so you can quickly validate changes before deploying or switching providers.
- Sets the target configuration by specifying the base URL and the model ID you want to verify.
-
Checks public health by calling the endpoint’s
/healthroute without credentials to confirm the service responds. -
Checks authenticated models by calling
/v1/modelsusing HTTP Bearer Auth with your provider’s API key. -
Generates a verification report including:
healthStatus- the returned model IDs
-
modelAvailable(whether your requested model is present) -
verificationMessagesummarizing the outcome
Use cases
- Before updating a SaaS integration, confirm the OpenAI-compatible endpoint is live and serving models for your key.
- When onboarding a new provider (or switching base URLs), quickly validate that your required modelToCheck is available.
- Diagnose outages by distinguishing between endpoint unreachability (
/health) and missing permissions/models (/v1/models). - Extend the workflow to monitor model availability—e.g., schedule it or notify a team when a model disappears.
Technical details
- Nodes used: Manual Trigger, HTTP Request, Set, If, Code, Sticky Note.
-
Authentication: HTTP Bearer Auth credential for the
/v1/modelscall. - Outputs: health status, returned model IDs, and a clear verification message.
- Default endpoint: The workflow mentions a default AIHub base URL (as provided in the source).
Requirements: An n8n instance and an API key for the OpenAI-compatible endpoint being checked. Update baseUrl and modelToCheck, attach your Bearer credential, run, and review healthStatus, modelAvailable, and verificationMessage.
