BizKitHub
DokumentacjaEksplorator APIDocs/api/v1/docs/system-log-code-activity
getDocsPubliczne 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

Brak parametrów

Ten endpoint nie przyjmuje parametrów w ścieżce, query, nagłówku ani w treści.

Schemat odpowiedzi

1 udokumentowany kod statusu

200SukcesRelative system log code activity.
daysnumberWymagane

Length of the trend window in days.

Przykład30
levelsnumberWymagane

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

Przykład8
itemsobject[]Wymagane
Każdy element tablicy:
codestringWymagane

System log code identifier.

PrzykładAPI_UNCAUGHT
lastSeen"day" | "week" | "month" | "older" | "never"Wymagane

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

trendnumber[]Wymagane

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

Przykład odpowiedzi

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

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API