# Audit logs

## Introduction

Patchworks audit logs capture key events/actions that happen in your company's dashboard. In the event of a query (for example, 'when did our service settings change?'), users with **client admin** permissions can access **audit logs** for clarification.

## Accessing audit logs

To access audit logs, select **settings** from the left-hand navigation menu, then choose the **audit logs** option:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FbSemFl5RL3itURaxYT8n%2Faudit%20logs%20-%20navigation.png?alt=media&#x26;token=6d9c40dc-e5b8-4ae6-8976-2aef684bddc9" alt=""><figcaption></figcaption></figure>

## Working with audit logs

Events are [displayed by date](#user-content-fn-1)[^1]. Each event is shown with '[headline' information](#user-content-fn-2)[^2] in a shaded header bar - for example:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FWaydyWR6yTTzLrubBQNn%2Faudit%20logs%201.png?alt=media&#x26;token=df6aa23c-3b57-464d-80a6-a5ca2bf673ae" alt=""><figcaption></figcaption></figure>

### Header bar

The header bar colour reflects the nature of the event:

| Colour | Meaning         |
| ------ | --------------- |
| Green  | Added / created |
| Orange | Updated         |
| Red    | Deleted         |

### Details

Click the [details option](#user-content-fn-3)[^3] associated with an event to view a detailed log - for example:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FIMP0VMwAUCBGfpu6L032%2Faudit%20log%20details.png?alt=media&#x26;token=eb5cbcd0-753d-47ef-92db-5a95f950e677" alt=""><figcaption></figcaption></figure>

### Search

Use the [search bar](#user-content-fn-4)[^4] at the top of the page to search all of your logs for a particular event. For example, you might search for a person's name, a keyword or an ID). For example:

<figure><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FOAG4yc0SGe0HgcGWntxB%2Faudit%20search.png?alt=media&#x26;token=5694e223-328c-4e30-8ca8-8ec0f29a94aa" alt=""><figcaption></figcaption></figure>

[^1]: See item 1 in the screenshot above.

[^2]: See item 2 in the screenshot above.

[^3]: See item 3 in the screenshot above.

[^4]: See item 4 in the screenshot above.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.wearepatchworks.com/product-documentation/general-settings/audit-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
