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

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

type
enum<string>

Filter daily logs by type

Available options:
error,
warning,
info

Search term for filtering logs

day
string

Specific day for daily log search

Response

count
number
required

Count value for the day

day
string
required

Date string for the count

label
string

Display label for the count

group
string

Group identifier for the count