Explanation:
Purpose:
Current status and structure of one run: state, per-step progress, row
counts, dataset handles, and exact follow-up commands.
When:
To check a run started with --no-wait, to find the dataset table name for
db query, or to see row-level failure counts. Not for cost and not for
rows.
Input:
The run id. --full resolves a full-only result and adds diagnostics with
billing and timeline (large). --log-failed attaches the failure log window.
--web opens the run page in a browser; --web-url prints only its URL.
--input prints the original input (may contain customer data). --json
prints JSON; --json run.status,datasets.name selects fields.
To parse the output (also with --full), add --json; stdout is then one JSON document.
--out <path> writes that JSON document to a file instead and prints a
short receipt; use it with --full, whose document can be megabytes.
Output (text):
A fixed-size overview: long results, previews, diagnostics and lists are
shortened, and a "Complete overview" line names the --out command. JSON
is never shortened.
Output (JSON):
kind "run_overview", runUrl (the Play page with this run selected),
run {id, playName, status, startedAt, finishedAt, durationMs, retries}, steps[] {id, kind, status, label, progress {total, executed,
reused, failed, completedRows}}, failures.steps[], errorDetails,
rowOutcomes, warnings[], datasets[] {datasetId, name, rowCount, summary,
storage {schema, table}, preview {returnedRows, totalRows, partial, rows}},
result or resultState, and actions holding exact follow-up commands
(getFullRunCmd, getBillingCmd, getLogsCmd, exportDatasetCmds[],
queryTableSqlCmds[]). A batch run's payload is tens of kilobytes; read
run.status and datasets[] and take rows and cost from the narrower
commands.
Concurrency:
An org runs as many Plays at once as its plan allows; each run holds
one slot while it executes. A run over the limit is not rejected: it waits
and starts when another finishes. While it waits, run.activity.summary
starts with "Queued:", run.activity.observation.activityId is
"run:sandbox-capacity", and warnings names the plan that runs more.
deepline billing entitlements shows this org's plan and limit and
every plan's limit; this help prints them too when you are signed in.
See the pricing page for full details: https://deepline.com/pricing
Cost:
Free.
Avoid:
Cost is not in this payload without --full; use billing usage --run-id.
Treating zero Dataset reuse as no saved work. Row reuse counts duplicates;
cached cell attempts cover this run's sheets, not all tool or child-Play
reuse. Missing or incomplete counts are unknown, not zero. Saved tool
operations and published output rows are separate; a local array is not
published until returned. Resume can recover matching completed operations
without a published Dataset.
datasets[].preview.rows is a sample, not the rows; use runs export or db
query.
Output fields:
run.status queued, running, completed, failed, or stopped. Only
the last three are terminal.
run.activity the current step while running, null when finished.
A queued capacity activity means it is waiting for a
org concurrency slot, even if run.status says
running. target.limit is the observed limit;
target.limitSource=admission means it was pinned at
launch. Plan changes apply to new launches, not that
recorded limit. Scheduling retries automatically:
watch the same run instead of resubmitting it.
Read billing entitlements and billing plans for
current limits and available plans. No queue ETA is
guaranteed.
run.retries failure-driven retries since the last resume:
platformRecoveries {preCode, postCode} and
recoveryOutcome (none, recovering, recovered,
exhausted), plus resumeEpoch (runs resume count).
Durable waits are not retries and are not counted. A
retried attempt may repeat earlier work; these are
counts, not proof that anything ran once. Provider
retries inside one call are not counted; read them
with runs logs <run-id> --kind activity.observed.
steps[].label the step's state in one line, as the dashboard shows
it.
datasets[].summary.reportedPopulation {totalRows, persistedRows,
succeededRows, failedRows}. failedRows > 0 means some
rows have no result; export them and read the
failure columns before reporting.
datasets[].summary.columnStats per-column fill and unique counts; a quick
fill-rate read without exporting.
datasets[].storage {schema, table}: the customer-database table holding
the rows; actions.queryTableSqlCmds[] has a ready db
query for it.
datasets[].preview {returnedRows, totalRows, partial, rows}: a sample
for a first look, never an export count.
resultState "available_in_full" means the result was left out;
--full resolves it.
rowOutcomes terminal row accounting: successes, failures and
superseded rows are disjoint, and a superseded row
belongs to a newer write's latest view. Absent while
the run is active. A completed status alone does not
mean every input row produced a successful row.
actions.*Cmd exact commands: exportDatasetCmds[], getBillingCmd,
queryTableSqlCmds[], getLogsCmd, and stopRunCmd while
the run is active.
With --full:
diagnostics holds the raw status: billing, timeline, errors, child runs.
--json diagnostics needs --full. Use --full only when a program will read
it; it is several times larger than the default overview.
Debugging a run:
When a run failed or looks stuck, read runs get <run-id> for its state and
last event, then runs logs <run-id> --failed for the failure window, then
runs watch <run-id> to follow it if it is still active. A run can go quiet
for minutes while it waits on a slow provider (Apify actors, large company
searches), an intentional deepline.sleep, or a rate-limit backoff; that is
healthy. Stop it only after about ten minutes without progress on a fast
tool.