BizKitHub
DocsAPI ReferenceCron Run/api/v1/cron-run/{id}/log
postCron RunPublic 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

Parameters

1 path · JSON body

Path parameters

· 1
idstringRequired

Run id returned by /cron-run/start.

Length: 16–16
ExampleaB3dE5fG7hJ9kL1m

Request body

application/json
entriesobject[] | nullOptional
One of 2:
Variant 1
object[]

Batch of entries.

Each array item:
level"info" | "success" | "error" | "warning" | "critical" | nullOptional
One of 2:
Variant 1
"info" | "success" | "error" | "warning" | "critical"

Severity of the entry. Defaults to info.

Variant 2
null
messagestringRequired

Log message (stored up to 4000 characters).

Length: 1–20000
contextobject | nullOptional
One of 2:
Variant 1
object

Structured context, up to 16 KB of JSON.

Variant 2
null
clientDatestring | nullOptional
One of 2:
Variant 1
string

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

Example2026-11-05T10:15:00.000Z
Variant 2
null
Variant 2
null
level"info" | "success" | "error" | "warning" | "critical" | nullOptional
One of 2:
Variant 1
"info" | "success" | "error" | "warning" | "critical"

Severity of the entry. Defaults to info.

Variant 2
null
messagestring | nullOptional
One of 2:
Variant 1
string

Single-entry shorthand.

Length: 1–20000
Variant 2
null
contextobject | nullOptional
One of 2:
Variant 1
object
Variant 2
null
clientDatestring | nullOptional
One of 2:
Variant 1
string
Variant 2
null

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

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

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key