BizKitHub
DokumentáciaPrieskumník APICron Run/api/v1/cron-run/{id}/log
postCron RunVerejné API v1

/api/v1/cron-run/{id}/log

Send one entry (message, level, context) or up to 100 in entries. Extends the run expiration. A finished or timed-out run rejects entries with 409 (PUBLIC_CRON_RUN_CLOSED, PUBLIC_CRON_RUN_EXPIRED). Counts into the cron monitor quota of the API key (10,000 requests per hour, separate from other endpoints). Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (Unix seconds).

cron-runpostApiV1Cron-runByIdLog

Parametre

1 v ceste · JSON telo

Parametre v ceste

· 1
idstringPovinné

Run id returned by /cron-run/start.

Dĺžka: 16
PríkladaB3dE5fG7hJ9kL1m

Telo požiadavky

application/json
entriesobject[] | nullVoliteľné

Batch of entries.

Každá položka poľa:
level"info" | "success" | "error" | "warning" | "critical"Voliteľné

Severity of the entry. Defaults to info.

messagestringPovinné

Log message (stored up to 4000 characters).

Dĺžka: 1–20000
contextobject | nullVoliteľné

Structured context, up to 16 KB of JSON.

clientDatestring | nullVoliteľné

ISO-8601 time the entry was produced on the client.

Príklad2026-11-05T10:15:00.000Z
level"info" | "success" | "error" | "warning" | "critical"Voliteľné

Severity of the entry. Defaults to info.

messagestring | nullVoliteľné

Single-entry shorthand.

Dĺžka: 1–20000
contextobject | nullVoliteľné
clientDatestring | nullVoliteľné

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech

Táto odpoveď nemá JSON telo.

Ukážka odpovede

application/json
{
  "success": true
}

Ukážka požiadavky

POST /api/v1/cron-run/{id}/log

post
curl -X POST "https://api.bizkithub.com/api/v1/cron-run/aB3dE5fG7hJ9kL1m/log" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč