BizKitHub
DokumentacePrůzkumník APIDocs/api/v1/docs/system-log-code-activity
getDocsVeřejné API v1

/api/v1/docs/system-log-code-activity

Coarse, scale-free activity per system log code for docs.bizkithub.com/system-codes. lastSeen is a recency bucket and trend is the daily volume of the last days days quantised to 0..levels relative to the busiest day of the same code. No absolute counts, no exact timestamps and no organisation data are exposed, so the response does not disclose platform scale. Only codes that were ever emitted are listed; treat a missing code as never. Cached for 15 minutes.

docsgetApiV1DocsSystem-log-code-activity

Parametry

Bez parametrů

Tento endpoint nepřijímá žádné parametry v cestě, query, hlavičce ani v těle.

Schéma odpovědi

1 zdokumentovaný stavový kód

200ÚspěchRelative system log code activity.
daysnumberPovinné

Length of the trend window in days.

Příklad30
levelsnumberPovinné

Highest trend level (the busiest day of a code).

Příklad8
itemsobject[]Povinné
Každá položka pole:
codestringPovinné

System log code identifier.

PříkladAPI_UNCAUGHT
lastSeen"day" | "week" | "month" | "older" | "never"Povinné

Most recent occurrence: within 24 hours (day), 7 days (week), 30 days (month), earlier (older) or never.

trendnumber[]Povinné

One relative level per day, oldest first. 0 = no occurrence that day.

Ukázka odpovědi

application/json
{
  "days": 30,
  "levels": 8,
  "items": [
    {
      "code": "API_UNCAUGHT",
      "trend": [
        0
      ]
    }
  ]
}

Ukázka požadavku

GET /api/v1/docs/system-log-code-activity

get
curl -X GET "https://api.bizkithub.com/api/v1/docs/system-log-code-activity" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč