kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

HTTP API / Audit

Audit

4 endpoints at https://api.kosa8.com, sent with Authorization: Bearer $KOSA8_API_KEY. Generated from the API's own OpenAPI description, which a test holds to the router.

Audit events, newest first#

GET/v1/auditscope audit:read

Each event has source, from its via.

Parameters
sandbox_idquery · string
sandbox_id
actorquery · string
actor
targetquery · string
target
sincequery · string
since
untilquery · string
until
before_seqquery · string
before_seq
limitquery · string
limit
actionquery · string
An action, or a prefix ending in * (sandbox.*)
sourcequery · "ui" | "key" | "token" | "mcp" | "signin" | "scim" | "system"
Where the change came from: ui (the dashboard), key (an API key: SDK, CLI, CI), token (a capability token), mcp (an AI app), signin, scim (the identity provider), system
qquery · string
Words to find in the actor, action, target, sandbox or detail
Responses
200401403
curl -s -X GET https://api.kosa8.com/v1/audit \
  -H "Authorization: Bearer $KOSA8_API_KEY"

Recompute the org's hash chain#

GET/v1/audit/verifyscope audit:read
Responses
200401403
curl -s -X GET https://api.kosa8.com/v1/audit/verify \
  -H "Authorization: Bearer $KOSA8_API_KEY"

Who appears in the audit log, most recent first, with event counts (at most 200)#

GET/v1/audit/actorsscope audit:read
Responses
200401403
curl -s -X GET https://api.kosa8.com/v1/audit/actors \
  -H "Authorization: Bearer $KOSA8_API_KEY"

Audit events as NDJSON (or CSV), oldest first, with hashes; takes the list's filters#

GET/v1/audit/exportscope audit:read
Parameters
formatquery · "ndjson" | "jsonl" | "csv"
Default ndjson
Responses
200401403
curl -s -X GET https://api.kosa8.com/v1/audit/export \
  -H "Authorization: Bearer $KOSA8_API_KEY"

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA