Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.kyberis.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Kyberis Threat Investigator API helps machine consumers resolve entities, retrieve bounded evidence, pivot through relationships, prioritize signals, and produce deterministic threat assessments. The API is intentionally LLM-free on the serving path. Use it when you need structured JSON outputs that are explainable, repeatable, and suitable for agent workflows.

Base URL

https://api.kyberis.ai

Authentication

Kyberis supports long-lived API key credentials and short-lived machine bearer tokens. Use API key credentials for most agent-facing /v2 endpoints:
Authorization: ApiKey <key_id>:<secret>
Mint a short-lived bearer token from API key credentials:
POST /v2/auth/token
Authorization: ApiKey <key_id>:<secret>
Then call bearer-protected endpoints:
Authorization: Bearer <access_token>
The OpenAPI specification is the source of truth for which auth scheme each endpoint accepts.

Agent context

Most POST /v2/* investigation endpoints require an agent_context object so Kyberis can validate intent, correlate requests, and return auditable outputs. Required fields:
  • objective
  • requested_outcome
  • workflow_stage
  • run_id
  • step_id
Allowed workflow_stage values include resolve, evidence, relationships, assessment, hydrate, batch, finalize, and other.
{
  "agent_context": {
    "objective": "Determine whether CVE-2024-3094 is relevant to our environment.",
    "requested_outcome": "Return evidence and a deterministic assessment.",
    "workflow_stage": "assessment",
    "run_id": "run-20260527-001",
    "step_id": "step-04"
  }
}
For GET /v2/entities/{canonical_id} and GET /v2/evidence/{evidence_id}, send the same context with request headers:
  • X-Agent-Objective
  • X-Agent-Requested-Outcome
  • X-Agent-Workflow-Stage
  • X-Agent-Run-ID
  • X-Agent-Step-ID

Request correlation

You can send X-Request-ID on any request. Responses include X-Request-ID with either your sanitized value or a generated identifier. Error responses include error_code, message, status_code, and request_id. When agent context is available, errors also include run_id and step_id.

Investigation flow

Use this default workflow for threat investigations:
  1. Normalize raw input with POST /v2/entity-resolution.
  2. If the result is ambiguous, constrain expected_types or ask for disambiguation.
  3. Retrieve claim-level evidence with POST /v2/evidence.
  4. Pivot from canonical entities with POST /v2/relationships.
  5. Use POST /v2/prioritize for environment-aware triage.
  6. Use the matching assessment endpoint for a deterministic verdict.
  7. Hydrate referenced entities and evidence by ID when you need bounded detail.

Endpoint groups

Health

Check authenticated service availability.

Auth

Mint bearer tokens and manage API keys.

Resolution

Normalize raw inputs into canonical Kyberis entities.

Intel and evidence

Search intelligence and retrieve bounded evidence for specific claims.

Relationships

Pivot through bounded relationships for canonical entities.

Prioritize

Rank signals by environment-aware deterministic relevance.

Assessments

Produce structured CVE, actor, IOC, environment, and threat assessments.

OpenAPI

{
  "title": "Threat Investigator API v2",
  "version": "0.1.0"
}