Sanity Library Reference Docs
    Preparing search index...
    interface RunRow {
        assignees: readonly Assignee[];
        assignments: readonly (readonly Assignee[])[];
        assignmentStateCounts: { held: number; routed: number; unrouted: number };
        attention: RunAttention | undefined;
        attentionDetail: RunAttentionDetail | undefined;
        document: GlobalDocumentReference<string> | undefined;
        endedAt: string | undefined;
        id: string;
        outcome: string | undefined;
        releases: readonly string[];
        stage: string;
        stageTitle: string;
        startedAt: string;
        tasks: readonly StageTask[];
        workflowName: string;
        workflowTitle: string;
    }
    Index

    Properties

    assignees: readonly Assignee[]

    Active owners across the open stage's activities after per-activity direct-user shadowing, deduplicated with users before roles. Empty on closed rows — a settled run holds no one's work.

    assignments: readonly (readonly Assignee[])[]

    Assignment values kept at activity grain so shadowing never leaks across two independent tasks in the same run.

    assignmentStateCounts: { held: number; routed: number; unrouted: number }

    Open activities counted once by assignment state, including automations because committed state does not carry activity classification.

    attention: RunAttention | undefined
    attentionDetail: RunAttentionDetail | undefined

    Set exactly when attention is — which task (or how many) the mark refers to; the glyph's hint is built from it.

    document: GlobalDocumentReference<string> | undefined

    The document the run's work belongs to, resolved through its root so a spawned child is attributed to its root's document. Absent when the chain references no document.

    endedAt: string | undefined

    ISO timestamp for when the run settled; absent while it is in flight.

    id: string
    outcome: string | undefined

    Set on closed rows: the terminal stage's title, or Aborted for a run stopped at whatever stage it was in.

    releases: readonly string[]

    The Content Release names the run's perspective pins — a release stack minus its drafts tail. Empty for the global modes (raw, published, drafts) and for a run with no perspective at all.

    stage: string

    The current stage's machine name — what the stage filter matches; the title beside it is display only. An aborted run keeps the stage it was in when stopped.

    stageTitle: string
    startedAt: string
    tasks: readonly StageTask[]

    Open plus failed (blocked) human activities in the current stage, in declared order — the Tasks column's grain. Empty on closed rows.

    workflowName: string
    workflowTitle: string