Documentation menu

Trigger cron job

POSThttps://api.instacloud.com/projects/{projectId}/cron-jobs/{id}/runs

Token scope: account · org · project — read-only tokens refused (not a GET).

Trigger a run now. Requires Idempotency-Key. Gated — cron.run. 403 also when the org is billing-suspended.

Parameters

NameInTypeRequiredDescription
projectIdpathstringyes
idpathstringyes
idempotency-keyheaderstringyesdedupes a retried trigger onto the same run

Responses

202

accepted (runId) — or approval_required from the governance gate

400

missing, blank, or over-255-character Idempotency-Key (a paused job is still triggerable: pause stops the clock, not a manual run)

FieldTypeRequiredDescription
errorstringyes

403

Default Response

FieldTypeRequiredDescription
errorstringyes

404

Default Response

FieldTypeRequiredDescription
errorstringyes

409

a run with this Idempotency-Key is still being created — retry

FieldTypeRequiredDescription
errorstringyes

View as Markdown