Complete API documentation for integrating SmartAudit into your development workflow.
SmartAudit uses API keys for authentication. Include your API key in the Authorization header:
/api/v1/projectsList all projects
/api/v1/projectsCreate a new project
/api/v1/projects/{id}/scanGet scan results for a project
/api/v1/projects/{id}/scanTrigger a new compliance scan
{
"id": "proj_123",
"name": "My Project",
"status": "active",
"compliance_score": 95,
"last_scan": "2024-06-30T10:30:00Z",
"issues": {
"critical": 0,
"high": 2,
"medium": 5,
"low": 10
},
"created_at": "2024-06-01T09:00:00Z"
}API requests are limited to 1000 requests per hour per API key. Rate limit information is included in response headers.