API reference

The whole internet, one HTTP call away.

The athorion API is a JSON REST API, run from Germany with scans from our own servers in a Darmstadt data centre (AS62023). It does three things: search the non-intrusive internet index, run a full on-demand security scan of any public target and return a PDF, and ask our defence AI (Manta for fast triage, Nautilus for deep reasoning) grounded questions. All requests go to the base URL below over HTTPS.

BASEhttps://app.athorion.io/v1

Authentication & scopes

Send your key as a bearer token in the Authorization header. Keys begin with ath_ and are shown only once at creation. Customers create keys in the console under API; partner keys are issued by the platform operator.

curl https://app.athorion.io/v1/models \ -H "Authorization: Bearer ath_••••••••"

Every key carries a scope that limits which endpoints it may call. A request outside the scope returns 403.

ScopeCan reach
scanThe on-demand scan flow only - /v1/scans and its sub-paths.
llmThe defence AI (Manta & Nautilus) only - /v1/models, /v1/ask, /v1/ask/stream.
mcpThe Model Context Protocol tool surface - search, on-demand scans, exposure preview and the defence AI. Used by the hosted MCP server; paid plans only.
wazuhThe Wazuh connector only - /v1/integrations/wazuh/connector/*. One key per connector, created in the console under Integrations and shown once. Other keys, full included, get 403 there.
siemThe SIEM connectors only - /v1/integrations/<target>/connector/* for exactly the five targets below (Sentinel, Splunk, Elastic, Graylog, Syslog), and nothing else. One key per connector, created in the console under Integrations and shown once.
fullAll of /v1, including search. The default for console/customer keys.

Rate limits & quota

Each key has an optional daily quota (total requests per calendar day, UTC) and an optional hourly rate limit (requests in a rolling 60-minute window). Both are set per key by the operator; unset means unlimited. Exceeding either returns 429 with an error of quota_exceeded or rate_limited.

HTTP/1.1 429 Too Many Requests { "detail": { "error": "rate_limited", "message": "hourly rate limit reached (60/hour)" } }

On-demand scans are additionally bound by a platform-wide per-tenant ceiling and the global scan blocklist (private and reserved ranges are never scanned).

Errors & status codes

Errors return a JSON body with a detail field - a string, or an object with a stable error code and a human message.

HTTPerrorMeaning
400invalid_targetTarget is not a domain or public IP, or did not resolve.
401-Missing or invalid API key.
403-Key scope does not allow this endpoint.
404-Scan id not found for this key.
429quota_exceeded · rate_limitedDaily quota or hourly rate limit reached.
503llm_unavailableThe defence AI (LLM backend) is not configured on this instance.

MCP server

Use athorion directly in Claude, Cursor, VS Code and ChatGPT over the Model Context Protocol. Add https://mcp.athorion.io/mcp in your app and sign in with your athorion account (Cyber Intelligence or Ecosystem plan): the app gets exactly the tools below, nothing else, and you can disconnect it at any time. Every call runs with your account's quota and model budget - scanning stays non-intrusive and gated by the Authorization Plane.

search
Internet index query.
scan · scan_result
On-demand non-intrusive scan.
exposure_preview
Passive domain posture check.
ask · list_models
Grounded defence AI (Manta, Nautilus).
overview · rating
Workspace at a glance, rating and trust seal.
monitoring · changes · alerts
Monitored assets, new ports and subdomains, alerts.
findings · host
Findings worst first, everything about one IP.
pentests · pentest · start_pentest
Pentest results with the attack path; start a non-intrusive analysis.
add_to_monitoring
Put a domain, IP or range under watch.
suppliers · threats
Supplier scores, threat feed matches, new KEV entries.

Every answer comes as a terminal view: score gauges, severity bars, port maps, attack-surface trees and pentest timelines, in Claude Code as well as in the chat.

Claude Code, in your terminal:

claude mcp add --transport http athorion https://mcp.athorion.io/mcp

Claude, Cursor, VS Code, ChatGPT: add the address as a remote MCP server (connector); the app opens the athorion sign-in. Step-by-step guides are in the console under MCP.

Without a browser (servers, CI): create an MCP key in the console under MCP and send it as Authorization: Bearer <key>.

Wazuh integration

Athorion's outside-in findings as ordinary Wazuh alerts: new open ports, new vulnerabilities (with CISA KEV), expiring certificates, rating changes, new subdomains and announced pentest windows, each with why it matters and what to do, in your language. A small connector on your side pulls the events every 5 minutes over outbound HTTPS and appends them to a log file that Wazuh reads. Athorion never connects to your network or to your Wazuh manager.

The event feed comes with a paid plan; the scanner labels are free and need no account. Supported: Wazuh 4.8 to 4.14 (tested with 4.14.9) on a manager, on the Docker host of wazuh-docker or on a Linux host with a Wazuh agent, with Python 3.6 or newer of the operating system and systemd (or the command wodle on hosts without it).

01
Create a connector
In the console under Integrations: give it a name and copy the key. It is shown once and only reaches the endpoints of this connector.
02
Install the package
Download it, check SHA-256 and the minisign signature, run sudo ./install.sh. The installer asks for the key hidden, tests the Wazuh configuration with Wazuh's own tools and rolls everything back on any error.
03
Events every 5 minutes
A systemd timer runs the connector as its own unprivileged user: config, then events with the cursor, then a heartbeat. Filters and language are set in the console.
04
Alerts in Wazuh
The rules turn every line into an alert with level, MITRE id and your language. Filter on rule.groups: athorion_feed; the test event from the console is rule 117102.

On a Wazuh manager (Linux), the default path:

curl -fsSLO https://athorion.io/downloads/wazuh/athorion-wazuh-1.0.4.tar.gz curl -fsSLO https://athorion.io/downloads/wazuh/athorion-wazuh-1.0.4.tar.gz.sha256 curl -fsSLO https://athorion.io/downloads/wazuh/athorion-wazuh-1.0.4.tar.gz.minisig sha256sum -c athorion-wazuh-1.0.4.tar.gz.sha256 minisign -Vm athorion-wazuh-1.0.4.tar.gz -P <minisign-public-key> tar xzf athorion-wazuh-1.0.4.tar.gz && cd athorion-wazuh-1.0.4 sudo ./install.sh

sha256sum -c checks the download against the published .sha256 file (the console shows the same SHA-256 under Integrations). Both come from Athorion's own servers, so the minisign signature with the public key below is the independent check. Other paths: --docker <dir> on the Docker host of wazuh-docker (never inside the container), --agent on a Linux host with a Wazuh agent when an MSP or Wazuh Cloud runs the manager, --rules-only --trusted-agent <name> for whoever runs that manager, --labels-only for the scanner labels alone, --wodle for hosts without systemd. The full guide is the README in the package.

Feed schema v1

The connector writes one compact JSON line per event (shown wrapped below): {"integration":"athorion","athorion":{...}}. Nothing else sits at the top level, no srcip and no dstip, so no active response can fire against a host Athorion names. Every value under athorion is a string; Wazuh shows the fields as data.athorion.*.

{"integration": "athorion", "athorion": { "v": "1", "pack": "1", "event_id": "65d3a866f4c1d7a97431431915c8acf6", "type": "port_opened", "severity": "high", "kev": "false", "baseline": "false", "source": "watch", "scope": "own", "service_group": "remote", "risk_vector": "open_ports", "cve": "none", "product": "none", "evidence": "observed", "status": "none", "band": "none", "mode": "none", "asset": "203.0.113.10", "ip": "203.0.113.10", "host": "vpn.example.de", "port": "3389", "transport": "tcp", "title": "New open port 3389/tcp (remote access) on 203.0.113.10", "title_src": "Remote Desktop RDP exposed on 3389/tcp", "why": "Remote access such as Remote Desktop or VNC is the most common way in for ransomware: attackers try passwords there around the clock.", "action": "Close the port in the firewall and allow access only through a VPN. Until then, at least turn on two-factor sign-in.", "lang": "en", "observed_at": "2026-11-04T09:12:00Z", "url": "https://app.athorion.io/app/hosts/203.0.113.10", "tenant": "Example Ltd"}}

Keyed fields are the fields the rules test. They are always present and never empty, because a missing field makes every rule condition on it fail and the event would be dropped silently. The placeholder is none (or false). Unknown future values land in catch-all rules at a matching level, never at level 0.

FieldValues
typeport_opened · port_closed · finding_new · finding_resolved · cert_expiring · score_changed · subdomain_new · pentest_started · pentest_finished · test · connector_status
severityinfo · low · medium · high · critical
kev · baselinetrue · false
sourcescan · watch · domain_watch · scoring · pentest · console · server · connector
scopeown · adhoc
service_groupremote · ssh · files · db · infra · device · admin · other · none
risk_vectorfinding vector, or none
cveCVE-YYYY-NNNN · none
productcleaned product name, or none
evidenceversion_based · observed · none
statusok · warn · error for connector_status, else none
bandrise · drop_small · drop_medium · drop_large for score_changed, else none
modeauthorized · authorized_active for pentest events, else none

Descriptive fields may be missing: v, pack, event_id, asset, ip, host, port, transport, version, title, title_src, why, action, lang, observed_at, url, tenant, days_left, score_old, score_new, delta, org, subdomain, pentest_id, source_ips, confidence, code, truncated. title is built only from a template in your language plus validated facts, never from text of the target; title_src is the stored English finding title, cleaned of markup and chat mentions. An event is at most 16 KB, and the feed carries no sequence numbers.

Cursor and delivery

next_cursor is opaque and bound to your connector: it reveals no global position and no gaps between events. Pass it back unchanged as cursor. A tampered cursor, or one from another connector, returns 400. An empty cursor resumes at the position the connector last acknowledged, so a lost state or a move to a new manager causes no 30-day replay; cursor=start replays everything since this connector was created (within the 30 days) and cursor=now skips the backlog.

Delivery is at least once: the connector appends each line, syncs the file and only then saves the cursor, and the next events call or the heartbeat (acked_cursor) acknowledges it. Every event has a stable event_id, so a duplicate after a crash is harmless. Events are kept 30 days; a cursor older than that is answered from the oldest event still there, with reset: true. Filters (types, minimum severity, passive watch, ad-hoc scans, language) apply when the feed is read, so a change in the console works at once.

Event catalogue v1

Events are written only for your own targets (scope=own): watchlist targets and scope with verified ownership. On-demand scans of foreign targets carry scope=adhoc and stay hidden unless you switch them on; accepted risks are left out.

typeMeaning
port_openedA new open port on one of your own targets (tier-2 scan or watchlist). The first scan of a target arrives as baseline.severity of the port finding
port_closedA port that was open in the previous scan of the same target is closed now.info
finding_newA new finding on your target: version-based CVE (with CISA KEV), end-of-life software, mail or TLS posture and more.severity of the finding · kev, cve, evidence, confidence
finding_resolvedA finding that is no longer observed, sent once when it disappears.info
cert_expiringA TLS certificate runs out, one event per band (30, 21 and 7 days, expired), for monitored domains also at 90 days.high up to 7 days, medium up to 21, else low
score_changedYour rating changed with a new snapshot (by default from 3 points).low to high by the drop, info for a rise · band
subdomain_newA new subdomain of a monitored domain in certificate transparency logs.low
pentest_startedAn authorized pentest starts, with pentest id and the real source addresses. Verify the window in the console before you trust it.info · low for authorized_active
pentest_finishedThe pentest ended, with its end state.info · low for authorized_active
testThe test event from the console, only for the chosen connector.info
connector_statusServer notices (daily event cap) and local states of the connector: key, plan, reachability, list or rules outdated.status ok, warn or error

Errors and limits

HTTPerrorMeaning
400bad_cursorCursor tampered with, malformed or issued for another connector.
401-Key missing, wrong or revoked, also after the connector was deleted.
402plan_requiredfeature wazuh: the plan does not include the feed; the connector pauses for an hour and nothing is deleted. feature wazuh_connectors: more connectors than the plan includes.
403-Path outside the key's scope, or the key has no active connector.
413body_too_largeRequest body above 64 KB.
422-Unknown or invalid heartbeat field.
429rate_limitedRate limit reached; retry after the Retry-After header.

Limits per key: events 600, config 120 and heartbeat 120 calls an hour, limit 1 to 500 events per page, a run every poll_seconds (300). Every successful call counts as contact, so the console shows the connector as connected right after the installer's key test. Connector calls do not count against API key quotas. A Cloudflare page (error 1010) instead of a JSON answer means the request never reached the API: contact Athorion.

Scanner labels and the signed scanner list

A free rule file (zz_athorion_scanner_labels.xml, rules 117300 to 117379) labels typical scan noise from Athorion's addresses: web 4xx and TCP firewall drops get the extra groups athorion,athorion_scanner and MITRE T1595. Label, never hide: level, groups, compliance tags and options of the parent rule stay, attack signatures such as SQL injection, XSS or brute force stay unlabelled and loud, and UDP or ICMP events are never labelled. No account needed: sudo ./install.sh --labels-only.

The label rules look up the CDB list, so the list must be declared in ossec.conf of every node (in a cluster the master and each worker), or analysisd skips them (warning 7616). The installer adds <ruleset><list>etc/lists/athorion-scanners</list></ruleset> itself; by hand, put the line into the existing <ruleset> and restart the manager:

<ruleset> ... <list>etc/lists/athorion-scanners</list> </ruleset>

Without a shell on the manager (Wazuh Cloud, for example), use the Wazuh dashboard: upload zz_athorion_scanner_labels.xml under Server management > Rules and the list athorion-scanners under Server management > CDB lists, add the <list> line under Server management > Settings > Edit configuration (on every node) and restart the manager. Take both files from the checked package (rules/, lists/); the single files linked on scan.athorion.io are the same bytes, listed in its MANIFEST.sha256.

The addresses come from a static, signed CDB list, not from an API call: downloads/wazuh/lists/LATEST holds the current version number, athorion-scanners-<n>.txt the list (one address:hostname line per address, the same addresses as on scan.athorion.io) and .minisig its signature. athorion-wazuh update-list verifies the signature, refuses a downgrade, shows a diff and writes only with --yes.

N=$(curl -fsS https://athorion.io/downloads/wazuh/lists/LATEST) curl -fsSO "https://athorion.io/downloads/wazuh/lists/athorion-scanners-$N.txt" curl -fsSO "https://athorion.io/downloads/wazuh/lists/athorion-scanners-$N.txt.minisig" minisign -Vm "athorion-scanners-$N.txt" -P <minisign-public-key>

minisign public key of the release key (the secret key is kept offline). It verifies the package and every scanner list; the same key is in the package (keys/athorion-minisign.pub) and in the console.

RWTsM30Hzp3nuNYQW6rnKqA7KedBYirHrxpVufNrCn+SSYoRG58uXLlO

Rule reference

The rule pack uses ids 117100 to 117399 (Wazuh custom range). Every feed rule carries the groups athorion,athorion_feed plus a subgroup and the description Athorion: $(athorion.title). Trusted sources (117101) are the local connector file, the local wodle and the connector file on an agent named with --rules-only --trusted-agent <name>; the same JSON from any other agent, from syslog or from stdin becomes 117107.

rule.idMeaning
117100Base rule: any line in the Athorion formatrule.level 0 · athorion_feed
117101Trusted source: the local connector file, the local wodle, or the connector file on an agent named with --trusted-agentrule.level 0 · athorion_feed
117102Test event from the consolerule.level 3 · athorion_connector
117103-117105 · 117108connector_status ok, warn, error; unknown statusrule.level 3 / 5 / 7 · 5 · athorion_connector
117106Baseline: the current state when a connector starts (any type, the severity stays in the field)rule.level 3 · athorion_baseline
117107Athorion format from an unexpected source, none of the trusted ones of 117101rule.level 7 · athorion_untrusted
117110-117119Unknown event type (update the rule pack), by severity and KEVrule.level 3-13 · athorion_unknown
117120-117134port_opened by severity: remote access and SSH, databases, files, infrastructure, devices and admin interfaces, any other grouprule.level 3-12 · athorion_exposure · T1133 / T1190
117140Port closedrule.level 3 · athorion_exposure
117145Finding resolvedrule.level 3 · athorion_vuln
117150-117169finding_new with a CVE, by severity, KEV and evidencerule.level 3-13 · athorion_vuln · T1190
117170-117174finding_new on mail and DNS posture, by severityrule.level 3-12 · athorion_vuln · T1566
117175-117184Any other finding_new, by severity and evidencerule.level 3-12 · athorion_vuln
117190-117194cert_expiring by severityrule.level 3-12 · athorion_cert
117200-117204score_changed by band: rise, small, medium and large drop, any other bandrule.level 3 / 5 / 7 / 10 · 5 · athorion_rating
117210New subdomainrule.level 5 · athorion_surface
117220-117223pentest_started and pentest_finished: rule level 5 for authorized_active (active exploit testing), otherwise 3rule.level 5 / 3 · athorion_pentest
117230-117299Reserved for phase 2 (inventory match and correlation)-
117300-117320Scanner labels: web 4xx (parent 31101) and TCP firewall drops (4101), each with a labelled twin of its composite rule (31151, 4151)level and groups of the parent + athorion_scanner · T1595
117330-117399Reserved: Suricata scan signatures (SID allowlist pending), SSH (pending lab confirmation), spare ids-

Version-based CVE matches stay at most at level 10 without CISA KEV and at 12 with KEV, so a backport false positive does not trigger a Wazuh mail on day one (default email_alert_level 12). An active response with <level> and without <rules_id> or <rules_group> would fire on Athorion alerts: restrict it or exclude athorion_feed. If log_alert_level is above 3, the test event is not stored: sudo ./install.sh --level-floor N.

SIEM integrations

The Athorion event feed in your SIEM’s own format: Microsoft Sentinel (custom log via the Azure Monitor Agent, alerts also in the Defender portal), Splunk (HEC, sourcetype athorion:feed, add-on included), Elastic Security (the Agent pulls itself via its Custom API integration, in ECS format), Graylog (GELF 1.1, content pack with stream, event definitions and dashboard) and Syslog / CEF (CEF or LEEF over TLS for QRadar, FortiSIEM, ArcSight and every syslog receiver). Same model as Wazuh: your side pulls every 5 minutes over outbound HTTPS, Athorion stores no credentials and never connects into your network.

The feed comes with the same paid plans as the Wazuh integration; the same connector caps apply. The event catalogue, filters, language and the opaque cursor are identical to the Wazuh feed - the five targets differ only in the wire format, which Athorion renders for each connector.

file · JSON lines
Microsoft Sentinel
The Azure Monitor Agent ships the file as a custom log (table AthorionFeed_CL); alerts also appear in the Defender portal.
HEC · athorion:feed
Splunk
One HEC envelope per event, JSON fields extracted at search time; the add-on TA-athorion ships with the package (Enterprise and Cloud).
ECS 8.x
Elastic Security
No connector needed: the Elastic Agent pulls itself via the Custom API integration and follows next_url for pagination.
GELF 1.1
Graylog
One GELF message per HTTP request to a GELF HTTP input; the content pack brings input, stream, event definitions and dashboard.
CEF / LEEF
Syslog
One line per event over UDP/TCP/TLS (QRadar: LEEF, ArcSight and FortiSIEM: CEF); the console sets the format per connector.

One connector package for all five targets:

curl -fsSLO https://athorion.io/downloads/siem/athorion-siem-1.0.1.tar.gz curl -fsSLO https://athorion.io/downloads/siem/athorion-siem-1.0.1.tar.gz.sha256 curl -fsSLO https://athorion.io/downloads/siem/athorion-siem-1.0.1.tar.gz.minisig sha256sum -c athorion-siem-1.0.1.tar.gz.sha256 minisign -Vm athorion-siem-1.0.1.tar.gz -P RWTsM30Hzp3nuNYQW6rnKqA7KedBYirHrxpVufNrCn+SSYoRG58uXLlO tar xzf athorion-siem-1.0.1.tar.gz && cd athorion-siem-1.0.1 sudo ./install.sh --target syslog --key-stdin --host siem.example.com --port 6514 --proto tls # --target: sentinel | splunk | elastic | graylog | syslog # splunk: --url https://splunk.example:8088/services/collector/event --token HEC-TOKEN [--ca-file ca.pem] # graylog: --url https://graylog.example:12201/gelf [--ca-file ca.pem] # upgrade: sudo ./install.sh (keeps key and settings) remove: sudo ./install.sh --uninstall

install.sh writes /etc/athorion-siem/<instance>.json (mode 0640, readable only by root and the service user), creates the unprivileged user athorion-siem and installs a systemd timer (cron without systemd). It reads the connector key from hidden input (--key-stdin), never from a command line. athorion-siem test checks API and destination without delivering anything; athorion-siem status shows state and configuration; athorion-siem reset-cursor forgets the cursor. The full guide is the README in the package; the Graylog content pack, the Splunk add-on and the Elastic Custom API config ship with it.

Wire formats per target

The rendered event is the same for every target (five-language title, why and what to do, no long dashes, no control characters). Only the envelope differs, and Athorion renders it for you:

TargetFormat and delivery
sentinel{"schema_version":"1", "event_type":"port_opened", "severity":"high", ...} (flat record, one per line; type/title are event_type/event_title: Type and Title are reserved columns)
splunk{"event":{...}, "time":1793783520, "host":"vpn.example.de", "source":"athorion", "sourcetype":"athorion:feed", "fields":{"athorion_type":..., "athorion_severity":..., "athorion_kev":..., "athorion_scope":...}}
elastic{"@timestamp":"...", "message":"...", "event":{...}, "destination":{...}, "vulnerability":{...}, "athorion":{...}}
graylog{"version":"1.1", "host":"...", "short_message":"...", "level":3, "_athorion_type":"...", "_athorion_observed_at":"..."} (one message per request; Graylog stores athorion_type, ...)
syslogCEF:0|Athorion|EASM|1|PORT_OPENED|...|7|start=... dst=... dport=3389 ... (or LEEF:1.0|Athorion|EASM|1|PORT_OPENED<TAB>sev=7<TAB>...)

The same port_opened event as a CEF line (syslog target, wrapped below; the connector prefixes <PRI>, lines stay under 8192 characters) - ECS, GELF, HEC and the Sentinel record carry the identical facts:

<131>Nov 4 09:12:00 collector CEF:0|Athorion|EASM|1|PORT_OPENED|New open port 3389/tcp (remote access) on 203.0.113.10|7| start=1793783520000 dst=203.0.113.10 dhost=vpn.example.de dport=3389 proto=TCP request=https://app.athorion.io/app/hosts/203.0.113.10 cs1Label=athorionType cs1=port_opened cs2Label=athorionEventId cs2=... cs5Label=athorionServiceGroup cs5=remote cs6Label=athorionTenant cs6=Example Ltd

cursor and delivery semantics are the Wazuh ones: next_cursor is opaque and bound to the connector, empty resumes at the last acknowledged position, start replays since creation, now skips the backlog, a tampered cursor returns 400. The connector persists the cursor only after the whole batch was delivered, so a failed run resends the same events and the deduplication on event_id makes that harmless. For Elastic the answer additionally carries next_url - an absolute URL back to this feed, which the Custom API integration follows directly.

Limits per key: events 600, config 120 and heartbeat 120 calls an hour, limit 1 to 500 events per page, bodies up to 64 KB. Unknown target values in the URL return 404, a key of another connector 403. Console management lives at /v1/integrations/siem (page state, create, patch, rotate, delete, test event, preview) and the owner KPI at /v1/admin/integrations/siem.

GET/v1/searchscope: full

Search the index

Search over the non-intrusive Tier-1 index. The q filters are port: product: cve: vuln: category: net: has_vuln: sev: plus free text. Sorted by vuln count, then last seen.

PARAMETERS
q
string
Query, e.g. port:3389 category:rdp has_vuln:true.
port
int
Shortcut filter for a single port.
ip
string
Shortcut filter for a network/IP (net:).
scan
bool
true runs a live deep check of a single host not fresh in the index.
limit
int · 1-1000
Results per page. Default 100.
offset
int
Offset for pagination.
curl "https://app.athorion.io/v1/search?q=port:443 category:rdp&limit=2" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
{ "query": { "filters": { "port": ["443"] }, "free": "" }, "count": 2, "total": 3007, "offset": 0, "limit": 2, "results": [ { "ip": "185.12.4.7", "ports": [22, 443, 3389], "products": ["nginx"], "cves": ["CVE-2024-6387"], "vulns": 1, "kev": false, "last_seen": "2026-10-17T06:12:09Z" } ], "on_demand": null }
POST/v1/scansscope: scan

Start a security scan

Queues a full non-intrusive Tier-2 scan of any public domain or IP (ports, TLS, HTTP banners, version-based CVEs). No proof of ownership required. Returns a job id to poll. An optional webhook_url is POSTed when the scan finishes.

PARAMETERS
target
body · required
Domain or public IPv4.
webhook_url
body
Public http(s) URL called once the scan finishes (overrides the key default).
curl -X POST "https://app.athorion.io/v1/scans" \ -H "Authorization: Bearer $ATHORION_KEY" \ -H "Content-Type: application/json" \ -d '{"target":"example.de"}'
RESPONSEexample
{ "id": "e3b0c442-98fc-1c14-9afb-4c8996fb9242", "target": "example.de", "status": "queued", "created_at": "2026-10-18T13:20:11Z" }
GET/v1/scans/{id}scope: scan

Get scan status & result

Poll after starting a scan. While running, status is queued or running. When done, findings (severity, CVE, KEV, category) and a pdf_url are filled in. refused/error carry a refusal_reason.

PARAMETERS
id
path · required
The scan id from POST /v1/scans.
curl "https://app.athorion.io/v1/scans/{id}" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
{ "id": "e3b0c442-98fc-1c14-9afb-4c8996fb9242", "target": "example.de", "status": "done", "created_at": "2026-10-18T13:20:11Z", "finished_at": "2026-10-18T13:21:02Z", "refusal_reason": null, "finding_count": 7, "kev_count": 1, "counts": { "high": 1, "medium": 2, "low": 4 }, "findings": [ { "title": "OpenSSH 8.9p1 (version-based)", "severity": "high", "cve": "CVE-2024-6387", "kev": true, "category": "service", "reference": "185.12.4.7:22" } ], "pdf_url": "https://app.athorion.io/v1/scans/e3b0c442-.../report.pdf" }
GET/v1/scans/{id}/report.pdfscope: scan

Download the PDF report

The branded PDF of a finished scan (same as pdf_url). Content-Type application/pdf. Available once status is done; 404 before that.

PARAMETERS
id
path · required
The scan id.
curl "https://app.athorion.io/v1/scans/{id}/report.pdf" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
%PDF-1.7 %\xE2\xE3\xCF\xD3 ... (binary stream) Content-Type: application/pdf Content-Disposition: attachment; filename="athorion-example.de.pdf"
GET/v1/modelsscope: llm

List defence AI models

The defence AI router catalogue: manta (fast triage, the default) and nautilus (deep reasoning). Pick one with ?model= on /v1/ask (unknown/empty falls back to the default). available:false means that alias is not configured on this instance.

PARAMETERS
curl "https://app.athorion.io/v1/models" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
{ "default": "manta", "models": [ { "id": "manta", "label": "Manta", "reasoning": "low", "available": true, "default": true }, { "id": "nautilus", "label": "Nautilus", "reasoning": "high", "available": true, "default": false } ] }
POST/v1/askscope: llm

Ask the defence AI

Grounded Q&A. The model runs a live, non-intrusive deep check of any host named in the question and answers only from that evidence (never invents findings). Returns the answer, the model that served it, and the hosts it checked.

PARAMETERS
q
body · required
The question. Any domain/IP in it is deep-checked live.
model
body
manta (fast) or nautilus (deep). Default manta.
history
body
Optional JSON array of prior {q, a} turns for context.
curl -X POST "https://app.athorion.io/v1/ask" \ -H "Authorization: Bearer $ATHORION_KEY" \ -H "Content-Type: application/json" \ -d '{"q":"is mail.example.de exposed?","model":"nautilus"}'
RESPONSEexample
{ "model": "nautilus", "model_label": "Nautilus", "answer": "mail.example.de exposes SMTP on 25 and\n587 with STARTTLS; SPF and DMARC are present,\nDKIM is missing. No critical CVE on the banner.", "grounded_on": ["mail.example.de"] }
GET/v1/ask/streamscope: llm

Stream an answer (SSE)

Server-Sent-Events variant of /v1/ask: think deltas (the model reasoning), then answer deltas (the content), then a done event. Same grounding and models.

PARAMETERS
q
string · required
The question.
model
string
manta or nautilus.
h
string
Optional JSON history array.
curl -N "https://app.athorion.io/v1/ask/stream?q=is example.de exposed?&model=nautilus" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
event: think data: Running a live deep check of example.de (DNS, mail, TLS, ports, CVEs) ... event: answer data: example.de has no critical exposure. event: done data: {}
POST/v1/chat/completionsscope: llm

OpenAI-compatible chat

Drop-in for the OpenAI SDK and agent clients such as Crush, Cursor or Continue: base URL https://app.athorion.io/v1, your key as the API key. Supports stream, tools (calls come back as proper tool_calls) and JSON mode. Unlike /v1/ask there is no live scan - you supply the context.

PARAMETERS
model
body · required
nautilus (thinks first) or manta (answers directly); full / flash also work, unknown names return 400.
messages
body · required
OpenAI chat messages.
stream
body
true for Server-Sent Events in the OpenAI chunk format.
tools
body
Function tools; the model's calls come back as tool_calls.
curl -X POST "https://app.athorion.io/v1/chat/completions" \ -H "Authorization: Bearer $ATHORION_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nautilus","messages":[{"role":"user","content":"Explain the risk of RDP without NLA."}]}'
RESPONSEexample
{ "model": "nautilus", "choices": [{ "message": { "role": "assistant", "content": "Without NLA the login screen is\nreachable before authentication ..." }, "finish_reason": "stop" }] }
GET/v1/integrations/wazuh/connector/configscope: wazuh

Connector configuration

The first call of every run and the installer's key test. Returns name and tenant of the connector, poll_seconds, the effective filter settings, version and SHA-256 of the current scanner list, the latest package version and the rule pack version. It contains no URL or host the connector would contact: downloads are built from the local download_base.

PARAMETERS
printf 'header = "Authorization: Bearer %s"\n' "$(sudo cat /etc/athorion-wazuh/default/key)" \ | curl -sS -K - "https://app.athorion.io/v1/integrations/wazuh/connector/config"
RESPONSEexample
{ "schema": "athorion.wazuh.config.v1", "integration": { "id": "3f2a9c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b", "name": "wazuh-manager-01", "tenant": "Example Ltd" }, "poll_seconds": 300, "settings": { "types": ["port_opened", "port_closed", "finding_new", "finding_resolved", "cert_expiring", "score_changed", "subdomain_new", "pentest_started", "pentest_finished"], "min_severity": "low", "include_watch": true, "include_adhoc": false, "lang": "en", "min_score_delta": 3, "baseline": true, "include_why": true }, "scanner_list": { "version": "1", "sha256": "18e225c48bd5bc22fc1ace2d5a7863f5...", "ips": ["93.91.80.102", "93.91.80.103", "..."] }, "latest_connector": { "version": "1.0.4", "sha256": "..." }, "rules": { "version": "1", "test_rule_id": "117102" }, "inventory": { "enabled": false } }
GET/v1/integrations/wazuh/connector/eventsscope: wazuh

Pull events

New events after cursor, oldest first, already filtered by the settings of the connector and rendered in its language. Repeat with next_cursor while has_more is true. The call also acknowledges cursor. The examples read the key from the connector's key file, and cURL takes it through stdin, so it never shows up in the process list of a shared manager. The supported test by hand is sudo /opt/athorion-wazuh/bin/athorion-wazuh test.

PARAMETERS
cursor
string
Opaque cursor from the previous answer. Empty resumes at the last acknowledged position; start replays everything since the connector was created, now skips the backlog.
limit
int · 1-500
Events per page. Default 500.
printf 'header = "Authorization: Bearer %s"\n' "$(sudo cat /etc/athorion-wazuh/default/key)" \ | curl -sS -K - "https://app.athorion.io/v1/integrations/wazuh/connector/events?cursor=c1.rBypjIf43QU.EptP5gNeWkU&limit=500"
RESPONSEexample
{ "schema": "athorion.wazuh.feed.v1", "events": [ { "v": "1", "pack": "1", "event_id": "65d3a866f4c1d7a97431431915c8acf6", "type": "port_opened", "severity": "high", "kev": "false", "baseline": "false", "source": "watch", "scope": "own", "service_group": "remote", "risk_vector": "open_ports", "cve": "none", "product": "none", "evidence": "observed", "status": "none", "band": "none", "mode": "none", "ip": "203.0.113.10", "port": "3389", "transport": "tcp", "title": "New open port 3389/tcp (remote access) on 203.0.113.10", "lang": "en", "observed_at": "2026-11-04T09:12:00Z", "url": "https://app.athorion.io/app/hosts/203.0.113.10" } ], "next_cursor": "c1.10L5yFWp-rY.bDBXSRVQwkw", "has_more": false, "reset": false, "server_time": "2026-11-04T09:15:02Z" }
POST/v1/integrations/wazuh/connector/heartbeatscope: wazuh

Send a heartbeat

Sent at the end of every run: versions, node type, mode, instance, host label, alert levels, the last error without secrets and the cursor the connector saved (acked_cursor, only ever moves forward). Unknown fields return 422, bodies above 64 KB 413. The console shows status, lag and the test pick-up from it.

PARAMETERS
acked_cursor
body
The cursor just saved; acknowledges every event before it.
connector_version · wazuh_version · rules_version
body
Versions, for the outdated hints in the console.
node_type · mode · instance
body
master, worker or agent; file, wodle or agent; the instance name.
log_alert_level · email_alert_level
body
From ossec.conf; above 3 the test event is not stored.
last_error · stats
body
The last error (secrets removed) and run counters.
printf 'header = "Authorization: Bearer %s"\n' "$(sudo cat /etc/athorion-wazuh/default/key)" \ | curl -sS -K - -X POST "https://app.athorion.io/v1/integrations/wazuh/connector/heartbeat" \ -H "Content-Type: application/json" \ -d '{"connector_version":"1.0.4","wazuh_version":"4.14.9","node_type":"master","mode":"file","instance":"default","rules_version":"1","log_alert_level":3,"acked_cursor":"c1.10L5yFWp-rY.bDBXSRVQwkw"}'
RESPONSEexample
{ "ok": true, "server_time": "2026-11-04T09:15:03Z" }
GET/v1/integrations/{target}/connector/configscope: siem

Connector configuration

The first call of every run: connector name and tenant, poll_seconds, the effective settings (filters, language, and the syslog target’s format: cef or leef), the scanner list version and the latest connector package version. target is one of sentinel, splunk, elastic, graylog, syslog; a key of another connector gets 403.

PARAMETERS
target
path · required
sentinel, splunk, elastic, graylog or syslog.
curl "https://app.athorion.io/v1/integrations/{target}/connector/config" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
{ "schema": "athorion.siem.config.v1", "target": "syslog", "integration": { "id": "3f2a9c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b", "name": "QRadar", "tenant": "Example Ltd" }, "poll_seconds": 300, "settings": { "types": [ ... ], "min_severity": "low", "include_watch": true, "include_adhoc": false, "lang": "en", "min_score_delta": 3, "baseline": true, "include_why": true, "format": "cef" }, "scanner_list": { "version": "1", "sha256": "..." }, "latest_connector": { "version": "1.0.1", "sha256": "..." } }
GET/v1/integrations/{target}/connector/eventsscope: siem

Pull events in the target format

New events after cursor, oldest first, filtered by the connector settings and already rendered in the target’s wire format: events[] holds flat records for Sentinel, HEC envelopes for Splunk, ECS documents for Elastic, GELF objects for Graylog and {event_id, severity, line} (the finished CEF/LEEF line) for Syslog. Elastic additionally gets next_url for its link pagination.

PARAMETERS
cursor
string
Opaque cursor from the previous answer; same semantics as the Wazuh feed.
limit
int · 1-500
Events per page. Default 500.
curl "https://app.athorion.io/v1/integrations/{target}/connector/events?cursor=c1.rBypjIf43QU.EptP5gNeWkU&limit=500" \ -H "Authorization: Bearer $ATHORION_KEY"
RESPONSEexample
{ "schema": "athorion.siem.feed.v1", "target": "syslog", "events": [ { "event_id": "65d3a866f4c1d7a97431431915c8acf6", "severity": "high", "line": "CEF:0|Athorion|EASM|1|PORT_OPENED|New open port ...|7|start=... dst=... dport=3389 ..." } ], "next_cursor": "c1.10L5yFWp-rY.bDBXSRVQwkw", "has_more": false, "reset": false, "server_time": "2026-11-04T09:15:02Z" }
POST/v1/integrations/{target}/connector/heartbeatscope: siem

Send a heartbeat

Sent at the end of every run: connector and destination version, a short node label (node_type, for example splunk-hec), the transport in mode, the instance name, the last error without secrets and acked_cursor. The console shows status, lag and the test pick-up from it; 402 (plan) pauses the connector.

PARAMETERS
acked_cursor
body
The cursor just saved; acknowledges every event before it.
connector_version · dest_version
body
Connector package version and the destination product version.
node_type · mode · instance
body
Short destination label, transport (file, hec, gelf, udp, tcp, tls), instance name.
last_error · stats
body
The last error (secrets removed) and run counters.
curl -X POST "https://app.athorion.io/v1/integrations/{target}/connector/heartbeat" \ -H "Authorization: Bearer $ATHORION_KEY" \ -H "Content-Type: application/json" \ -d '{"connector_version":"1.0.1","dest_version":"5.2.1","node_type":"syslog-tls","mode":"tls","instance":"default","acked_cursor":"c1.10L5yFWp-rY.bDBXSRVQwkw"}'
RESPONSEexample
{ "ok": true, "server_time": "2026-11-04T09:15:03Z" }
TOOLING
Coming soon

athorion CLI

A thin command-line client over this API is in preparation: run a scan, pull the PDF and talk to the defence AI straight from your terminal. It is not published yet, so there is nothing to install today. Until then, use the REST API above or connect your AI app to the MCP server at https://mcp.athorion.io/mcp.