Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.contraforce.com/llms.txt

Use this file to discover all available pages before exploring further.

Every v2 endpoint requires a specific API scope on the credential. Endpoints that are Portal Only (browser-only) are excluded — they are not callable by service accounts. Base URL: https://portal.contraforce.com/api/v2

Workspace-Scoped Endpoints

These endpoints include a workspace ID in the path: /api/v2/workspaces/{workspaceId}/...
MethodPathDescription
GET/workspaces/{workspaceId}/incidents/{incidentId}Get incident by ID
GET/workspaces/{workspaceId}/incidents/{incidentId}/summaryGet incident summary with recommended playbook
GET/workspaces/{workspaceId}/incidents/{incidentId}/entitiesList entities (users, devices, IPs) for an incident
GET/workspaces/{workspaceId}/incidents/{incidentId}/{source}/evidenceGet evidence table for an incident by source
GET/workspaces/{workspaceId}/incidents/{incidentId}/last-gamebookGet the last-run gamebook for an incident
GET/workspaces/{workspaceId}/incidents/{incidentId}/alert-rulesGet Sentinel alert rules that triggered the incident
GET/workspaces/{workspaceId}/incidents/{incidentId}/commentsList comments on an incident
GET/workspaces/{workspaceId}/incidents/by-entityFind incidents related to a specific entity
GET/workspaces/{workspaceId}/incidents/highList high-severity active incidents
POST/incidents/across-workspacesList incidents across all visible workspaces (no workspace ID in path)

Organization-Scoped Endpoints

These endpoints do not require a workspace ID.
MethodPathDescription
GET/webhooksList all webhook configurations
GET/webhooks/{id}Get a webhook configuration by ID
GET/webhooks/{id}/delivery-logsList delivery logs for a webhook
GET/webhooks/{id}/delivery-logs/{logId}Get a specific delivery log entry