---
title: "Get Audit Logs"
method: GET
path: "/logs/audit-logs"
tags: ["Logs"]
---

# Get Audit Logs

`GET /logs/audit-logs`

## Request

- Base URL: `https://env.unqork.io/api/1.0`
- URL: `https://env.unqork.io/api/1.0/logs/audit-logs`
- Auth: OAuth 2
  - Client credentials
  - Password
  - Token URL: `https://xyzfinancial.unqork.io/api/1.0/oauth2/access_token`
- TypeScript: <https://skmtc.dev/unqork/apis/unqork-customer-api/docs/logs/audit-logs/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve audit logs for a given time period. The time interval between startDatetime and endDatetime must be 1 hour or less.
### Authorization Required:
  - Designer Administrator

## Query parameters

- `startDatetime` string, required
- `endDatetime` string, required

## Response `200`

JSON array containing links to log files

- ListAuditLogsResponse
  - `logLocations` string[]: Array of links to audit log files.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/unqork/apis/unqork-customer-api.md) - [All operations](https://skmtc.dev/unqork/apis/unqork-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unqork/apis/unqork-customer-api/revisions/13dad4096373?raw)
