> ## Documentation Index
> Fetch the complete documentation index at: https://docs.draftt.io/llms.txt
> Use this file to discover all available pages before exploring further.

# API Access

Draftt exposes a REST API for programmatic access to your inventory, findings, and governance data.

Full API reference is available in the [API Documentation](/api-reference) 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.

<Note>
  Users can only generate API keys scoped to their own role. A Developer can create Developer-scoped keys but not Admin-scoped keys.
</Note>

## 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.
