Run status
The run with per-step and per-take progress and the live phase line. Poll until status is completed, failed, or cancelled — with ?wait=45, each call holds until the run changes instead of answering at once; ?include=activity adds each step's events (its activity trail).
Request
- Base URL: https://api.martini.film
- URL: https://api.martini.film/v1/runs/{runId}
- Auth: HTTP bearer
Path parameters
The run id.
Query parameters
activity adds each step's events. Any other value answers 400 INVALID_REQUEST.
Long-poll: hold the call up to this many seconds (0–45) until the run changes — its status, its current step, its phase line, its progress, or its outputs — or settles (completed, failed, needs_revision, cancelled), then answer. A settled run answers at once, and so does every call when the server is holding too many polls; when nothing changed in time the answer is the run as it stands. Replaces sleeping between polls: call again with the same wait until status is terminal. Any other value answers 400 INVALID_REQUEST.
Response
The run.
Changes
No recorded changes to this operation across all 1 revision of this API.