Docs menu

API reference

jobs.get

Read a Job

GET/api/v1/jobs/{id}

Needs the job:read permission. As an MCP tool it is named jobs.get.

Details

Read one long-running Job in this Account: its kind, status, the Operation that started it, the Project and Site it targets, when it started and finished, the error code if it failed, and every step with its attempts and Cloudflare call count. A Project-limited member only sees Jobs of their Projects and Account-level Jobs. Reads write no Audit Event; the live progress is a separate stream.

Input

FieldTypeNotes
idrequiredstring

Output

FieldTypeNotes
idrequiredstring
kindrequiredstring
statusrequired"queued" | "running" | "complete" | "errored"
operationrequiredstring
projectIdrequiredstring or null
siteIdrequiredstring or null
createdAtrequiredintegerfrom -9007199254740991 to 9007199254740991
finishedAtrequiredinteger or null
errorCoderequiredstring or null
stepsrequiredlist of object
steps.seqrequiredintegerfrom 0 to 9007199254740991
steps.namerequiredstring
steps.statusrequired"pending" | "running" | "complete" | "errored"
steps.attemptsrequiredintegerfrom 0 to 9007199254740991
steps.cfCallsrequiredintegerfrom 0 to 9007199254740991
steps.startedAtrequiredinteger or null
steps.finishedAtrequiredinteger or null
steps.detailrequiredobject or null

All Operations