Sanity Library Reference Docs
    Preparing search index...
    StartContext: Record<string, unknown>

    The start-time seed a caller supplies at startInstance, stored as WorkflowInstance.context entries and read back as $context.<name>. Written only at start — a completed effect's outputs live on the run row and read as $effects, a separate bag.

    Each value may be any JSON — a scalar, a GlobalDocumentReference, or an arbitrary object/array. Scalars and GDRs store as their typed context entries; anything else stores as one context.json entry.