Skip to main content
POST
/
integration
/
logs
/
clickhouse
/
daily
Get daily integration log counts from ClickHouse
curl --request POST \
  --url https://api.wirespeed.co/integration/logs/clickhouse/daily \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "integrationId": "<string>",
  "timezone": "<string>",
  "filter": "error",
  "search": "<string>",
  "day": "<string>"
}
'
[
  {
    "day": "<string>",
    "group": {},
    "count": 123
  }
]

Authorizations

Authorization
string
header
required

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

Body

application/json
integrationId
string
required

ID of the integration for daily log search

timezone
string

Timezone for daily log aggregation

filter
enum<string>

Filter daily logs by type

Available options:
error,
warning,
info,
debug

Search term for filtering logs

day
string

Specific day for daily log search

Response

day
string
required

Day of the aggregation

group
object
required

Log type group

count
number
required

Count of logs for the day/type