---
title: "Retrieve all logs"
method: GET
path: "/logs"
tags: ["logs"]
---

# Retrieve all logs

`GET /logs`

This will only return Logs that pertain to the current user's tenant.

## Query parameters

- `page[size]` integer
- `page[number]` integer
- `filter[tenant]` string
- `filter[service]` string
- `filter[nameSpace]` string
- `search` string

## Response `200`

A list of logs.

- object
  - `data` Log[]
    - `service` string, required — Name of the service
    - `timeStamp` string, required
    - `nameSpace` string, required
    - `payload` object, required
      - `tenant` string
      - `source` string
      - `object` string
      - `action` string
      - `subject` string
      - `details` string
  - `meta` Meta
    - `page` integer — Current page (1-based numbering)
    - `perPage` integer — Number of objects per page
    - `total` integer — Total number of objects
    - `totalPages` integer — Total number of pages

## Other responses

- `401` — Missing authorization header. Login via the IAM to receive a token.
- `404` — No logs associated with the current tenant could be found in the repository.

---

[API](https://skmtc.dev/openintegrationhub/apis/audit-log.md) · [All operations](https://skmtc.dev/openintegrationhub/apis/audit-log/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintegrationhub/audit-log/revisions/30e8a217f4b5/schema)
