Parameters
JSON body
Request body
application/jsonmessagestringRequiredLog message payload. Intended for system/application logs coming from external services/websites. Keep it human-readable or JSON; include essential context (e.g., module, action, identifiers) to make triage easier. For structured data, serialize into the message or extend the endpoint to accept extra fields.
[checkout] Payment callback failed: missing transId (orderId=25000233)Unhandled exception in worker: TypeError: Cannot read properties of undefined (jobId=abcd1234)codestringOptionalApplication-defined log code (short slug). Groups related events for anomaly detection and links to docs.bizkithub.com/system-codes/<code>. Defaults to API_TRK when omitted.
DNS_SCHED_FUPT_SCHED_FCRN_JOB_FAILcomponentstringOptionalSub-system that produced the log. Used for dashboard grouping. Free-form short slug — typical values: common, cron, dns, geoIp, crawler, abuseIp, uptime, robotsTxt.
crondnssubjectstringOptionalOne-line summary used as the subject of any notification email dispatched for this log entry.
DNS sync-state write failed for domain 42 (example.com)level"info" | "success" | "error" | "warning" | "critical"OptionalSeverity level of the log entry. Used for filtering, alerting and retention rules.
info= diagnostic signalsuccess= positive milestonewarning= potential issueerror= failure that impacted a request/jobcritical= high priority incident requiring immediate attention.
If omitted, the backend should treat it as a default level (commonly info).
infosuccesserrorwarningcriticalerrorwarningsendNotificationbooleanOptionalWhen true, the log entry is eligible to trigger notifications (e.g., email/Slack/push) according to organisation settings. Use sparingly for actionable events (typically error/critical). If omitted, the system decides based on level and notification rules.
truefalseuseDebounceobject | booleanOptionalAdvanced debounce configuration. maxInterval defines maximum grouping window for duplicates (if omitted, backend uses a default interval).
enabledbooleanRequiredEnable/disable debouncing for this event. If omitted, the backend treats it as enabled.
truekeystringOptionalOptional custom debounce key. When provided, logs sharing the same key will be grouped together (useful for dynamic messages).
stripe-webhook-timeoutdb-connection-failedmaxIntervalstring | numberRequiredRelative time interval expressed as a string.
Supported units and conversion (REAL_TIME_CHAR_TO_MINUTES):
| Unit | Name | Minutes | Notes |
|---|---|---|---|
m |
minute | 1 |
|
h |
hour | 60 |
|
d |
day | 1440 |
24h |
w |
week | 10080 |
7d |
y |
year | 525600 |
365d |
Rules:
- Units are case-insensitive and can be combined:
3w 4d 12h. - Decimal values are allowed:
0.5h,2.5d. - Spaces and unit variants are tolerated:
10m,10 min,10 minutes. - Numeric value without a unit is interpreted as hours.
Rounding:
- Result is returned in minutes and rounded up (
Math.ceil).
Invalid or empty input returns 0.
3w 4d 12h10m0.5h2.53,1Relative time interval expressed as a number of minutes.
Rules:
- Value is taken directly as minutes (e.g.
30= 30 minutes). - No unit parsing or conversion is applied.
30601501440Simple debounce toggle. When true, repeated logs may be deduplicated/grouped within a backend-defined window. When false, debouncing is disabled and every event is stored.
truefalse