diff --git a/concepts/job.mdx b/concepts/job.mdx index d37e0c1..652b6a4 100644 --- a/concepts/job.mdx +++ b/concepts/job.mdx @@ -64,6 +64,7 @@ flowchart LR running --> failed waiting --> cancelled dispatched --> cancelled + running --> cancelled ``` | Status | What it means | @@ -75,7 +76,7 @@ flowchart LR | `failed` | Errored. Read `error.code` and `error.message`. | | `cancelled` | Stopped before it finished. | -On any terminal status the job is billed for the compute it used, and a [webhook](/guides/webhooks) fires if you configured one. Failures carry an `error.code` from the [error catalogue](/support/errors). A job that runs past its type's time limit fails with `RUNNER_TIMEOUT` and is not charged. +On any terminal status the job is billed for the compute it used, and a [webhook](/guides/webhooks) fires if you configured one. A job that never started settles free. Failures carry an `error.code` from the [error catalogue](/support/errors). A job that runs past its plan's time limit fails with `JOB_TIMEOUT` and is billed for the compute it consumed. A job a runner accepted but never started fails with `RUNNER_TIMEOUT` and is not charged. Cancelling a `running` job stops the upstream execution too. ## The output diff --git a/mcp-server.mdx b/mcp-server.mdx index 5d98f55..d99294d 100644 --- a/mcp-server.mdx +++ b/mcp-server.mdx @@ -73,7 +73,7 @@ Call `list_job_types` first. It returns every active job type fresh, so it never | `list_jobs` | Recent jobs, filterable by `status` and `type`. | `{ jobs[], total }` | | `probe_media` | Run ffprobe against a media URL as an async job. Poll `get_job` for the normalized summary and full report. | `{ jobId, status }` | | `get_account` | Credit balance, plan limits, active jobs, and rate limit usage. | `{ balance, plan, limits }` | -| `cancel_job` | Cancel a job still `waiting` or `dispatched`. | `{ id, status: "cancelled" }` | +| `cancel_job` | Cancel a `waiting`, `dispatched` or `running` job. | `{ id, status: "cancelled" }` | | `upload_media` | Open an upload session. Presigned URLs for shell-capable callers, or a `pageUrl` for the user to upload from their own device. | `{ session, pageUrl, files[] }` | | `complete_upload` | Finalize an asset after its bytes land in storage. | `{ asset: { id, url, status } }` | | `get_upload` | Check an upload session's progress. `wait: true` blocks up to 45 seconds. | `{ status, assets[] }` |