QuickISO model endpoint standard
Version 1.0. Last updated 2026-11-12. Identifier quickiso-model-endpoint/1, decision D-250.
This standard describes the one HTTPS interface through which QuickISO calls a language model that your organization runs or chose itself. QuickISO speaks only this shape. Your server, or a gateway in front of it, adapts to the standard; QuickISO does not adapt to each server. MUST, SHOULD and MAY are used as in RFC 2119.
1.Who it is for, and the rule
An organization for which QuickISO has enabled Your own model connects one endpoint and one model under Integrations, Your own model. QuickISO then uses it for every AI feature that runs on the organization's model: the trust page assistant wherever model answers are switched on, questionnaire drafting, question rendering and the assessment assistant.
An endpoint that has not passed the connection check (section 11) is never used. Anything that speaks another shape goes behind a gateway, such as LiteLLM or a reverse proxy, that exposes this one: other paths, other authentication headers, Azure deployment URLs with api-version, servers that offer only the Responses API, and TGI's own response_format.
2.Checklist
- The base URL is
https://HOSTorhttps://HOST/PREFIXon port 443, with a certificate from a public authority and the full chain. - Every DNS answer for HOST is a public address, with at least one IPv4 address.
POST {base}/v1/chat/completionsanswers 401 or 403 without the key or with a wrong one.GET {base}/v1/modelslists the model id exactly.- The server accepts
response_formatof typejson_schemawithstrict: true, and enforces the schema. - The server treats
max_tokensas an upper bound and reportslengthwhen it stops there. - Every answer carries
usage.prompt_tokensandusage.completion_tokens. - The context window is at least 32,768 tokens, and a prompt that does not fit is refused, never cut.
- No redirects, no compression, no streaming, and no request is closed before 130 seconds.
- The server SHOULD keep the model loaded and SHOULD NOT log prompts.
3.Address and DNS
- Enter the base URL as you would give it to an OpenAI client. A trailing
/and then a trailing/v1are removed, and QuickISO calls exactly{base}/v1/modelsand{base}/v1/chat/completions. - Scheme https, port 443 only. An explicit
:443is accepted and dropped; any other port is refused. - No user name or password, query, fragment, percent sign, backslash, space or control character.
- HOST is a DNS name of at least two labels of letters, digits and hyphens, at most 253 characters, without a trailing dot; an international name in its xn-- form. Never an IP address, in any spelling.
- HOST is never under localhost, local, internal, home.arpa, lan, intranet, corp, test, example, invalid, onion, alt or arpa, never QuickISO's own domain, and never a model provider that has its own integration page.
- PREFIX has at most four segments of letters, digits, dots, dashes, underscores and tildes, and no segment starts with a dot. The normalized address is at most 200 characters.
- Every A and AAAA answer MUST be a public unicast address, with at least one A record. QuickISO connects over IPv4 to the address it checked and never resolves the name again for that connection.
The address is stored and shown in plain text to the people who manage the connection, so it MUST NOT carry a secret.
4.TLS and HTTP
- TLS 1.2 or 1.3, with a certificate valid for HOST that chains to a root in the Mozilla store Node.js bundles. The server sends the full chain. No private authority and no client certificate.
- HTTP/1.1. QuickISO opens one connection per request and does not reuse it.
- No redirects: any 3xx fails, and its Location is never contacted.
- No compression: QuickISO sends
accept-encoding: identity, and any othercontent-encodingfails unread. - No streaming: QuickISO sends
stream: false, andtext/event-streamfails. - The endpoint MUST accept request bodies up to 256 KiB and MUST NOT close a request before 130 seconds. Raise your proxy's read timeout: nginx closes after 60 seconds by default.
- Every request body is sent with a
content-lengthheader, never withtransfer-encoding: chunked, ascurl -dsends it in the self-test of section 11. - QuickISO publishes no source addresses in version 1, so the bearer key is the access control.
5.Authentication
Authorization: Bearer KEY, where KEY is 16 to 400 printable ASCII characters created for QuickISO alone.POST {base}/v1/chat/completionsMUST answer 401 or 403 when the header is missing or the key is wrong.GET {base}/v1/modelsMAY be public.- QuickISO sends the key only in that header and only to HOST: never in an address, and never on the two probes of the connection check that test the refusal. It sends no cookies and ignores Set-Cookie.
To rotate the key, create a new one on your server, then replace the connection in QuickISO with the same address and the new key. The old key can be revoked once the check passed.
6.The requests
Headers QuickISO sends
| Header | Value |
|---|---|
host | HOST |
authorization | Bearer KEY; absent, or a deliberately wrong key, only on the two refusal probes |
accept | application/json |
accept-encoding | identity |
content-type | application/json, on POST |
user-agent | QuickISO-ModelClient/1 |
quickiso-model-standard | 1 |
x-request-id | a random UUID, on connection check requests only |
The endpoint MUST NOT require any other header and MUST ignore headers it does not know.
GET {base}/v1/models
Answer 200 with application/json (a charset is allowed) and a body of at most 512 KiB. QuickISO reads data[].id only, and the configured model id MUST appear exactly, case sensitive. Model ids match ^[A-Za-z0-9][A-Za-z0-9._:/@+-]{0,127}$.
{"object":"list","data":[{"id":"llama3.1:8b","object":"model"},{"id":"meta-llama/Llama-3.1-8B-Instruct","object":"model"}]}POST {base}/v1/chat/completions
QuickISO sends exactly these fields and no others: no max_completion_tokens, n, top_p, seed, stop, user, tools, tool_choice, functions, logprobs, store, metadata, images or files.
{"model":"llama3.1:8b","messages":[{"role":"system","content":"QuickISO instructions. Reply with exactly one JSON value that matches this JSON schema, and nothing else: {...}"},{"role":"user","content":"Data and question"}],"response_format":{"type":"json_schema","json_schema":{"name":"trust_page_answer","strict":true,"schema":{"type":"object","additionalProperties":false,"required":["outcome","sentences"],"properties":{"outcome":{"type":"string","enum":["answered","not_published"]},"sentences":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["text","citations"],"properties":{"text":{"type":"string"},"citations":{"type":"array","items":{"type":"string"}}}}}}}}},"max_tokens":300,"temperature":0,"stream":false}- Exactly two messages, system then user, each a UTF-8 string, often in Polish. The system message ends with one fixed sentence that repeats the schema, so a weaker model sees the shape too.
- The output name matches
^[a-z][a-z_]{0,63}$. Version 1 usestrust_page_answer(max_tokens 300),assessment_answers(3,000),question_translations(2,000) and names starting withconformance_in the connection check. max_tokensis from 1 to 8,000,temperatureis 0 andstreamis false.- The endpoint MUST accept every field above, enforce the schema (SHOULD by constrained decoding), treat max_tokens as an upper bound on generated tokens with reasoning tokens included, accept a system message, offer at least 32,768 tokens of context, and refuse with 400 or 413 a request that does not fit.
The schema subset
typeobject, array or string;properties;requirednaming every property;additionalProperties: falseon every object;items;enumof strings.- Nesting depth at most 6, counting the root as 1.
- No $ref, anyOf, oneOf, allOf, pattern, format or bounds. Anything more needs version 2.
A machine readable JSON Schema of the requests and answers is published at /standards/model-endpoint-v1.schema.json. QuickISO's own client is tested against it, so an answer its response schema refuses is one QuickISO refuses too. What a JSON Schema cannot say stays in this text: content must parse as one JSON value matching the request's own schema, and prompt_tokens must reach the truncation floor of section 7.
7.The response
- 200 with
application/json, a body of at most 256 KiB, no content-encoding, not an event stream. - Exactly one choice.
contentis a string of at most 128 KiB holding exactly one JSON value that matches the schema, optionally surrounded by whitespace: no code fence, no prose, no thinking or reasoning text. Reasoning MAY come in a separate field, which is ignored. refusalabsent, null or empty means none; a non-empty string means the model refused.tool_callsis absent or empty.finish_reasonstopis an answer;lengthis cut short and invalid;content_filteris a refusal; anything else is invalid.usage.prompt_tokensandusage.completion_tokensare required integers, at most 262,144 and 65,536, and prompt_tokens counts the whole prompt as the model read it. A prompt_tokens below one token per eight characters of the two messages is read as silent truncation, and the answer is discarded.id,created,model,system_fingerprint,timingsand every other field are ignored and never stored.
{"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"{\"outcome\":\"answered\",\"sentences\":[{\"text\":\"The page states that backups are encrypted.\",\"citations\":[\"P1\"]}]}","refusal":null},"finish_reason":"stop"}],"usage":{"prompt_tokens":1200,"completion_tokens":30}}Answers QuickISO refuses
- Content in a code fence, or with a sentence before or after the JSON.
- Two choices, or none.
- No usage, a usage without prompt_tokens, or a count above 262,144 prompt or 65,536 completion tokens, which no request of QuickISO's can produce.
- finish_reason length, which means the answer was cut.
- A refusal field with text, or tool calls.
8.Errors and status codes
| Status | What QuickISO reads |
|---|---|
| 401, 403 | the key was refused |
| 404 | the route or the model is unknown |
| 400, 413, 422 | the request was refused, including context overflow and missing structured output |
| 429 | rate limited; Retry-After is ignored in version 1 |
| 500, 502, 503, 504 | unavailable |
| any 3xx, anything else | not conformant |
QuickISO reads the status code only. The body is optional and is never parsed for meaning, shown, stored, logged or passed to a model. This shape is recommended:
{"error":{"message":"The model is not loaded","type":"unavailable","code":null}}9.Time, size and concurrency
| What | Limit |
|---|---|
| A trust page answer | 20 s, after which visitors get the quotes alone |
| An assessment assistant question | 85 s in all |
| A drafting call | 120 s |
| A model list read | 15 s, 8 s inside the connection check |
| The whole connection check | 85 s; each step has its own limit (section 11) |
| Request body | 256 KiB |
| Chat answer | 256 KiB, content 128 KiB |
| Model list | 512 KiB |
| Context | at least 32,768 tokens; refuse, never truncate |
| Connections to one host | at most 4 at a time |
Expect bursts of four requests and answer 429 when busy. QuickISO may retry after a 429 or a 5xx, so the endpoint keeps no state between requests. Drafting on your endpoint sends four questions a call and asks for at most 3,000 tokens.
10.Data and duties
- For the trust page, the endpoint receives QuickISO's fixed instructions, the page's published passages and the visitor's question, neutralized and redacted.
- For assessments, it receives approved records, minimized and redacted, and the customer's questions.
- In the connection check, it receives synthetic text only.
- It never receives an account, visitor, network or organization identifier.
- The organization operates the endpoint, or has it operated for it, and decides where it runs, what it logs and how long it keeps it. It answers for its contract with its host.
- Recommended: no prompt logging, a dedicated key rotated at least yearly, rate limits on your own side, and a CAA record for HOST.
- The model id is sent with every trust page answer to the visitor's browser, in the answer's data and in the page source, though the AI label itself says only "AI summary". Use an id you are content to make public.
QuickISO does not certify, audit or endorse an organization's model or its setup. Passing the connection check means the endpoint answers in the shape this standard defines, nothing more.
11.The connection check
The connection check is the only arbiter of conformance. It runs when the connection is saved, when the model changes and on every Test connection, within 85 seconds and with at most seven requests, synthetic text only. The first failed required step ends it. The key is sent only from step 5 on, after both refusal probes passed. Each request carries an x-request-id that the report shows, so you can find it in your own logs. A connection is stored only after every required step passed; a later failure of a step that is not transient stops QuickISO from using the endpoint until a check passes again. A transient failure (dns_unavailable, timeout, relay_busy, relay_refused, connect_failed, unavailable, rate_limited, budget_exhausted) never lifts that stop: only a pass does. A model change whose check fails changes nothing: the stored model, its report and whether it is in use stay as they were, since only a check of the stored model decides about it.
| Step | Check | What is sent | Time limit | Passes when |
|---|---|---|---|---|
| 1 | address | nothing, checked in QuickISO | none | the address meets section 3 |
| 2 | reach | the request of step 3 | that of step 3 | a TCP and TLS connection to the checked address |
| 3 | auth_required | a chat request without a key and with no messages | 6 s | 401 or 403 |
| 4 | auth_checked | the same with a wrong key | 6 s | 401 or 403 |
| 5 | models | GET /v1/models with the key | 8 s | the model id is listed exactly |
| 6 | structured | a short json_schema request, max_tokens 64 | 15 s | a valid answer that echoes a check text |
| 7 | max_tokens | a long answer asked for, max_tokens 16 | 8 s | the server stops at the limit |
| 8 | long_context | a drafting prompt of about 50,000 characters, max_tokens 400 | 60 s | the model finds a check word at the start and cites its record |
| 9 | trust_answer | a real trust page prompt, max_tokens 300 | 20 s, run only with 20 s left | advisory: a checked answer within 12 s |
No step gets more than what is left of the 85 seconds, and a required step with less than its minimum left fails with budget_exhausted.
What each code means and how to fix it
address_not_public
The host name does not resolve to public internet addresses only, with at least one IPv4 address. Check the DNS records of the host.
dns_unavailable
The name servers of the host did not answer in time, or answered with an error. This is transient and blocks nothing: try again, and if it keeps failing, check the DNS of the host.
relay_busy
QuickISO's outbound connections were busy. Try again in a minute.
relay_refused
QuickISO's outbound path refused the connection. This is on QuickISO's side; try again later or contact support.
connect_failed
Nothing answered on port 443 of the host. Check that the server is running and reachable from the internet.
tls_untrusted
The certificate is not signed by a publicly trusted authority, or the server does not send the full chain.
tls_name_mismatch
The certificate does not name this host.
tls_expired
The certificate has expired.
tls_version
The server does not offer TLS 1.2 or 1.3.
tls_failed
The TLS connection failed. Check the server's TLS configuration.
timeout
The server did not answer within this step's time limit. Each step has its own (the long prompt of step 8 has 60 seconds; the table above lists them). Check that the model is loaded and fast enough, or try again when the server is less busy.
auth_not_enforced
Your endpoint answered a chat request without a key. Require a bearer key for /v1/chat/completions.
route_missing
There is no /v1/chat/completions under this address. Check the base URL.
redirected
The server answered with a redirect. QuickISO never follows redirects; use the final address.
unexpected_status
The server answered with a status the standard does not allow here.
wrong_key_accepted
Your endpoint accepted a wrong key. It must refuse any key but the one you configured.
key_refused
The server refused the key you entered.
models_not_found
There is no /v1/models under this address, which usually means the base URL is wrong.
compressed
The server compressed its answer. Turn compression off for QuickISO, which asks for identity encoding.
not_json
The answer was not JSON with content type application/json.
too_large
The answer was larger than the standard allows.
models_malformed
The model list is not in the shape the standard describes.
model_not_listed
Your server does not list this model id. Use one of the ids it lists, exactly as written.
request_rejected
Your server refused response_format of type json_schema. Enable structured output, or put a gateway in front that accepts it.
model_not_found
Your server does not know this model.
rate_limited
Your server said it was busy (429). Try again later, or raise its limits for QuickISO.
unavailable
Your server answered with a server error (5xx). Try again later.
streamed
The server streamed its answer. QuickISO sends stream false and needs one JSON answer.
choices
The answer must hold exactly one choice.
refused
The model refused to answer the test prompt.
tool_calls
The model answered with tool calls. QuickISO sends no tools and needs a plain answer.
finish_reason_length
The model stopped at the token limit before finishing the answer.
finish_reason_other
The answer ended for a reason other than stop.
fenced_or_prose
The content was not exactly one JSON value: it had prose, a code fence or reasoning text around it.
schema_mismatch
The content did not match the JSON schema QuickISO asked for. Enable strict structured output on your server.
echo_wrong
The model did not repeat the check text it was asked to repeat.
usage_missing
The answer had no usage with prompt_tokens and completion_tokens as whole numbers, or one larger than the standard allows (262,144 prompt tokens and 65,536 completion tokens).
utf8_mangled
The Polish letters came back changed. Make sure your server keeps UTF-8 text intact.
items_wrong
The model did not follow the test instruction exactly. Weak models give weaker answers.
max_tokens_ignored
Your server ignored max_tokens. Pass the field through unchanged, or fix the gateway that drops it.
context_rejected
Your server refused a long prompt. Set a context window of at least 32,768 tokens.
context_truncated
The model did not see the start of a long prompt, so your server cut it. Set a context window of at least 32,768 tokens (for Ollama, OLLAMA_CONTEXT_LENGTH=32768).
context_uncited
The model found the check word in a long prompt but did not cite the record it came from.
slow_for_trust_page
A trust page answer took more than 12 seconds. Visitors get quotes only when an answer takes more than 20.
too_slow_for_trust_page
A trust page answer took 20 seconds or more, so visitors would get quotes only.
trust_schema_mismatch
The trust page test answer did not match its JSON schema.
trust_checks_refused
The trust page test answer did not pass QuickISO's checks, so a visitor would get the quotes alone.
trust_not_measured
The trust page answer was not measured in this check.
budget_exhausted
The check ran out of time before this step. Try again when the server is less busy.
not_https
The address must start with https://.
port
Use port 443 only: leave the port out, or write :443.
credentials
Remove the user name and password from the address.
query_or_fragment
Remove everything after ? or # from the address.
encoded_or_control
The address cannot contain spaces, percent signs, backslashes or control characters.
ip_literal
Use a host name, not an IP address.
single_label
Use a full host name with a domain, such as llm.example.com.
not_a_name
The host name is not valid. Use letters, digits and hyphens, with no trailing dot.
reserved_name
That host name is reserved for private or local networks and cannot be reached from QuickISO.
quickiso_domain
An address of QuickISO itself cannot be a model endpoint.
listed_provider
That host belongs to a model provider that has its own integration page. Connect it there.
path
The path after the host may have at most four segments of letters, digits, dots, dashes, underscores and tildes.
too_long
The address is too long. Keep it under 200 characters.
Self-test with curl
These requests are steps 3 to 7 of the check. Set BASE without the trailing /v1, MODEL and KEY first. Steps 3 and 4 must answer 401 or 403.
BASE=https://llm.example.com
MODEL=llama3.1:8b
H='-H content-type:application/json -H accept-encoding:identity -H quickiso-model-standard:1'
# 3 and 4: expect 401 or 403
curl -s -o /dev/null -w '%{http_code}\n' $H -d "{\"model\":\"$MODEL\",\"messages\":[]}" "$BASE/v1/chat/completions"
curl -s -o /dev/null -w '%{http_code}\n' $H -H 'authorization: Bearer qmes-invalid-test' -d "{\"model\":\"$MODEL\",\"messages\":[]}" "$BASE/v1/chat/completions"
# 5: the model id must be listed
curl -s -H "authorization: Bearer $KEY" "$BASE/v1/models"
# 6: one JSON value matching the schema, finish_reason stop, usage present
curl -s $H -H "authorization: Bearer $KEY" "$BASE/v1/chat/completions" -d "{\"model\":\"$MODEL\",\"messages\":[{\"role\":\"system\",\"content\":\"Follow the instruction exactly.\"},{\"role\":\"user\",\"content\":\"Set status to ready, echo to the exact text abcdefgh, and items to red, green, blue.\"}],\"response_format\":{\"type\":\"json_schema\",\"json_schema\":{\"name\":\"conformance_probe\",\"strict\":true,\"schema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"status\",\"echo\",\"items\"],\"properties\":{\"status\":{\"type\":\"string\",\"enum\":[\"ready\"]},\"echo\":{\"type\":\"string\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"max_tokens\":64,\"temperature\":0,\"stream\":false}"
# 7: finish_reason length with at most 20 completion tokens
curl -s $H -H "authorization: Bearer $KEY" "$BASE/v1/chat/completions" -d "{\"model\":\"$MODEL\",\"messages\":[{\"role\":\"system\",\"content\":\"Follow the instruction exactly.\"},{\"role\":\"user\",\"content\":\"Set text to the word token repeated 400 times.\"}],\"response_format\":{\"type\":\"json_schema\",\"json_schema\":{\"name\":\"conformance_cap\",\"strict\":true,\"schema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"text\"],\"properties\":{\"text\":{\"type\":\"string\"}}}}},\"max_tokens\":16,\"temperature\":0,\"stream\":false}"12.Reference setups
These setups are informative. They are based on each server's documentation as read on 2026-11-12. Only the connection check determines whether a setup conforms.
vLLM
Run with a served model name, an API key, a 32,768 token window and structured output, at a current version, behind a TLS proxy on 443.
vllm serve meta-llama/Llama-3.1-8B-Instruct --served-model-name llama3.1-8b --api-key "$KEY" --max-model-len 32768 --host 127.0.0.1 --port 8000Ollama
Ollama does not check keys, so put a proxy in front that requires the bearer key, and never expose port 11434. Raise the context, which is 4,096 tokens by default and is filled by cutting the start of a prompt, and keep the model loaded.
OLLAMA_CONTEXT_LENGTH=32768 OLLAMA_KEEP_ALIVE=-1 OLLAMA_HOST=127.0.0.1:11434 ollama servellama.cpp server
llama-server -m model.gguf --alias llama3.1-8b --api-key "$KEY" -c 32768 --jinja --host 127.0.0.1 --port 8080LM Studio
Version 0.4.0 or later, with authentication on, the context length set to 32,768 and idle unloading off, behind a TLS proxy.
LiteLLM as a gateway
Expose your model through LiteLLM with a virtual key for QuickISO, pass response_format through, and set supports_system_message for a template without a system role.
TGI
Text Generation Inference is not conformant as shipped: its OpenAI route does not accept response_format of type json_schema. Use vLLM or SGLang, or a gateway that rewrites response_format.
Reasoning models
Turn thinking off, or keep reasoning out of content and inside max_tokens. Content must hold the JSON value and nothing else.
Caddy in front of a local server
Caddy obtains a certificate for HOST automatically and refuses a request without the key.
llm.example.com {
@nokey not header Authorization "Bearer {env.QUICKISO_KEY}"
respond @nokey 401
reverse_proxy 127.0.0.1:8000 {
transport http {
read_timeout 150s
}
}
}13.Versioning
- Version 1 is frozen. Releases 1.x only clarify or relax it.
- A change that needs an endpoint to change becomes version 2, published beside version 1, and the owners and admins of every connected organization are told before version 1 calls stop.
- QuickISO may change its prompts and schemas within the version 1 subset at any time.
- Every request carries
quickiso-model-standard: 1.
Change log: 1.0, 2026-11-12, first version. 1.0, revised 2026-11-12: section 1 states that an organization connects its own model once QuickISO has enabled Your own model for it, and section 12 has been reworded; endpoint requirements remain unchanged.
14.Support
Open Integrations, Your own model, and run Test connection: the report names the step that failed, says how to fix it and shows the request id of each request, which you can find in your server's logs. Write to [email protected] with the report's request ids if you need help.

