# Audit Logs Actions Details on the various actions that can be performed on the Audit Logs resource, including the expected parameters and the potential responses. ##### Contents * [Get](#get)
## Get Returns the audit logs for the organization ```ruby result = client.audit_logs.get(orgId: my_org_id) puts result ``` #### Available Parameters | Name | Type | Required | Description | Default | Example | | ---- | ---- | -------- | ----------- | ------- | ------- | | orgId | string | Y | ID associated with the organization | | 575ed6e87ae143cd83dc4aa8 | | sortField | string | N | Field to sort the results by. Accepted values are: creationDate, responseStatus, actorName | creationDate | creationDate | | sortDirection | string | N | Direction to sort the results by. Accepted values are: asc, desc | desc | asc | | page | string | N | Which page of results to return | 0 | 0 | | perPage | string | N | How many items to return per page | 1000 | 10 | | start | string | N | Start of time range for audit log query | | 1465790400000 | | end | string | N | End of time range for audit log query | | 1465790400000 | | auditLogFilter | [Audit Log Filter](_schemas.md#audit-log-filter) | N | Filters for the audit log query | | [Audit Log Filter Example](_schemas.md#audit-log-filter-example) | #### Successful Responses | Code | Type | Description | | ---- | ---- | ----------- | | 200 | [Audit Logs](_schemas.md#audit-logs) | Collection of audit logs | #### Error Responses | Code | Type | Description | | ---- | ---- | ----------- | | 400 | [Error](_schemas.md#error) | Error if malformed request | | 404 | [Error](_schemas.md#error) | Error if organization was not found |