Type Alias RunDetailResponseObject

type RunDetailResponseObject = {
    archived?: boolean;
    context?:
        | "test_run"
        | "editor"
        | "detail"
        | "api_sync"
        | "api_async"
        | "webhook"
        | "lookup";
    createdAt?: string;
    error?: unknown[]
    | null;
    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;
        }
        | null;
    ownerId?: string;
    scheduledStartTime?: string
    | null;
    spaceId?: string;
    startTime?: string | null;
    status?:
        | "failed"
        | "finished"
        | "finished with warnings"
        | "must stop"
        | "not started"
        | "running"
        | "starting"
        | "stopped"
        | "exceeded limit"
        | "queued";
    stopTime?: string
    | null;
    testRun?: boolean;
    title?: string;
    updatedAt?: string;
}
Index

Properties

archived?: boolean

Indicates if this automation run is archived.

context?:
    | "test_run"
    | "editor"
    | "detail"
    | "api_sync"
    | "api_async"
    | "webhook"
    | "lookup"
createdAt?: string
error?: unknown[] | null
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;
    }
    | null

Type Declaration

  • {
        blocks?: {
            apiCalls?: number;
            connectorId?: string;
            endpointId?: string;
            rxBytes: number;
            snippetId?: string;
            txBytes: number;
            type: "snippetBlock" | "endpointBlock";
        }[];
        network?: { rxBytes?: number; txBytes?: number };
        totalApiCalls?: number;
    }
    • 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
    • OptionaltotalApiCalls?: number
  • null
ownerId?: string
scheduledStartTime?: string | null
spaceId?: string
startTime?: string | null
status?:
    | "failed"
    | "finished"
    | "finished with warnings"
    | "must stop"
    | "not started"
    | "running"
    | "starting"
    | "stopped"
    | "exceeded limit"
    | "queued"
stopTime?: string | null
testRun?: boolean
title?: string
updatedAt?: string