Draftt exposes a REST API for programmatic access to your inventory, findings, and governance data.
Full API reference is available in the API Documentation tab.
Authentication
All API requests authenticate via API keys. Generate and manage keys in Settings > User Management > API Keys.
API keys are scoped to a role. A key with the Developer role can query and export data but cannot modify platform configuration. A key with the Admin role has full API access.
Users can only generate API keys scoped to their own role. A Developer can create Developer-scoped keys but not Admin-scoped keys.
Common Use Cases
Export inventory data: Pull your full resource inventory into a data warehouse, BI tool, or internal dashboard for custom reporting.
Query findings programmatically: Integrate Draftt findings into your internal governance portals or executive dashboards.
Trigger policy evaluation: Call the policy evaluation endpoint on demand as part of a scheduled job or workflow.
Sync ownership data: Pull resolved ownership from Draftt to enrich other internal tools with team attribution.