BizKitHub
DokumentacjaEksplorator APICron Run/api/v1/cron-run/{id}/log
postCron RunPubliczne 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

Parametry

1 w ścieżce · Treść JSON

Parametry ścieżki

· 1
idstringWymagane

Run id returned by /cron-run/start.

Długość: 16
PrzykładaB3dE5fG7hJ9kL1m

Treść żądania

application/json
entriesobject[] | nullOpcjonalne

Batch of entries.

Każdy element tablicy:
level"info" | "success" | "error" | "warning" | "critical"Opcjonalne

Severity of the entry. Defaults to info.

messagestringWymagane

Log message (stored up to 4000 characters).

Długość: 1–20000
contextobject | nullOpcjonalne

Structured context, up to 16 KB of JSON.

clientDatestring | nullOpcjonalne

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

Przykład2026-11-05T10:15:00.000Z
level"info" | "success" | "error" | "warning" | "critical"Opcjonalne

Severity of the entry. Defaults to info.

messagestring | nullOpcjonalne

Single-entry shorthand.

Długość: 1–20000
contextobject | nullOpcjonalne
clientDatestring | nullOpcjonalne

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces

Ta odpowiedź nie ma treści JSON.

Przykład odpowiedzi

application/json
{
  "success": true
}

Przykład żądania

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 '{}'

Potrzebujesz klucza API?

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

Uzyskaj klucz API