Skip to main content
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:

Check Health

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.
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

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.

Run an Assessment

Use the most specific assessment endpoint available for the subject.

Next Steps

Set up an agent

Interpret responses