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.

This quickstart uses direct REST calls. For agent-native access, start with Set up Kyberis in your agent.

Prerequisites

  • A Kyberis API key ID and secret
  • curl
  • jq, optional but useful for reading responses
Set local shell variables:
export KYBERIS_BASE_URL="https://api.kyberis.ai"
export KYBERIS_API_KEY_ID="<key_id>"
export KYBERIS_API_KEY_SECRET="<secret>"

Check health

curl -sS "$KYBERIS_BASE_URL/v2/health" \
  -H "Authorization: ApiKey $KYBERIS_API_KEY_ID:$KYBERIS_API_KEY_SECRET" \
  -H "Accept: application/json"
A successful response confirms your credentials can reach the API.

Mint a bearer token

You can call most Kyberis investigation endpoints directly with Authorization: ApiKey <key_id>:<secret>. That is the simplest path for a first request and for trusted server-side integrations. For runtime agent sessions, prefer a short-lived bearer token. The API key remains the long-lived machine credential, while the bearer token is scoped by expiry. This reduces the blast radius if runtime logs, traces, or agent configuration expose an authorization header.
curl -sS -X POST "$KYBERIS_BASE_URL/v2/auth/token" \
  -H "Authorization: ApiKey $KYBERIS_API_KEY_ID:$KYBERIS_API_KEY_SECRET" \
  -H "Accept: application/json"
The response includes access_token, token_type, expires_in, expires_at, scopes, audiences, and issuer. Store the API key in your trusted credential store, mint bearers as needed, and refresh them when they expire.

Resolve an entity

curl -sS -X POST "$KYBERIS_BASE_URL/v2/entity-resolution" \
  -H "Authorization: ApiKey $KYBERIS_API_KEY_ID:$KYBERIS_API_KEY_SECRET" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "agent_context": {
      "objective": "Normalize a CVE for investigation.",
      "requested_outcome": "Return the canonical entity identifier.",
      "workflow_stage": "resolve",
      "run_id": "run-quickstart-001",
      "step_id": "step-01"
    },
    "query": "CVE-2024-3094",
    "expected_types": ["cve"],
    "resolution": {
      "max_results": 5,
      "include_aliases": true,
      "include_metadata": true
    }
  }'
Branch on resolution.status:
  • resolved: use canonical_id and entity_type downstream.
  • ambiguous: retry with tighter expected_types or ask for disambiguation.
  • not_found: stop or use a different enrichment source.

Retrieve evidence

Use focused evidence calls. Prefer one claim per request.
curl -sS -X POST "$KYBERIS_BASE_URL/v2/evidence" \
  -H "Authorization: ApiKey $KYBERIS_API_KEY_ID:$KYBERIS_API_KEY_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_context": {
      "objective": "Check whether the CVE is exploited in the wild.",
      "requested_outcome": "Return bounded evidence for active exploitation.",
      "workflow_stage": "evidence",
      "run_id": "run-quickstart-001",
      "step_id": "step-02"
    },
    "query": "CVE-2024-3094",
    "claim_type": "active_exploitation",
    "max_results": 5
  }'

Run an assessment

Use the most specific assessment endpoint available for the subject.
curl -sS -X POST "$KYBERIS_BASE_URL/v2/cve-assessments" \
  -H "Authorization: ApiKey $KYBERIS_API_KEY_ID:$KYBERIS_API_KEY_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_context": {
      "objective": "Decide whether this CVE needs immediate attention.",
      "requested_outcome": "Return deterministic risk guidance with evidence references.",
      "workflow_stage": "assessment",
      "run_id": "run-quickstart-001",
      "step_id": "step-03"
    },
    "query": "CVE-2024-3094",
    "context": {
      "targeted_industries": ["technology"],
      "known_targets": ["XZ Utils 5.6.0", "XZ Utils 5.6.1"],
      "intel_confidence": "medium"
    }
  }'

Next steps

https://mintcdn.com/kyberis-e0f580e4/roQ-u8OU_cEFh4HW/icons/mcp.svg?fit=max&auto=format&n=roQ-u8OU_cEFh4HW&q=85&s=323e4ddfbd679290d1cbe5ff3f3e7e70

Set up an agent

https://mintcdn.com/kyberis-e0f580e4/roQ-u8OU_cEFh4HW/icons/responses.svg?fit=max&auto=format&n=roQ-u8OU_cEFh4HW&q=85&s=953f49e47ca4f1b7cc9d36249458f861

Interpret responses