Building Aegis Sovereign — Our proprietary platform, actively deployed and improving daily. See the platform →
Home/Docs/API Reference
Documentation

API Reference

Everything in Kaimz is available over a REST API — query your telemetry, pull detections and incidents, and drive automated response from your own tooling.

On this page
  1. Authentication
  2. Base URL & conventions
  3. Assets
  4. Detections & incidents
  5. Response (RTR)
  6. Risk & exposure
  7. Identity & NHI
  8. Compliance & SIEM
  9. Errors & rate limits

Authentication

Authenticate with an API key in the x-kaimz-key header (generated in the console), or with a console session. All traffic is HTTPS; the brain also supports mutual-TLS for agents.

curl -H "x-kaimz-key: <YOUR_KEY>" \
  https://<brain-host>:4000/v1/assets
Keep keys secret. Scope keys to least privilege, rotate them, and never commit them to source. Treat a key like a password.

Base URL & conventions

Base URLhttps://<brain-host>:4000/v1
FormatJSON request and response bodies; UTF-8.
Auth headerx-kaimz-key: <YOUR_KEY>
MethodsGET to read, POST to act/create.

Example payloads below are representative; field names may vary by version. Use the console's API explorer for the exact current schema of your deployment.

Assets

GET/v1/assets
List managed endpoints with computed online/offline status (deduplicated).
curl -H "x-kaimz-key: <KEY>" https://<brain-host>:4000/v1/assets

# → representative response
[
  { "id": "kaimz-...", "hostname": "web-01", "os": "linux",
    "status": "online", "riskScore": 72, "lastSeen": "2026-06-14T15:02:11Z" }
]
GET/v1/assets/:id
Asset detail with computed liveness, threats, vulnerabilities and processes.

Detections & incidents

Raw detections, and incidents that fold many detections into actionable cases with a timeline and MITRE mapping.

MethodEndpointPurpose
GET/v1/detectionsBehavioral / ATT&CK detections
GET/v1/incidentsIncident summary + list (ranked)
GET/v1/incidents/:idFull incident report (timeline, kill-chain)
POST/v1/incidents/:id/statusAcknowledge / resolve an incident
# Acknowledge an incident
curl -X POST -H "x-kaimz-key: <KEY>" -H "Content-Type: application/json" \
  -d '{"status":"acknowledged"}' \
  https://<brain-host>:4000/v1/incidents/<id>/status

Response (RTR)

Drive real-time response — isolate, kill, quarantine, scan, forensics — as cryptographically-signed tasks dispatched to agents.

GET/v1/response/actions
Catalog of available response actions.
POST/v1/response/:assetId/action
Queue a signed action for an endpoint.
# Isolate an endpoint
curl -X POST -H "x-kaimz-key: <KEY>" -H "Content-Type: application/json" \
  -d '{"action":"isolate","params":{"mode":"full"}}' \
  https://<brain-host>:4000/v1/response/<assetId>/action

# → { "status": "DISPATCHED", "taskId": "..." }
GET/v1/response/history
Audit trail of dispatched response actions.
Signed tasks. Response actions are ECDSA-signed before dispatch, so a compromised channel can't forge kill/isolate commands to your fleet.

Risk & exposure

MethodEndpointPurpose
GET/v1/risk/asset/:idExplainable risk score + top vuln breakdown
POST/v1/vulnerabilities/smart-scoreScore a vuln (CVSS + EPSS + KEV + context)
GET/v1/exposureRunning & network-reachable exposure
POST/v1/device-posture/scanTrigger a device-hardening posture scan
GET/v1/ransomwareRansomware canary & signal status
# Risk score for a CVE in context
curl -X POST -H "x-kaimz-key: <KEY>" -H "Content-Type: application/json" \
  -d '{"cve":"CVE-2024-0000","assetId":"kaimz-..."}' \
  https://<brain-host>:4000/v1/vulnerabilities/smart-score
# → { "riskScore": 100, "band": "Critical", "decision": "PATCH_NOW",
#     "kev": true, "epss": 0.94, "factors": [ ... ] }

Identity & NHI

MethodEndpointPurpose
GET/v1/identity/inventoryHuman identity inventory + risk
GET/v1/itdr/threatsIdentity threats (brute force, multi-IP, anomalies)
GET/v1/nhiNon-human identities — keys, tokens, service accounts
GET/v1/ueba/entitiesUEBA entities & behavioral anomalies

Compliance & SIEM

MethodEndpointPurpose
GET/v1/compliance/postureLive control status mapped to frameworks (CIS/PCI/HIPAA/ISO)
GET/v1/bas/coverageATT&CK detection-coverage matrix
GET/v1/iot/inventoryNetwork/IoT discovery (managed vs shadow)
POST/v1/dlp/analyzeAnalyze content for secrets/PII (Luhn + entropy + signatures)

SIEM search runs the Kaimz Query Language (KQL) over alerts, detections and telemetry — query from the console's SIEM view or via the search API in your deployment.

Errors & rate limits

The API uses standard HTTP status codes. Errors return a JSON body with a message.

CodeMeaning
200Success
400Bad request — check your payload
401Missing or invalid API key
404Resource not found
429Rate limited — back off and retry
500Server error

Be a good client: handle 429 with exponential backoff, and page large result sets rather than pulling everything at once.

Build on Kaimz

Automate detection & response

Deploy Kaimz Talk to us