Schemas
Types used by the endpoints. A field marked “Always present: no” is left out of the JSON when it has no value.
Health
Section titled “Health”| Field | Type | Always present | Description |
|---|---|---|---|
ok |
true |
yes |
No other fields are sent. Clients should still ignore fields they do not know.
The error body for every failure. error is written for people and may change; use the HTTP
status code in programs.
| Field | Type | Always present | Description |
|---|---|---|---|
error |
string |
yes |
No other fields are sent. Clients should still ignore fields they do not know.
Status
Section titled “Status”Outcome of one check. error means the check could not be completed (network error,
timeout, wording not assessed) and is never read as a pass. info does not affect the grade.
string, one of pass, warn, fail, info, error.
Severity
Section titled “Severity”How much the check matters when it fails.
string, one of info, low, medium, high, critical.
string, one of A, B, C, D, F.
Evidence
Section titled “Evidence”One piece of evidence behind a check.
| Field | Type | Always present | Description |
|---|---|---|---|
source |
string |
yes | What was examined, for example TXT _dmarc.example.com. |
observed |
string |
yes | What was observed, verbatim where possible. |
No other fields are sent. Clients should still ignore fields they do not know.
The result of one check.
| Field | Type | Always present | Description |
|---|---|---|---|
id |
string |
yes | Stable identifier, for example email.dmarc. |
title |
string |
yes | |
status |
Status | yes | |
severity |
Severity | yes | |
summary |
string |
yes | One sentence in plain language saying what was found. |
evidence |
array of Evidence | yes | |
fix |
string or null |
yes | What to change, when the status is warn or fail. Otherwise null. |
reference |
string or null |
yes | A link to the standard or guidance the check is based on. Often null. |
No other fields are sent. Clients should still ignore fields they do not know.
| Field | Type | Always present | Description |
|---|---|---|---|
points |
integer (0 to 100) |
yes | Starts at 100; each failure subtracts a penalty by severity (critical 35, high 20, medium 10, low 4) and each warning subtracts half of that. |
grade |
Grade or null |
yes | null when any check could not be completed: Kytheos never grades what it could not see. Any critical failure caps the grade at D. |
incomplete |
boolean |
yes | True when some checks could not be completed. |
No other fields are sent. Clients should still ignore fields they do not know.
Report
Section titled “Report”A complete report for one subject, graded from its checks.
| Field | Type | Always present | Description |
|---|---|---|---|
subject |
string |
yes | What was assessed, for example example.com. |
kind |
string |
yes | Which product produced it. |
engine_version |
string |
yes | For example promptcheck/0.1.0. |
score |
Score | yes | |
checks |
array of Check | yes |
No other fields are sent. Clients should still ignore fields they do not know.
DomainCheckRequest
Section titled “DomainCheckRequest”| Field | Type | Always present | Description |
|---|---|---|---|
domain |
string |
yes | A bare domain name, for example example.com. |
DomainCheckReport
Section titled “DomainCheckReport”A graded report on one domain. kind is domain-check and subject is the normalised domain.
Everything in Report, with the following fields narrowed.
| Field | Type | Always present | Description |
|---|---|---|---|
kind |
"domain-check" |
no |
LookalikePage
Section titled “LookalikePage”One page of lookalike results.
| Field | Type | Always present | Description |
|---|---|---|---|
subject |
string |
yes | The normalised domain. |
kind |
"lookalike_page" |
yes | |
engine_version |
string |
yes | |
page |
integer (0 to ) |
yes | |
pages |
integer (0 to ) |
yes | Number of pages for this domain. |
generated |
integer |
yes | Candidates generated for this domain, over all pages. |
checked |
integer |
yes | Candidates checked on this page. |
unregistered |
integer |
yes | Checked candidates that are not registered. |
errors |
integer |
yes | Checked candidates whose lookup failed. They are neither counted as safe nor listed. |
findings |
array of LookalikeFinding | yes | Registered lookalikes on this page, highest risk first. |
next_page |
integer or null |
yes | The next page to request, or null when this was the last. |
No other fields are sent. Clients should still ignore fields they do not know.
LookalikeFinding
Section titled “LookalikeFinding”| Field | Type | Always present | Description |
|---|---|---|---|
domain |
string |
yes | The lookalike in ASCII (punycode) form. |
unicode |
string |
no | How a browser shows the name, when different from domain. Omitted otherwise. |
technique |
LookalikeTechnique | yes | |
technique_label |
string, one of Different ending, Brand plus a word, Look-alike characters, Missing letter, Swapped letters, Neighbouring key, Doubled letter, Added hyphen, Changed vowel, Foreign look-alike letter |
yes | A plain language name for the technique, in English. |
risk |
string, one of high, medium, low |
yes | high receives email and points at a website, medium does one of the two, low is registered but has neither (often parked or held). |
website |
boolean |
yes | |
mail |
boolean |
yes | |
evidence |
array of string |
yes | What was seen, shortened (address records and mail servers). |
No other fields are sent. Clients should still ignore fields they do not know.
LookalikeTechnique
Section titled “LookalikeTechnique”string, one of tld_swap, keyword, homoglyph, omission, transposition, replacement, repetition, hyphenation, vowel_swap, unicode_homoglyph.
GuardianRequest
Section titled “GuardianRequest”Exactly one of link or message. Unknown fields are rejected.
| Field | Type | Always present | Description |
|---|---|---|---|
link |
string, at most 2,048 characters |
no | A link, with or without a scheme (read as https when missing). |
message |
string, at most 5,000 characters |
no | The text of a message you received, up to 5,000 characters. |
One of any or any.
No other fields are sent. Clients should still ignore fields they do not know.
GuardianVerdict
Section titled “GuardianVerdict”Ordered from worst to best. no_warning_signs is not a guarantee: Guardian never says safe.
string, one of high_risk, suspicious, no_warning_signs.
GuardianLinkResult
Section titled “GuardianLinkResult”The result for one link.
| Field | Type | Always present | Description |
|---|---|---|---|
kind |
"guardian_link" |
yes | |
engine_version |
string |
yes | |
link |
string |
yes | The link as checked (normalised). |
host |
string |
yes | The host in ASCII (punycode) form. |
host_unicode |
string |
no | How a browser shows the host, when different. Omitted otherwise. |
destination |
string |
no | Where a short link leads, when it was a short link. Omitted otherwise. |
verdict |
GuardianVerdict | yes | |
incomplete |
boolean |
yes | True when some checks could not be completed. |
checks |
array of Check | yes |
No other fields are sent. Clients should still ignore fields they do not know.
GuardianMessageResult
Section titled “GuardianMessageResult”The result for a message and the links in it. The message text is not returned.
| Field | Type | Always present | Description |
|---|---|---|---|
kind |
"guardian_message" |
yes | |
engine_version |
string |
yes | |
verdict |
GuardianVerdict | yes | |
incomplete |
boolean |
yes | |
characters |
integer |
yes | Length of the message checked, in characters. |
checks |
array of Check | yes | |
links |
array of GuardianLinkResult | yes | One result for each link found, up to five. |
links_not_checked |
integer |
yes | Links found beyond the first five, counted but not checked. |
No other fields are sent. Clients should still ignore fields they do not know.
PromptCheckRequest
Section titled “PromptCheckRequest”Unknown fields are rejected.
| Field | Type | Always present | Description |
|---|---|---|---|
prompt |
string, at most 20,000 characters |
yes | The system prompt, up to 20,000 characters. |
No other fields are sent. Clients should still ignore fields they do not know.
PromptCheckResult
Section titled “PromptCheckResult”| Field | Type | Always present | Description |
|---|---|---|---|
report |
Report | yes | |
wording_assessed |
boolean |
yes | False when the wording checks could not run because the prompt is not in English. |
characters |
integer |
yes | |
lines |
integer |
yes |
No other fields are sent. Clients should still ignore fields they do not know.
McpCheckRequest
Section titled “McpCheckRequest”Unknown fields are rejected.
| Field | Type | Always present | Description |
|---|---|---|---|
config |
string, at most 100,000 characters |
yes | An MCP client config or a server’s tool list, as text. Comments and trailing commas are accepted. |
No other fields are sent. Clients should still ignore fields they do not know.
McpCheckResult
Section titled “McpCheckResult”| Field | Type | Always present | Description |
|---|---|---|---|
report |
Report | yes | |
servers |
array of McpServerSummary | yes | |
tools |
array of string |
yes | Names of the tools found in the input. |
No other fields are sent. Clients should still ignore fields they do not know.
McpServerSummary
Section titled “McpServerSummary”| Field | Type | Always present | Description |
|---|---|---|---|
name |
string |
yes | |
launch |
string |
yes | How it starts: the runner and package, or the remote URL without its query string. Secrets are masked. |
No other fields are sent. Clients should still ignore fields they do not know.