POST
/
integration
/
logs
Search integration logs
curl --request POST \
  --url https://api.wirespeed.co/integration/logs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "size": 123,
  "page": 123,
  "filter": "<string>",
  "search": "<string>",
  "orderBy": "<string>",
  "orderDir": "asc",
  "timezone": "<string>",
  "type": "error",
  "integrationId": "<string>",
  "day": "<string>"
}'
{
  "data": [
    {
      "id": "<string>",
      "message": "<string>",
      "type": "error",
      "context": {},
      "createdAt": "<string>",
      "integrationId": "<string>"
    }
  ],
  "totalCount": 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 to search logs for

size
number
page
number
filter
string
orderBy
string
orderDir
enum<string>
Available options:
asc,
desc
timezone
string

Timezone for log search results

type
enum<string>

Filter logs by type

Available options:
error,
warning,
info
day
string

Specific day to search logs for

Response

data
object[]
required

Array of integration log entries

totalCount
number
required

Total count of integration logs matching the search criteria