> For the complete documentation index, see [llms.txt](https://docs.frends.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frends.com/reference/frends-platform-api/platform-api-reference/audit-log.md).

# Audit Log

## List Audit log entries

> If response data is empty there were no audit logs found with the chosen filters

```json
{"openapi":"3.1.1","info":{"title":"Frends API","version":"1.0.0"},"tags":[{"name":"AuditLog"}],"servers":[{"url":"https://example.v64.frendsapp.com/"}],"security":[{}],"paths":{"/api/v1/audit-log":{"get":{"tags":["AuditLog"],"summary":"List Audit log entries","description":"If response data is empty there were no audit logs found with the chosen filters","operationId":"ListAuditLogEntries","parameters":[{"name":"PageNumber","in":"query","description":"Current page number. Default value is 1.","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"PageSize","in":"query","description":"Maximum page size is 200. Default page size is 30.","schema":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"format":"int32"}},{"name":"StartDateTimeUtc","in":"query","description":"Start date of the audit log entries, given in ISO8601 format","schema":{"type":"string","format":"date-time"}},{"name":"EndDateTimeUtc","in":"query","description":"End date of the audit log entries, given in ISO8601 format","schema":{"type":"string","format":"date-time"}},{"name":"ActionName","in":"query","description":"Filter by action, in format {Controller}.{Action}","schema":{"type":"string"}},{"name":"UserName","in":"query","description":"Filter by user name","schema":{"type":"string"}},{"name":"Source","in":"query","description":"Filter by source (API, MCP, System, UI)","schema":{"type":"string"}},{"name":"Outcome","in":"query","description":"Filter by outcome (Success or Failure)","schema":{"$ref":"#/components/schemas/AuditOutcome"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagedResponseOfAuditLogDto"}}}}}}}},"components":{"schemas":{"AuditOutcome":{"enum":["Success","Failure"],"default":"Success"},"PagedResponseOfAuditLogDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogDto"},"description":"Response data"},"paging":{"description":"Response paging","$ref":"#/components/schemas/PagingModel"}}},"AuditLogDto":{"required":["user","action","parameters","timestampUtc"],"type":"object","properties":{"user":{"type":"string","description":"User name of the user who performed the action"},"action":{"type":"string","description":"Action performed by the user, in format {Controller}.{Action}"},"parameters":{"description":"Parameters of the action"},"timestampUtc":{"type":"string","description":"Timestamp of the action","format":"date-time"},"description":{"type":["null","string"],"description":"Description of the action"},"source":{"type":"string","description":"Source of the action (API, MCP, System, UI)","default":"UI"},"outcome":{"description":"Outcome of the action (Success or Failure)","$ref":"#/components/schemas/AuditOutcome"}}},"PagingModel":{"type":"object","properties":{"currentPage":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"description":"Current page","format":"int32"},"pageSize":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"description":"Number of entries per page","format":"int32"},"totalCount":{"pattern":"^-?(?:0|[1-9]\\d*)$","type":["integer","string"],"description":"Total number of entries","format":"int32"},"firstPage":{"type":["null","string"],"description":"Url of the first page","format":"uri"},"lastPage":{"type":["null","string"],"description":"Url of the last page","format":"uri"},"nextPage":{"type":["null","string"],"description":"Url of the next page","format":"uri"},"previousPage":{"type":["null","string"],"description":"Url of the previous page","format":"uri"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.frends.com/reference/frends-platform-api/platform-api-reference/audit-log.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
