API Overview

    Authentication, event queries, policy automation, and evidence export patterns for integrating QuantLayer.

    API
    Automation
    Events
    8 min
    Last updated: 2026-01-22

    Overview

    Use the API to automate onboarding, query events, manage policies, and export evidence.

    Authentication

    Use bearer tokens (or your configured auth mechanism). Store tokens securely and rotate regularly.

    Events query

    curl -s -H "Authorization: Bearer <TOKEN>" \
      "https://api.quantlayer.example/v1/events?since=24h&type=policy_decision"

    Policies

    Create and update policy objects, then stage/enforce with approvals.

    Reports

    Export evidence packs by time range, site, zone, or identity group.

    Automation patterns

    • New high-risk event → SOAR quarantine.
    • Detect drift → open ticket + enforce step-up.
    • Weekly audit bundle export.