Run now
Open a routine and choose Run now to supply input and enqueue live executions across bound devices. The adjacent menu offers Schedule run… for a run later. For an enabled, healthy routine, run now through the API:202 response reports executionIds and enqueuedCount. Check skipped and enqueueFailed too: accepting the request does not mean every target started. Keep the same idempotency key when retrying the same request; use a new one for a new run.
Runs history
In the dashboard, open the routine’s Runs tab and select a run to inspect its status, errors, timings, screenshots, and files. Select a step to inspect Input, Output, and Log. The Steps tab shows what the routine does.include=input adds recorded inputs to result.steps when available. Redaction is best effort; keep secrets out of inputs and logs. See Results for how Matty presents files and structured output.
Find and download files
Open Routines → your routine → Runs, then select a run. In Files, inspect the files its steps produced and their delivery status. Saved copies lists ready files in Mobilerun storage; open a file’s action menu and choose Download or Delete file. A step’s Output also contains thefiles.upload result. If a saved copy is not there yet, check delivery status:
copying to storage can finish after the steps. See Save files
for the required Delivery destination and folder.
SDK 6.3.2 or later provides routineFiles (Python routine_files). List by executionId to find
one run’s saved copies, then call the file object’s download() to get bytes. These examples
list the first page and download its first file; replace the execution ID with a run you own.
folder, flowId,
and executionId filters. Iterate routineFiles.list() with for await (Python for) to load
all pages automatically. Saved file handles have no get() or refresh(); read their metadata
from list results.
Deletion is permanent. Bulk deletion takes exactly one of
folder or executionId.
Saved files count toward storage and remain until you delete them or their routine.
Fix a blocked or failing routine
A routine’s health ishealthy, failing, or blocked; a blocked routine does not run. Read GET /v1/flows/{flowId} for its status, last failure, and health settings. Fix the underlying problem, such as a missing device, invalid step input, or deleted function.
- Inspect configured steps with
GET /v1/flows/{flowId}/actions; add, remove, or replace actions through the same API. - Inspect repair attempts with
GET /v1/flows/{flowId}/repairs. Automatic repair depends on the routine’s settings and failure type; it is not guaranteed for every error. - After fixing the cause, call
POST /v1/flows/{flowId}/unblock. The API checks the routine again and returnsstill_brokenif it cannot resume.
Recording
Choose Recording → Off, Every run, or Selected steps to control capture. Inspect available recordings alongside screenshots and files in Runs. See Results for how Matty presents output.Check vs Test run
Check is a side-effect-free dry run. Send the create body toPOST /v1/flows/validate and inspect data.valid, errors, and warnings. Call POST /v1/flows/{flowId}/dry-run with {"payload": {}} to inspect resolved steps and trigger gates without executing work. A disabled routine can report wouldFire: false; this alone does not mean its steps are invalid.
Test run performs real verification, including on a disabled routine. Call POST /v1/flows/{flowId}/verify with a fresh UUID invocationId, a bound deviceId, and payload. Inspect the execution and wait for success.
Enable
For verified activation, send the successful execution ID asverificationExecutionId to POST /v1/flows/{flowId}/activate. Verification must cover the unchanged graph; if you edit it, verify again. Owners can alternatively enable a routine with steps directly through PATCH /v1/flows/{flowId} with {"enabled": true}.
Self-healing
Self-healing controls appear only for routines with an agent. Repairs require eligible configuration and failures, and repair availability; they are not guaranteed for every error. Inspect repair attempts and resolve the underlying cause as described above.Capacity and cost
CheckGET /v1/flows/capacity before creating or cloning routines. Capacity counts enabled and disabled routines in each owner/agent bucket; pausing a routine does not free its slot. See Credits & usage for device minutes, function minutes, and agent usage.