---
title: "Query logs"
method: GET
path: "/api/logs"
tags: ["Logs"]
---

# Query logs

`GET /api/logs`

## Request

- Base URL: `https://api.payware.eu`
- URL: `https://api.payware.eu/api/logs`
- Auth: HTTP bearer

Query logs for the authenticated tenant. Returns paginated JSON results.

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `level` string
- `logger` string
- `search` string
- `limit` integer
- `cursor` string

## Response `200`

Logs retrieved successfully

## Other responses

- `401`: Unauthorized - invalid or missing JWT
- `403`: Forbidden - insufficient permissions
- `429`: Too many requests - the caller exceeded its per-partner rate limit. Carries errorCode ERR_RATE_LIMIT_EXCEEDED and a Retry-After header, in seconds. The request was not processed, so the identical request is safe to retry once the window has passed.

---

[API](https://skmtc.dev/payware/apis/payware-api.md) · [All operations](https://skmtc.dev/payware/apis/payware-api/llms.txt) · [OpenAPI document](https://skmtc.dev/payware/apis/payware-api/revisions/7b3352ca947b?raw)
