v1.2.0 Stable

Developer Hub

Build automated compliance workflows and integrate your infrastructure with the PolicyGuard AI engine.

Authentication

All API requests must be authenticated using a Secret Key. You can manage your API keys in theSettings section.

Example Header
Authorization: Bearer PG_SECRET_KEY

Keep your API keys secure. Never share them in client-side code or public repositories.

Organization

Retrieve details about your organization, including employee counts and compliance status.

GET/v1/organization

Request

No body parameters

Response

{
  "id": "org_123",
  "name": "Acme Corp",
  "plan": "growth",
  "compliance_score": 94,
  "employee_count": 840
}

Shadow AI Alerts

Monitor unauthorized AI tool activity detected across your organization network.

GET/v1/alerts/shadow-ai
cURL Example
curl https://getpolicyguard.com/api/v1/alerts/shadow-ai \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json"