Skip to main content
POST
/
logs
/
count
Get Logs Count
curl --request POST \
  --url https://api.streamkap.com/logs/count \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_ids": [],
  "destination_ids": [],
  "transform_ids": []
}
'
{
  "count": 123,
  "since": "<string>",
  "filters_applied": {
    "source_ids": [],
    "destination_ids": [],
    "transform_ids": [],
    "log_level": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

since
string
required

Count logs after this timestamp (ISO 8601)

log_level
string | null

Comma-separated log levels

Body

application/json

Request body for log count endpoint.

source_ids
string[] | null
destination_ids
string[] | null
transform_ids
string[] | null

Response

Successful Response

Response model for log count endpoint.

count
integer
required
since
string
required
filters_applied
LogCountFiltersApplied · object
required

Filters that were applied to the count query.