Get Logs Count
Changed onGet count of new logs since a specific timestamp.
Lightweight endpoint for real-time polling. Recommended polling interval: 5 seconds. Use this to show a "N new logs" badge in the UI.
Request
- Base URLhttps://api.streamkap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Count logs after this timestamp (ISO 8601)
Comma-separated log levels
Include only logs matching this text
Exclude logs matching this text
Treat query_string as an RE2 regular expression
Treat exclude_string as an RE2 regular expression
Bypass the configured server-side noise filters
Request body
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterexclude_regex - info
added the new optional
queryrequest parameterexclude_string - info
added the new optional
queryrequest parameterinclude_noise - info
added the new optional
queryrequest parameterquery_string - info
added the new optional
queryrequest parameteruse_regex
- info