{"product_id":"verify-openai-compatible-api-with-http-request-models","title":"Verify OpenAI-Compatible API with HTTP Request \u0026 Models","description":"\u003ch3\u003eInstantly verify your OpenAI-compatible API endpoint and confirm model availability\u003c\/h3\u003e\n\u003cp\u003eThis 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 \u003ccode\u003e\/health\u003c\/code\u003e route and the authenticated \u003ccode\u003e\/v1\/models\u003c\/code\u003e response.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on manual trigger\u003c\/strong\u003e so you can quickly validate changes before deploying or switching providers.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSets the target configuration\u003c\/strong\u003e by specifying the \u003cem\u003ebase URL\u003c\/em\u003e and the \u003cem\u003emodel ID\u003c\/em\u003e you want to verify.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks public health\u003c\/strong\u003e by calling the endpoint’s \u003ccode\u003e\/health\u003c\/code\u003e route \u003cem\u003ewithout credentials\u003c\/em\u003e to confirm the service responds.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks authenticated models\u003c\/strong\u003e by calling \u003ccode\u003e\/v1\/models\u003c\/code\u003e using \u003cstrong\u003eHTTP Bearer Auth\u003c\/strong\u003e with your provider’s API key.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a verification report\u003c\/strong\u003e including:\n    \u003cul\u003e\n      \u003cli\u003e\u003ccode\u003ehealthStatus\u003c\/code\u003e\u003c\/li\u003e\n      \u003cli\u003ethe returned model IDs\u003c\/li\u003e\n      \u003cli\u003e\n\u003ccode\u003emodelAvailable\u003c\/code\u003e (whether your requested model is present)\u003c\/li\u003e\n      \u003cli\u003e\n\u003ccode\u003everificationMessage\u003c\/code\u003e summarizing the outcome\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eBefore updating a SaaS integration, confirm the OpenAI-compatible endpoint is live and serving models for your key.\u003c\/li\u003e\n  \u003cli\u003eWhen onboarding a new provider (or switching base URLs), quickly validate that your required \u003cem\u003emodelToCheck\u003c\/em\u003e is available.\u003c\/li\u003e\n  \u003cli\u003eDiagnose outages by distinguishing between endpoint unreachability (\u003ccode\u003e\/health\u003c\/code\u003e) and missing permissions\/models (\u003ccode\u003e\/v1\/models\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003eExtend the workflow to monitor model availability—e.g., schedule it or notify a team when a model disappears.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes used:\u003c\/strong\u003e Manual Trigger, HTTP Request, Set, If, Code, Sticky Note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuthentication:\u003c\/strong\u003e HTTP Bearer Auth credential for the \u003ccode\u003e\/v1\/models\u003c\/code\u003e call.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutputs:\u003c\/strong\u003e health status, returned model IDs, and a clear verification message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDefault endpoint:\u003c\/strong\u003e The workflow mentions a default AIHub base URL (as provided in the source).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eRequirements:\u003c\/strong\u003e An n8n instance and an API key for the OpenAI-compatible endpoint being checked. Update \u003ccode\u003ebaseUrl\u003c\/code\u003e and \u003ccode\u003emodelToCheck\u003c\/code\u003e, attach your Bearer credential, run, and review \u003ccode\u003ehealthStatus\u003c\/code\u003e, \u003ccode\u003emodelAvailable\u003c\/code\u003e, and \u003ccode\u003everificationMessage\u003c\/code\u003e.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45865771860147,"sku":"N8N-18346","price":58.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/DckMJhd8dhg93cckvlDzL_DXaFmrf0.png?v=1787044921","url":"https:\/\/buyflowscripts.com\/products\/verify-openai-compatible-api-with-http-request-models","provider":"N8N Commerce","version":"1.0","type":"link"}