Skip to main content
POST
/
v1
/
logs
Get Logs For App
curl --request POST \
  --url https://api.pulze.ai/v1/logs/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "date_from": "2023-11-07T05:31:56Z",
  "params": [],
  "date_to": "2023-11-07T05:31:56Z",
  "app_ids": [],
  "labels": {},
  "query": ""
}
'
{
  "items": [
    "<unknown>"
  ],
  "page": 123,
  "pages": 123,
  "size": 123,
  "total": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1
Required range: x >= 1
size
integer
default:50
Required range: 1 <= x <= 100

Body

application/json
date_from
string<date-time>
required

The earliest date we are searching for.

params
GetTableSortParams · object[]

The sorting parameters for the query

date_to
string<date-time> | null

The latest date we are searching for.

app_ids
string<uuid>[]

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
Labels · object

Only logs (requests) with all of the specified labels will be returned. Values get compared between their lowercase forms.

query
string
default:""

Search for logs containing the query in their Request or Response.

Response

Successful Response

items
any[]
required
page
integer
required
pages
integer
required
size
integer
required
total
integer
required