Skip to content
AdminKit

OpenAPI reference

This page renders the AdminKit Check API's OpenAPI contract directly from the source spec, grouped by tag with every path, method, parameter, response shape and documented error response. Operations that need an API key are marked; the checks also accept anonymous calls for small volumes, rate-limited per IP, and a free account at /account/signup/ gives you a key for higher limits. The free web pages run the same checks in your browser.

The contract follows the OpenAPI Specification, whose Schema Object is a superset of JSON Schema Draft 2020-12, so the request and response shapes below are written in JSON Schema terms.

Updated

AdminKit API · version 0.1.0

Operations marked "API key required" use the X-API-Key header for authentication (OpenAPI security scheme APIKeyHeader). The rest — health probes, account sign-up and sign-in, Radar feeds, badges, shared reports and the broker hooks — take no key. /v1/check/* lists the key but also accepts anonymous calls for small volumes, rate-limited per IP.

Each operation lists its documented error responses under "Errors". Error bodies are application/problem+json unless another content type is shown next to the status; where the spec names a problem type URI, it is listed under the error.

Which check kinds can I run in the browser?

Each POST /v1/check/{kind} kind maps to an AdminKit check. Most already have a free, no-account web page running the same check; for the others, talk to our team about API access or a custom check built by Netbase.

kind Check How to run it
dns DNS lookup Free web page, no account
mail SPF check Free web page, no account
dnsbl Blacklist (DNSBL) check Talk to our team
whois Whois / RDAP Free web page, no account
tls SSL/TLS check Free web page, no account
http-headers HTTP security headers Free web page, no account
ports Open ports on my IP Free web page, no account
mqtt MQTT exposure Free web page, no account
modbus Modbus exposure Free web page, no account
rtsp Is port 554 (RTSP) exposed? (guide) Free web page, no account
mcp-endpoint MCP endpoint check Free web page, no account

Health

Liveness/readiness probes for the API process itself — operational endpoints, not a security check.

GET /v1/health Health

Response: 200 Successful Response — object

GET /v1/health/ready Health Ready

Response: 200 Successful Response — object

Account

Sign-up, sign-in, session confirmation and logout; read the caller's account and rename its organization; manage API keys; and read the organization's usage.

GET /v1/account/me Get Account Me API key required

Response: 200 Successful Response — AccountMeResponse

  • organization_id (required) — string
  • name (required) — string
  • plan (required) — string
  • email (required) — string
  • created_at (required) — string
  • role (optional) — owner | admin | member | null

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
PATCH /v1/account/me Update Account Me API key required

Request body: AccountUpdateRequest (required)

  • name (required) — string

Response: 200 Successful Response — AccountMeResponse

  • organization_id (required) — string
  • name (required) — string
  • plan (required) — string
  • email (required) — string
  • created_at (required) — string
  • role (optional) — owner | admin | member | null

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Not a signed-in owner/admin, or a cookie write from a bad Origin
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Invalid name, or a field other than name was sent
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/account/signup Signup

Request body: SignupRequest (required)

  • email (required) — string
  • organization_name (required) — string

Response: 202 Successful Response — MagicLinkAck

  • status (optional) — string
  • detail (optional) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 403 Early access -- sign-up closed
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Per-IP limit, or too many sign-in/sign-up attempts for this email (per-email limit).
POST /v1/account/signin Signin

Request body: SigninRequest (required)

  • email (required) — string

Response: 202 Successful Response — MagicLinkAck

  • status (optional) — string
  • detail (optional) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Per-IP limit, or too many sign-in/sign-up attempts for this email (per-email limit).
POST /v1/account/session Confirm Session

Request body: SessionConfirmRequest (required)

  • token (required) — string

Response: 200 Successful Response — SessionConfirmResponse

  • organization_id (required) — string
  • email (required) — string
  • api_key (optional) — ApiKeyOnce | null

Errors

  • 400 Invalid or expired link. Also sent by the body cap: Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/account/logout Logout

Response: 204 Successful Response

Errors

  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/account/keys List Api Keys API key required

Response: 200 Successful Response — ApiKeyListResponse

  • keys (optional) — ApiKeySummary[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/account/keys Create Api Key API key required

Request body: ApiKeyCreateRequest (required)

  • label (required) — string

Response: 201 Successful Response — ApiKeyCreateResponse

  • id (required) — string
  • label (required) — string
  • prefix (required) — string
  • secret (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 Your organization has reached its limit of active API keys (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/account/keys/{key_id} Revoke Api Key API key required

Parameters

  • key_id (path, required) — string

Response: 204 Successful Response

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No API key with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/account/usage Get Usage API key required

Response: 200 Successful Response — UsageSummaryResponse

  • organization_id (required) — string
  • plan (required) — string
  • today (required) — integer
  • last_30_days (required) — integer

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Assets

Register and verify ownership of a domain or IP before AdminKit will run active checks against it — see the asset-ownership rule in the spec (no scanning without verified ownership).

GET /v1/assets List Assets API key required

Response: 200 Successful Response — AssetListResponse

  • assets (optional) — AssetResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/assets Create Asset API key required

Request body: AssetCreateRequest (required)

  • kind (required) — domain | ip | mcp_endpoint | mqtt_broker | modbus_host | rtsp_host
  • value (required) — string

Response: 201 Successful Response — AssetResponse

  • id (required) — string
  • kind (required) — domain | ip | mcp_endpoint | mqtt_broker | modbus_host | rtsp_host
  • value (required) — string
  • value_valid (optional) — boolean
  • state (optional) — unverified | pending | verified | failed
  • verified (optional) — boolean
  • verification_method (optional) — dns_txt | file | oauth_github | null
  • verification_token (required) — string
  • verification_methods (optional) — dns_txt | file | oauth_github[]
  • verification_host (optional) — string
  • created_at (required) — string
  • last_checked_at (optional) — string | null
  • status (optional) — AssetStatusResponse | null

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 Your organization already has an asset of this kind with this (normalised) value. Your organization has reached its limit of assets (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/assets/{asset_id} Get Asset API key required

Parameters

  • asset_id (path, required) — string

Response: 200 Successful Response — AssetResponse

  • id (required) — string
  • kind (required) — domain | ip | mcp_endpoint | mqtt_broker | modbus_host | rtsp_host
  • value (required) — string
  • value_valid (optional) — boolean
  • state (optional) — unverified | pending | verified | failed
  • verified (optional) — boolean
  • verification_method (optional) — dns_txt | file | oauth_github | null
  • verification_token (required) — string
  • verification_methods (optional) — dns_txt | file | oauth_github[]
  • verification_host (optional) — string
  • created_at (required) — string
  • last_checked_at (optional) — string | null
  • status (optional) — AssetStatusResponse | null

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 404 No asset with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/assets/{asset_id} Delete Asset API key required

Parameters

  • asset_id (path, required) — string

Response: 204 Asset removed, together with its badge tokens (their public badge URLs then answer 404 like an unknown token). Alert history is kept.

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No asset with this id in your organization.
  • 409 Alert rules still reference the asset; delete them first.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/assets/{asset_id}/verify Verify Asset API key required

Parameters

  • asset_id (path, required) — string

Request body: AssetVerifyRequest (required)

  • method (required) — dns_txt | file | oauth_github

Response: 200 Successful Response — AssetVerifyResponse

  • id (required) — string
  • state (required) — unverified | pending | verified | failed
  • verified (required) — boolean
  • method (required) — dns_txt | file | oauth_github
  • detail (optional) — string
  • checked_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No asset with this id in your organization.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/assets/{asset_id}/check Check Asset API key required

Parameters

  • asset_id (path, required) — string

Response: 200 Checks ran; alert events and the asset status (badge) are updated. — AssetCheckResponse

  • asset_id (required) — string
  • results (optional) — CheckResultResponse[]
  • events (optional) — AlertEventResponse[]
  • passing (optional) — boolean | null
  • reason (optional) — string
  • checked_at (required) — string

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No asset with this id in your organization.
  • 409 The asset is not verified; only verified assets are checked.
  • 422 Invalid request.
  • 429 Rate limit / check quota exceeded; each check run counts as one request.

Check

The core checks: DNS, mail auth, blacklist, whois, TLS, HTTP headers, ports, MQTT, Modbus, RTSP and MCP endpoint. Most kinds also have a free, no-account web page that runs the same check — see the table above.

See also: all tool pages

POST /v1/check/{kind} Run Check API key required

Parameters

  • kind (path, required) — dns | mail | dnsbl | whois | tls | http-headers | ports | mqtt | modbus | rtsp | mcp-endpoint

Request body: CheckRequest (required)

  • target (required) — string
  • options (optional) — object

Response: 200 Successful Response — CheckResultResponse

  • check (required) — string
  • target (required) — string
  • status (required) — ok | warn | fail | error | skipped
  • summary (optional) — string
  • findings (optional) — Finding[]
  • evidence (optional) — object
  • score (optional) — integer | null
  • duration_ms (optional) — integer
  • version (optional) — string
  • report_url (optional) — string | null

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
  • 501 Not implemented yet.
GET /v1/check/my-ip Check My Ip API key required

Parameters

  • share (query, optional) — boolean

Response: 200 Successful Response — CheckResultResponse

  • check (required) — string
  • target (required) — string
  • status (required) — ok | warn | fail | error | skipped
  • summary (optional) — string
  • findings (optional) — Finding[]
  • evidence (optional) — object
  • score (optional) — integer | null
  • duration_ms (optional) — integer
  • version (optional) — string
  • report_url (optional) — string | null

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

DNS (Protective DNS)

Manage L1 Protective DNS sites, devices and policies for an organization.

See also: Protective DNS product page

GET /v1/dns/sites List Sites API key required

Response: 200 Successful Response — DnsSiteListResponse

  • sites (optional) — DnsSiteResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/dns/sites Create Site API key required

Request body: DnsSiteCreateRequest (required)

  • slug (required) — string
  • name (required) — string

Response: 201 Successful Response — DnsSiteResponse

  • id (required) — string
  • slug (required) — string
  • name (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 This slug is already registered; site slugs are unique across all organizations. Your organization has reached its limit of DNS sites (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/dns/sites/{site_id} Delete Site API key required

Parameters

  • site_id (path, required) — string

Response: 204 Site removed. Its block events (dns.event) are kept.

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No site with this id in your organization.
  • 409 DNS policies still target the site; delete those policies first.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/dns/devices List Devices API key required

Response: 200 Successful Response — DnsDeviceListResponse

  • devices (optional) — DnsDeviceResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/dns/devices Create Device API key required

Request body: DnsDeviceCreateRequest (required)

  • client_id (required) — string
  • name (required) — string

Response: 201 Successful Response — DnsDeviceResponse

  • id (required) — string
  • client_id (required) — string
  • name (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 This client_id is already registered; device client_ids are unique across all organizations. Your organization has reached its limit of DNS devices (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/dns/devices/{device_id} Delete Device API key required

Parameters

  • device_id (path, required) — string

Response: 204 Device removed. Its block events (dns.event) are kept.

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No device with this id in your organization.
  • 409 DNS policies still target the device; delete those policies first.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/dns/policies List Policies API key required

Response: 200 Successful Response — DnsPolicyListResponse

  • policies (optional) — DnsPolicyResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/dns/policies Create Policy API key required

Request body: DnsPolicyCreateRequest (required)

  • scope_type (required) — site | device
  • scope_id (required) — string
  • qname (required) — string
  • action (optional) — string

Response: 201 Successful Response — DnsPolicyResponse

  • id (required) — string
  • scope_type (required) — site | device
  • scope_id (required) — string
  • qname (required) — string
  • action (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No site or device (per scope_type) with this scope_id in your organization.
  • 409 Your organization has reached its limit of DNS policies (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/dns/policies/{policy_id} Delete Policy API key required

Parameters

  • policy_id (path, required) — string

Response: 204 Policy removed. Block events it caused are kept.

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No policy with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/dns/events List Events API key required

Response: 200 Successful Response — DnsEventListResponse

  • events (optional) — DnsEventResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/dns/events Ingest Event API key required

Request body: DnsEventIngestRequest (required)

  • scope_type (required) — site | device
  • scope_id (required) — string
  • qname (required) — string
  • action (optional) — string
  • client_ip (optional) — string | null
  • ts (optional) — string | null

Response: 201 Successful Response — DnsEventResponse

  • id (required) — string
  • scope_type (required) — site | device
  • scope_id (required) — string
  • qname (required) — string
  • action (required) — string
  • client_ip (required) — string | null
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: no X-API-Key was sent (missing-api-key), or it is malformed, unknown or revoked (invalid-api-key). This endpoint does not accept the session cookie.
  • 404 No site (id or slug) or device (id or client_id) with this scope_id in your org.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

MCP gateway

Manage MCP/Agent Gateway policies and ingest audit events (L2).

See also: MCP & Agent Gateway product page

GET /v1/mcp/gateways List Gateways API key required

Response: 200 Successful Response — McpGatewayListResponse

  • gateways (optional) — McpGatewayResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/mcp/gateways Create Gateway API key required

Request body: McpGatewayCreateRequest (required)

  • slug (required) — string
  • name (required) — string
  • upstream_url (required) — string

Response: 201 Successful Response — McpGatewayResponse

  • id (required) — string
  • slug (required) — string
  • name (required) — string
  • upstream_url (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 Your organization already has a gateway with this slug. Your organization has reached its limit of MCP gateways (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
PATCH /v1/mcp/gateways/{gateway_id} Update Gateway API key required

Parameters

  • gateway_id (path, required) — string

Request body: McpGatewayUpdateRequest (required)

  • name (optional) — string
  • upstream_url (optional) — string

Response: 200 Gateway updated. — McpGatewayResponse

  • id (required) — string
  • slug (required) — string
  • name (required) — string
  • upstream_url (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No gateway with this id in your organization.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Empty body, a field other than name/upstream_url, an explicit null, or an upstream_url carrying credentials (user:pass@)
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/mcp/gateways/{gateway_id} Delete Gateway API key required

Parameters

  • gateway_id (path, required) — string

Response: 204 Gateway removed.

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No gateway with this id in your organization.
  • 409 Policies still reference the gateway (delete them first), or the gateway has audit events (not deleted automatically; write to the privacy address).
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/mcp/policies List Policies API key required

Response: 200 Successful Response — McpPolicyListResponse

  • policies (optional) — McpPolicyResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/mcp/policies Create Policy API key required

Request body: McpPolicyCreateRequest (required)

  • gateway_id (required) — string
  • tool_name (required) — string
  • action (optional) — string

Response: 201 Successful Response — McpPolicyResponse

  • id (required) — string
  • gateway_id (required) — string
  • tool_name (required) — string
  • action (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No gateway with this gateway_id in your organization.
  • 409 This tool_name already has a policy for this gateway. Your organization has reached its limit of MCP policies (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/mcp/policies/{policy_id} Delete Policy API key required

Parameters

  • policy_id (path, required) — string

Response: 204 Policy removed.

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No policy with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/mcp/audit List Audit API key required

Response: 200 Successful Response — McpAuditListResponse

  • audit (optional) — McpAuditResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/mcp/audit Ingest Audit API key required

Request body: McpAuditIngestRequest (required)

  • gateway_id (required) — string
  • principal (required) — string
  • tool_name (required) — string
  • decision (required) — allowed | allowed_filtered | blocked_allowlist | blocked_rate_limit | blocked_resource | blocked_prompt | upstream_error
  • detail (optional) — string
  • ts (optional) — string | null

Response: 201 Successful Response — McpAuditResponse

  • id (required) — string
  • gateway_id (required) — string
  • principal (required) — string
  • tool_name (required) — string
  • decision (required) — allowed | allowed_filtered | blocked_allowlist | blocked_rate_limit | blocked_resource | blocked_prompt | upstream_error
  • detail (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: no X-API-Key was sent (missing-api-key), or it is malformed, unknown or revoked (invalid-api-key). This endpoint does not accept the session cookie.
  • 404 No gateway with this gateway_id in your organization.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Trust

Score an MCP endpoint or host before an agent calls it.

See also: Agent Trust API product page

GET /v1/trust/mcp Trust Mcp API key required

Parameters

  • url (query, required) — string

Response: 200 Successful Response — TrustScoreResponse

  • subject (required) — string
  • score (optional) — integer | null
  • status (optional) — string
  • evidence (optional) — object
  • checked_at (optional) — string | null

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/trust/endpoint Trust Endpoint API key required

Parameters

  • host (query, required) — string

Response: 200 Successful Response — TrustScoreResponse

  • subject (required) — string
  • score (optional) — integer | null
  • status (optional) — string
  • evidence (optional) — object
  • checked_at (optional) — string | null

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Radar

Aggregated, anonymized exposure-trend data across protocols — only ever published once at least 5 tenants contribute.

See also: Radar page

GET /v1/radar/{protocol}/trends Radar Trends

Parameters

  • protocol (path, required) — mqtt | modbus | mcp | rtsp | telnet | dns

Response: 200 Successful Response — RadarTrendsResponse

  • protocol (required) — mqtt | modbus | mcp | rtsp | telnet | dns
  • period (optional) — string
  • threshold (optional) — integer
  • points (optional) — RadarTrendPoint[]
  • generated_at (required) — string

Errors

  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/radar/blocklist Radar Blocklist

Parameters

  • protocol (query, optional) — mqtt | modbus | mcp | rtsp | telnet | dns | null

Response: 200 Successful Response — RadarBlocklistResponse

  • threshold (optional) — integer
  • entries (optional) — RadarBlocklistEntry[]
  • generated_at (required) — string

Errors

  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Alerts

Alert rules, rule evaluation, event history and weekly summary reports.

GET /v1/alerts/rules List Rules API key required

Response: 200 Successful Response — AlertRuleListResponse

  • rules (optional) — AlertRuleResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/alerts/rules Create Rule API key required

Request body: AlertRuleCreateRequest (required)

  • asset_id (required) — string
  • condition (required) — blacklisted | new_open_port | asset_failing | asset_recovered
  • channel (required) — email | telegram
  • target (required) — string

Response: 201 Successful Response — AlertRuleResponse

  • id (required) — string
  • asset_id (required) — string
  • condition (required) — blacklisted | new_open_port | asset_failing | asset_recovered
  • channel (required) — email | telegram
  • target (required) — string
  • enabled (required) — boolean
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No asset with this asset_id in your organization.
  • 409 An identical rule (same asset_id, condition, channel and target) already exists. Your organization has reached its limit of alert rules (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
PATCH /v1/alerts/rules/{rule_id} Update Rule API key required

Parameters

  • rule_id (path, required) — string

Request body: AlertRuleUpdateRequest (required)

  • enabled (required) — boolean

Response: 200 Successful Response — AlertRuleResponse

  • id (required) — string
  • asset_id (required) — string
  • condition (required) — blacklisted | new_open_port | asset_failing | asset_recovered
  • channel (required) — email | telegram
  • target (required) — string
  • enabled (required) — boolean
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No alert rule with this id in your organization.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/alerts/rules/{rule_id} Delete Rule API key required

Parameters

  • rule_id (path, required) — string

Response: 204 Successful Response

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No alert rule with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/alerts/evaluate Evaluate API key required

Request body: AlertEvaluateRequest (required)

  • asset_id (required) — string
  • check (required) — CheckResultResponse
  • previous_open_ports (optional) — integer[]

Response: 200 Successful Response — AlertEvaluateResponse

  • events (optional) — AlertEventResponse[]
  • passing (required) — boolean
  • reason (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No asset with this asset_id in your organization.
  • 409 The asset is not verified; only verified assets are evaluated.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/alerts/events List Events API key required

Response: 200 Successful Response — AlertEventListResponse

  • events (optional) — AlertEventResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/alerts/reports/weekly Weekly Report API key required

Response: 200 Successful Response — WeeklyReportResponse

  • id (required) — string
  • period_start (required) — string
  • period_end (required) — string
  • total_events (required) — integer
  • by_condition (optional) — object
  • top_events (optional) — AlertEventResponse[]
  • generated_at (required) — string

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Badge

Public, embeddable "scanned by AdminKit" SVG badges for a verified asset.

GET /v1/badge/tokens List Tokens API key required

Response: 200 Successful Response — BadgeTokenListResponse

  • tokens (optional) — BadgeTokenResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/badge/tokens Create Token API key required

Request body: BadgeTokenCreateRequest (required)

  • asset_id (required) — string

Response: 201 Successful Response — BadgeTokenResponse

  • token (required) — string
  • asset_id (required) — string
  • badge_url (required) — string
  • target_url (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No asset with this asset_id in your organization.
  • 409 The asset is not verified; badges are only issued for verified assets. Your organization has reached its limit of badge tokens (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/badge/tokens/{token} Revoke Token API key required

Parameters

  • token (path, required) — string

Response: 204 Successful Response

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No badge token with this value in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/badge/{token}.svg Badge Svg

Parameters

  • token (path, required) — string

Response: 200 Successful Response (image/svg+xml)

Errors

  • 404 Unknown, malformed or revoked badge token (one constant response for all three).
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

AI

A plain-language, citation-backed explanation of a prior check result, plus usage accounting.

POST /v1/ai/explain Explain API key required

Request body: AiExplainRequest (required)

  • check_result (required) — CheckResultResponse

Response: 200 Successful Response — AiExplainResponse

  • check (required) — string
  • target (required) — string
  • model (required) — string
  • explanation (required) — string
  • cited_evidence_ids (optional) — string[]
  • input_tokens (required) — integer
  • output_tokens (required) — integer
  • generated_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: no X-API-Key was sent (missing-api-key), or it is malformed, unknown or revoked (invalid-api-key). This endpoint does not accept the session cookie.
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Invalid request body, or check_result over the explain limits. At most 200 findings, and at most 256 KiB (262144 bytes) when check_result is serialized as compact UTF-8 JSON; a larger check_result is rejected with 422 before any AI call is made or counted against the daily AI cap.
  • 429 Plan rate limit or failed-API-key throttle, or the organization's daily AI spend cap (problem type ai-daily-cap, lifts at the next UTC midnight).
GET /v1/ai/usage Usage API key required

Response: 200 Successful Response — AiUsageResponse

  • usage_date (required) — string
  • tokens_used (required) — integer
  • cost_micro_usd (required) — integer
  • daily_cap_micro_usd (required) — integer

Errors

  • 401 Not authenticated: no X-API-Key was sent (missing-api-key), or it is malformed, unknown or revoked (invalid-api-key). This endpoint does not accept the session cookie.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Secure broker

Manage MQTT broker credentials and ACL rules (L3).

See also: Secure MQTT Broker product page

GET /v1/broker/credentials List Credentials API key required

Response: 200 Successful Response — BrokerCredentialListResponse

  • credentials (optional) — BrokerCredentialResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/broker/credentials Create Credential API key required

Request body: BrokerCredentialCreateRequest (required)

  • name (required) — string

Response: 201 Successful Response — BrokerCredentialCreateResponse

  • id (required) — string
  • name (required) — string
  • secret (required) — string
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 Your organization has reached its limit of broker credentials (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/broker/credentials/{credential_id} Revoke Credential API key required

Parameters

  • credential_id (path, required) — string

Response: 204 Successful Response

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No broker credential with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/broker/acl List Acl Rules API key required

Response: 200 Successful Response — BrokerAclRuleListResponse

  • rules (optional) — BrokerAclRuleResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/broker/acl Create Acl Rule API key required

Request body: BrokerAclRuleCreateRequest (required)

  • topic_pattern (required) — string
  • action (required) — publish | subscribe
  • effect (optional) — allow | deny
  • credential_id (optional) — string | null

Response: 201 Successful Response — BrokerAclRuleResponse

  • id (required) — string
  • topic_pattern (required) — string
  • action (required) — publish | subscribe
  • effect (required) — allow | deny
  • credential_id (optional) — string | null
  • created_at (required) — string

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 409 Your organization has reached its limit of broker ACL rules (type https://adminkit.net/problems/org-limit-reached). type https://adminkit.net/problems/org-limit-reached
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
DELETE /v1/broker/acl/{rule_id} Revoke Acl Rule API key required

Parameters

  • rule_id (path, required) — string

Response: 204 Successful Response

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 403 Cookie-authenticated write without an allowed Origin (csrf-origin): a POST/PUT/PATCH/DELETE authenticated by the session cookie must carry Origin https://adminkit.net or an https://<preview>.adminkit.pages.dev preview. Requests authenticated by X-API-Key never get it.
  • 404 No broker ACL rule with this id in your organization.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/broker/events List Events API key required

Response: 200 Successful Response — BrokerEventListResponse

  • events (optional) — BrokerEventResponse[]

Errors

  • 401 Not authenticated: neither a session cookie nor an X-API-Key was sent (missing-api-key), the X-API-Key is malformed, unknown or revoked (invalid-api-key), or the session cookie is forged, malformed, expired or signed out (invalid-session). A request carrying a session cookie is judged by the cookie alone.
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
POST /v1/broker/authn Authenticate Broker Client

Parameters

  • X-Broker-Service-Token (header, optional) — string | null

Request body: BrokerAuthnRequest (required)

  • username (required) — string
  • password (required) — string
  • client_id (optional) — string | null

Response: 200 Allow — body is always `{"allow": true}`. — BrokerAuthnResponse

  • allow (required) — boolean

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 403 Deny — body is always `{"allow": false}`: unknown/revoked credential, wrong secret, ACL deny or no matching rule, invalid or oversized request body, or any internal error (fail closed). NanoMQ's auth_http plugin decides on the status code alone (2xx allow, 4xx deny). (application/json)
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 4XX 401 problem document when X-Broker-Service-Token is missing or wrong — also a deny for NanoMQ. Request validation never answers 422 on this route (see 403).
POST /v1/broker/authz Authorize Broker Action

Parameters

  • X-Broker-Service-Token (header, optional) — string | null

Request body: BrokerAuthzRequest (required)

  • username (required) — string
  • topic (required) — string
  • action (required) — publish | subscribe
  • byte_size (optional) — integer | null

Response: 200 Allow — body is always `{"allow": true}`. — BrokerAuthzResponse

  • allow (required) — boolean

Errors

  • 400 Malformed Content-Length header (not a run of ASCII digits, or repeated with different values). Refused before the body is read; the operation itself never runs.
  • 403 Deny — body is always `{"allow": false}`: unknown/revoked credential, wrong secret, ACL deny or no matching rule, invalid or oversized request body, or any internal error (fail closed). NanoMQ's auth_http plugin decides on the status code alone (2xx allow, 4xx deny). (application/json)
  • 413 Request body too large. The server caps raw request bodies at 1048576 bytes (1 MiB) by default; the operator sets the cap with ADMINKIT_MAX_BODY_BYTES. An over-cap Content-Length is refused before the body is read, a chunked body once it passes the cap; the operation itself never runs. type https://adminkit.net/problems/payload-too-large
  • 4XX 401 problem document when X-Broker-Service-Token is missing or wrong — also a deny for NanoMQ. Request validation never answers 422 on this route (see 403).

Report

Read a shared check report by its share token, without an API key; the response is the stored check result.

GET /v1/report/{token} Get Report

Parameters

  • token (path, required) — string

Response: 200 Successful Response — CheckResultResponse

  • check (required) — string
  • target (required) — string
  • status (required) — ok | warn | fail | error | skipped
  • summary (optional) — string
  • findings (optional) — Finding[]
  • evidence (optional) — object
  • score (optional) — integer | null
  • duration_ms (optional) — integer
  • version (optional) — string
  • report_url (optional) — string | null

Errors

  • 404 Unknown or expired report link.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

Tools

Utility endpoints: subnet (CIDR) calculation, IP and IPv6 address info, IP-in-CIDR membership, IPv6 EUI-64 address from a prefix and MAC, MAC vendor lookup, user-agent parsing and SPF record validation.

GET /v1/tools/subnet Subnet API key required

Parameters

  • cidr (query, required) — string

Response: 200 Successful Response — SubnetResponse

  • cidr (required) — string
  • version (required) — integer
  • network (required) — string
  • prefix_length (required) — integer
  • netmask (required) — string
  • broadcast (optional) — string | null
  • wildcard (optional) — string | null
  • total_addresses (required) — string
  • usable_hosts (required) — string
  • first_usable (required) — string
  • last_usable (required) — string
  • is_private (required) — boolean
  • is_global (required) — boolean
  • is_loopback (required) — boolean
  • is_multicast (required) — boolean

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/ip-info Ip Info API key required

Parameters

  • ip (query, required) — string

Response: 200 Successful Response — IpInfoResponse

  • ip (required) — string
  • version (required) — integer
  • is_private (required) — boolean
  • is_global (required) — boolean
  • is_loopback (required) — boolean
  • is_link_local (required) — boolean
  • is_multicast (required) — boolean
  • is_reserved (required) — boolean
  • reverse_dns (required) — string
  • integer (required) — string
  • compressed (required) — string
  • exploded (required) — string

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/ip-in-cidr Ip In Cidr API key required

Parameters

  • ip (query, required) — string
  • cidr (query, required) — string

Response: 200 Successful Response — IpInCidrResponse

  • ip (required) — string
  • cidr (required) — string
  • contains (required) — boolean
  • network (required) — string

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/ipv6-info Ipv6 Info API key required

Parameters

  • ip (query, required) — string

Response: 200 Successful Response — Ipv6InfoResponse

  • ip (required) — string
  • version (required) — integer
  • is_private (required) — boolean
  • is_global (required) — boolean
  • is_link_local (required) — boolean
  • is_multicast (required) — boolean
  • is_loopback (required) — boolean
  • is_reserved (required) — boolean
  • compressed (required) — string
  • exploded (required) — string
  • reverse_pointer (required) — string
  • network_64 (required) — string
  • embedded_ipv4 (optional) — string | null
  • embedded_ipv4_kind (optional) — string | null
  • teredo_server (optional) — string | null

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/ipv6-eui64 Ipv6 Eui64 API key required

Parameters

  • prefix (query, required) — string
  • mac (query, required) — string

Response: 200 Successful Response — Ipv6Eui64Response

  • prefix (required) — string
  • mac (required) — string
  • interface_id (required) — string
  • address (required) — string
  • compressed (required) — string
  • exploded (required) — string

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/mac-vendor Mac Vendor API key required

Parameters

  • mac (query, required) — string

Response: 200 Successful Response — MacVendorResponse

  • mac (required) — string
  • is_oui_only (required) — boolean
  • found (required) — boolean
  • organization (optional) — string | null
  • matched_prefix (optional) — string | null
  • assignment (optional) — string | null
  • locally_administered (required) — boolean
  • multicast (required) — boolean

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/user-agent User Agent API key required

Parameters

  • ua (query, required) — string

Response: 200 Successful Response — UserAgentResponse

  • ua (required) — string
  • browser_family (optional) — string | null
  • browser_version (optional) — string | null
  • os_family (optional) — string | null
  • os_version (optional) — string | null
  • device_family (optional) — string | null
  • device_brand (optional) — string | null
  • device_model (optional) — string | null
  • is_bot (required) — boolean

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.
GET /v1/tools/spf-validate Spf Validate API key required

Parameters

  • record (query, required) — string

Response: 200 Successful Response — SpfValidateResponse

  • record (required) — string
  • verdict (required) — string
  • has_version (required) — boolean
  • lookup_term_count (required) — integer
  • lookup_term_limit (optional) — integer
  • findings (optional) — SpfFinding[]

Errors

  • 401 Only when an X-API-Key is sent and it is malformed, unknown or revoked (invalid-api-key). Requests without X-API-Key use the anonymous, per-IP rate-limited tier and never get 401.
  • 422 Validation Error
  • 429 Rate limit exceeded: the plan or per-IP limit, or too many failed API-key attempts from this client. Wait Retry-After seconds before retrying; RateLimit-* describe the bucket that ran out and are not sent by the failed-API-key throttle.

References

This contract follows the OpenAPI Specification format, describes its request and response bodies using JSON Schema, and, once deployed, every response will follow standard HTTP semantics as RFC 9110 (canonical record in the IETF Datatracker) defines it:

Frequently asked questions

Where does this OpenAPI contract come from?

This page renders AdminKit's current OpenAPI contract in full from the source spec, not a hand-written summary that could drift out of sync. Each operation shows whether it needs an API key; operations without that label, such as the health probes and account sign-up and sign-in, take no key.

How do I get the same results without an API key?

Use the free, no-account web pages linked in the table above — each runs the same underlying check in your browser. The Check API itself accepts anonymous calls to /v1/check/* for small volumes, rate-limited per IP. For AI agents, the open-source AdminKit MCP server is published on PyPI as adminkit-mcp; install it with uvx adminkit-mcp (see /developers/mcp/).

What format is the contract in?

OpenAPI 3.1 in YAML (this particular file happens to be valid JSON too), the same contract the Check API implements.

Which endpoints need an API key?

The contract's one security scheme is an API key header (X-API-Key), and each operation marked "API key required" below lists it. Others take no key: the health probes, account sign-up, sign-in, session and logout, the Radar trend and blocklist feeds, badge SVGs, shared reports and the broker authn/authz hooks. The /v1/check/* routes list the key, but small volumes also run anonymously, rate-limited per IP; for higher limits, create a free account at /account/signup/ and send your API key. Custom volumes are quoted by our team.

Want Check API access for your team?

Tell us what you want to automate and our team will scope Check API access — or a custom integration built by Netbase.