Get all Instance Steps

Gets all InstanceSteps in an Instance.

πŸ‘

Permissions Required

You must have Find permissions to the Instance for this request to succeed.

Method Signature

getInstanceSteps(id: string): Promise<InstanceStep[]>;
getInstanceSteps(id: string, callback: ClientMethodCallback<InstanceStep[]>): void;

Parameters

ParameterTypeDescription
idstringThe id of the Instance whose InstanceSteps should be fetched
returnsInstanceStep[]An Array of all InstanceSteps in this Instance

Example

/*
 * This example demonstrates getting an Instance's Steps by the Instance ID
 */
const { CatalyticClient } = require('@catalytic/sdk');

const catalytic = new CatalyticClient();

const steps = await catalytic.instances.getInstanceSteps('e6df431b-1041-4326-89e5-1e14caa6a08f');