---
title: "Get Logs For App"
method: POST
path: "/v1/logs/"
tags: ["logs"]
---

# Get Logs For App

`POST /v1/logs/`

Get the list of logs that match the specified filters. When accessing via an App's API Key, only logs for that
app will be returned.

## Query parameters

- `page` integer
- `size` integer

## Request body

- FilterLogsRequest
  - `params` GetTableSortParams[] — The sorting parameters for the query
    - `col` string, required
    - `order` 'asc' | 'desc', required
    - `multiple` boolean, nullable, required
  - `date_from` string, date-time, required — The earliest date we are searching for.
  - `date_to` string, date-time, nullable — The latest date we are searching for.
  - `app_ids` string[] — The list of API Keys we want to filter for. Leave the list empty to disable filtering (and return data for all apps) instead.
  - `labels` object — Only logs (requests) with all of the specified labels will be returned. Values get compared between their lowercase forms.
  - `query` string — Search for logs containing the `query` in their Request or Response.

## Response `200`

Successful Response

- PaginatedResponse
  - `items` unknown[], required
    - unknown
  - `page` integer, required
  - `pages` integer, required
  - `size` integer, required
  - `total` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pulze/apis/pulze-ai-api.md) · [All operations](https://skmtc.net/pulze/apis/pulze-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pulze/pulze-ai-api/revisions/a5e0b539abc5/schema)
