Skip to content
HALOWERK

Denkwerk

openai compat test

Sends up to nine short live probes to the base_url you give, as the OpenAI SDK would (GET /models; POST /chat/completions plain, streaming with stream_options.include_usage, forced tool call, response_format json_object and json_schema; a malformed body, an unknown model and a request without key) and checks each answer against the OpenAI Chat Completions format: object types, ids, choices, roles, finish_reason, usage arithmetic, SSE chunks and the [DONE] marker, tool_calls with JSON-string.

POST https://denk.halowerk.com/v1/openai-compat-test

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
base_urlstringYesBase URL as passed to an OpenAI SDK, e.g. https://llm.example.com/v1; /models and /chat/completions are appended.
api_keystringNoOptional bearer key, sent only to base_url and never stored or returned.
modelstringNoModel id to probe; default is the first id returned by /models.
checksarrayNoSubset of checks; default all: models, chat, stream, tools, json_object, json_schema, error_format, unknown_model, auth.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "base_url"
  ],
  "properties": {
    "base_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 500,
      "description": "Base URL as passed to an OpenAI SDK, e.g. https://llm.example.com/v1; /models and /chat/completions are appended."
    },
    "api_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[\\x21-\\x7E]+$",
      "description": "Optional bearer key, sent only to base_url and never stored or returned."
    },
    "model": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Model id to probe; default is the first id returned by /models."
    },
    "checks": {
      "type": "array",
      "minItems": 1,
      "maxItems": 9,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "models",
          "chat",
          "stream",
          "tools",
          "json_object",
          "json_schema",
          "error_format",
          "unknown_model",
          "auth"
        ]
      },
      "description": "Subset of checks; default all: models, chat, stream, tools, json_object, json_schema, error_format, unknown_model, auth."
    }
  }
}

Open original schema

Published input example

{
  "base_url": "https://api.openai.com/v1",
  "checks": [
    "auth"
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’