Type Alias RunDetailResponseObject

type RunDetailResponseObject = {
    context?:
        | "test_run"
        | "editor"
        | "detail"
        | "api_sync"
        | "api_async"
        | "webhook"
        | "lookup";
    createdAt?: string;
    error?: unknown;
    executedById?: string;
    id?: string;
    isArchived?: boolean;
    isTestRun?: boolean;
    metrics?: {
        blocks?: {
            apiCalls?: number;
            connectorId?: string;
            endpointId?: string;
            rxBytes: number;
            snippetId?: string;
            txBytes: number;
            type: "snippetBlock"
            | "endpointBlock";
        }[];
        network?: { rxBytes?: number; txBytes?: number };
        totalApiCalls?: number;
    };
    ownerId?: string;
    scheduledStartTime?: string;
    spaceId?: string;
    startTime?: string;
    status?: | "failed"
    | "finished"
    | "finished with warnings"
    | "must stop"
    | "not started"
    | "running"
    | "starting"
    | "stopped"
    | "exceeded limit"
    | "queued";
    stopTime?: string;
    title?: string;
    updatedAt?: string;
}
Index

Properties

context?:
    | "test_run"
    | "editor"
    | "detail"
    | "api_sync"
    | "api_async"
    | "webhook"
    | "lookup"

The source that triggers the automation will set the context. Certain contexts impact the execution of an automation (for example, The "test_run" context will not process all results when listing items).

createdAt?: string
error?: unknown
executedById?: string
id?: string
isArchived?: boolean
isTestRun?: boolean
metrics?: {
    blocks?: {
        apiCalls?: number;
        connectorId?: string;
        endpointId?: string;
        rxBytes: number;
        snippetId?: string;
        txBytes: number;
        type: "snippetBlock" | "endpointBlock";
    }[];
    network?: { rxBytes?: number; txBytes?: number };
    totalApiCalls?: number;
}

Type Declaration

  • Optionalblocks?: {
        apiCalls?: number;
        connectorId?: string;
        endpointId?: string;
        rxBytes: number;
        snippetId?: string;
        txBytes: number;
        type: "snippetBlock" | "endpointBlock";
    }[]

    List of blocks used during execution. Note: this list currently only contains endpointBlocks and snippetBlocks

  • Optionalnetwork?: { rxBytes?: number; txBytes?: number }
    • OptionalrxBytes?: number

      The number of received bytes.

    • OptionaltxBytes?: number

      The number of received bytes.

  • OptionaltotalApiCalls?: number

    The number of API calls made.

ownerId?: string
scheduledStartTime?: string
spaceId?: string
startTime?: string
status?:
    | "failed"
    | "finished"
    | "finished with warnings"
    | "must stop"
    | "not started"
    | "running"
    | "starting"
    | "stopped"
    | "exceeded limit"
    | "queued"
stopTime?: string
title?: string
updatedAt?: string