API Reference

The ThretVyn REST API lets you query alerts, retrieve correlated incidents, and manage integrations programmatically. Base URL: https://api.thretvyn.com/v1

Authentication

All API requests require an Authorization header with a Bearer token. Generate API tokens under Settings → API Keys in your ThretVyn workspace.

Rate Limits

API rate limits are applied per API key:

Plan Requests/minute Requests/day
Starter 60 10,000
Growth 300 100,000
Enterprise Custom Unlimited

Rate limit headers are included in all responses:

Alerts

An alert is a single detection signal from one data source. Correlated alerts that form a kill-chain pattern are grouped into incidents (see below).

GET /alerts

List alerts for the authenticated workspace. Results are paginated; default page size is 50.

Query parameters

ParameterTypeDescription
statusstringnew, in_progress, resolved, suppressed
severitystringP1, P2, P3
sourcestringcrowdstrike, cloudtrail, okta, etc.
fromISO 8601Start of time range. Default: 24h ago.
limitintegerResults per page. Max 200.
cursorstringPagination cursor from previous response.

Incidents

An incident is a correlated kill-chain event grouping two or more individual alerts. ThretVyn's correlation engine assembles incidents automatically.

GET /incidents/{incident_id}

Retrieve a single correlated incident with full alert chain and timeline.

Integrations

GET /integrations

List all configured integrations and their health status.