@archastro/sdk
    Preparing search index...

    Interface AgentRoutineRun

    A single execution of an agent routine, capturing its status, inputs, outputs, and timing.

    interface AgentRoutineRun {
        acl?: Acl;
        agent?: string;
        app?: string;
        created_at?: string;
        duration_ms?: number;
        event_id?: string;
        id: string;
        metadata?: Record<string, unknown>;
        payload?: Record<string, unknown>;
        result?: Record<string, unknown>;
        routine?: string;
        status?: string;
        structured_response?: Record<string, unknown>;
        updated_at?: string;
        worker?: WorkerStatus;
    }
    Index

    Properties

    acl?: Acl

    Access control list for the run. Contains a grants array where each entry specifies principal_type, principal, and actions. null when no ACL restrictions are applied and the run is accessible to all members of its scope.

    agent?: string

    ID of the agent that owns the parent routine (agi_...).

    app?: string

    Application that scopes this run (dap_...).

    created_at?: string

    When this run was created (ISO 8601).

    duration_ms?: number

    Total wall-clock time the run took to execute, in milliseconds. null while the run is still in progress.

    event_id?: string

    Identifier of the platform event that triggered this run. null for manually invoked runs.

    id: string

    Routine run ID (arr_...).

    metadata?: Record<string, unknown>

    Arbitrary key-value metadata attached to this run. Empty object when no metadata was set.

    payload?: Record<string, unknown>

    Input payload delivered to the routine when this run was triggered. Empty object when no payload was provided.

    result?: Record<string, unknown>

    Output produced by the routine after execution. null while the run has not yet completed.

    routine?: string

    ID of the parent routine that produced this run (arn_...).

    status?: string

    Current execution status. One of "pending", "running", "completed", "failed", "skipped", or "cancelled".

    structured_response?: Record<string, unknown>

    Validated structured output extracted from result when the routine uses an AgentMessageSchema. null if the routine does not use a schema or the run has not completed.

    updated_at?: string

    When this run was last updated (ISO 8601).

    worker?: WorkerStatus

    Background worker status. null when no worker job is associated with this run.