Skip to main content

List Runs

GET 

/api/v1/runs

Get a collection of information about runs.

Request

Query Parameters

    limit integer

    Possible values: <= 1000

    Default value: 25

    The maximum number of runs to return.

    startingFrom any

    The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.

    orderBy RunsOrderBy

    Possible values: [id, runStartTime, runEndTime]

    Default value: id

    The field used to order results.

    orderByDirection string

    Possible values: [asc, desc]

    Default value: desc

    The sort order for query results.

    runType RunType

    Possible values: [deploy, refresh]

    A run type to filter the query results.

    runStatus RunStatus

    Possible values: [canceled, completed, failed, initializing, rendering, running, waitingToRun]

    A status value to filter the query results.

    environmentID string

    An environment ID to filter the query results.

    detail boolean

    Include the full detail of the run.

Responses

A collection of runs.

Schema

    limit integerrequired

    The maximum number of runs returned by this query.

    orderByDirection OrderByDirection (string)required

    Possible values: [asc, desc]

    The sort order for query results.

    orderBy RunsOrderBy (string)required

    Possible values: [id, runStartTime, runEndTime]

    Default value: id

    The field used to sort query results.

    data

    object

    required

    A collection of runs.

    anyOf

  • Array [

  • id integerrequired

    The run ID.

    reRunID string

    If this is a re-run, the ID of the original operation.

    runStartTime date-time

    The datetime the run started.

    runEndTime date-time

    The datetime the run ended.

    runType RunType (string)required

    Possible values: [deploy, refresh]

    runStatus RunStatus (string)required

    Possible values: [canceled, completed, failed, initializing, rendering, running, waitingToRun]

    environmentID string

    The environment in which the run operation was applied.

    runFailureReason string

    Information about the cause of a run failure.

  • ]

Loading...