Skip to main content

API Documentation

Complete reference for HAIEC AI Builders API. 30+ endpoints for CI/CD, compliance, Compliance Twin, and security.

Available Today
Coming Q1 2026

Endpoints

POST/api/ci/scan

Trigger Compliance Scan

Trigger an AI security compliance scan for a GitHub repository

Available
Auth: API Key
cURL
curl -X POST https://haiec.com/api/ci/scan \
  -H "Authorization: Bearer haiec_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "repoUrl": "github.com/org/repo",
    "branch": "main",
    "framework": "SOC2",
    "commitSha": "abc123def456"
  }'

Request Body

{
  "repoUrl": "github.com/org/repo",
  "branch": "main",
  "framework": "SOC2",
  "commitSha": "abc123def456"
}

Response

{
  "scanId": "scan_1234567890",
  "status": "pending",
  "repoUrl": "github.com/org/repo",
  "branch": "main",
  "framework": "SOC2",
  "createdAt": "2026-01-19T10:00:00Z"
}