API Reference
ArchAI provides a FastAPI-based REST API for integration into internal dashboards and CI/CD pipelines.
Endpoints
POST /impact
Triggers a CIRAS risk assessment.
Request Body:
POST /plan
Triggers a WDP-TG work decomposition.
Request Body:
POST /simulate-sprint
Runs a SRC-RS sprint success simulation.
Request Body:
POST /release-confidence
Assess release integrity. Identical request schema to /simulate-sprint.
Authentication
ArchAI API uses API Key authentication. All requests to protected endpoints must include the X-API-Key header.
Default Key: archai-secret-key (Configure via api_key in archai_config.yaml)
SDK Integration
Python Example
import requests
headers = {"X-API-Key": "your-secret-key"}
response = requests.post("http://localhost:8000/impact", headers=headers, json={
"path": "/Development/project",
"target": "CoreLogic",
"depth": 5
})
print(response.json())