# AuditEndpoints

**Kind:** Class

**Source:** [`atloria-monorepo/packages/api-client/src/endpoints/audit.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/api-client/src/endpoints/audit.ts#L62)

Audit trail endpoints

## Methods

| Method | Signature | Returns |
|---|---|---|
| `query` | `query(projectId: string, params: AuditQueryParams)` | `Promise<AuditQueryResponse>` |
| `queryOrg` | `queryOrg(params: OrgAuditQueryParams)` | `Promise<AuditQueryResponse>` |
| `facets` | `facets()` | `Promise<AuditFacets>` |
| `exportCSV` | `exportCSV(projectId: string)` | `Promise<string>` |
| `exportJSON` | `exportJSON(projectId: string)` | `Promise<AuditQueryResponse>` |
| `exportOrgCSV` | `exportOrgCSV()` | `Promise<string>` |
| `exportOrgJSON` | `exportOrgJSON()` | `Promise<AuditQueryResponse>` |
