REST API Reference
The Vigilry REST API is organized around two services: the API Gateway for account management, and the Ingestion Service for sending events.
Authentication Overview
The API supports two authentication methods, resolved in order:
- API Key — Send
X-Api-Key: <rawKey>header. Sets project context. Used for ingestion endpoints. - JWT Session — A
sessionhttpOnly cookie set at login. Used for dashboard/management endpoints.
Authentication
Sign up, log in, log out, and retrieve the current session.
POST
/auth/signupPOST
/auth/loginPOST
/auth/logoutGET
/auth/meOrganizations
Manage your organization profile and members.
GET
/organizations/mePATCH
/organizations/meGET
/organizations/membersPOST
/organizations/:orgId/membersProjects & API Keys
Create and manage projects and their API keys.
GET
/projectsPOST
/projectsGET
/projects/:idPATCH
/projects/:idDELETE
/projects/:idGET
/projects/:projectId/api-keysPOST
/projects/:projectId/api-keysDELETE
/api-keys/:idEvents
Query captured events for your organization.
GET
/eventsIncidents
Create and list detected incidents.
POST
/incidentsGET
/incidentsIngestion Service
Send raw events, server errors, webhooks, and Stripe events. Runs on port 4100.
POST
/ingest/eventsPOST
/ingest/server-errorPOST
/ingest/webhookPOST
/ingest/stripe