List Runs
GET/api/v1/runs
Get a collection of information about runs.
Request
Query Parameters
Possible values: <= 1000
Default value: 25
The maximum number of runs to return.
The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.
Possible values: [id
, runStartTime
, runEndTime
]
Default value: id
The field used to order results.
Possible values: [asc
, desc
]
Default value: desc
The sort order for query results.
Possible values: [deploy
, refresh
]
A run type to filter the query results.
Possible values: [canceled
, completed
, failed
, initializing
, rendering
, running
, waitingToRun
]
A status value to filter the query results.
An environment ID to filter the query results.
Include the full detail of the run.
Responses
- 200
- 400
- 401
- 403
- 500
- 502
- 503
- 504
A collection of runs.
- application/json
- Schema
- Runs Response
Schema
- MOD1
- MOD2
Array [
]
Array [
- DeployRunDetails
- RefreshRunDetails
]
The maximum number of runs returned by this query.
Possible values: [asc
, desc
]
The sort order for query results.
Possible values: [id
, runStartTime
, runEndTime
]
Default value: id
The field used to sort query results.
data
object
required
A collection of runs.
anyOf
The run ID.
If this is a re-run, the ID of the original operation.
The datetime the run started.
The datetime the run ended.
Possible values: [deploy
, refresh
]
Possible values: [canceled
, completed
, failed
, initializing
, rendering
, running
, waitingToRun
]
The environment in which the run operation was applied.
Information about the cause of a run failure.
If this is a re-run, the ID of the original operation.
runDetails
object
required
Detailed information about a run.
anyOf
Deployment run details.
If the run was canceled.
The full commit hash.
The commit message.
The Environment ID for this run.
The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse.
The number of Nodes deployed.
Refresh run details.
If the run was canceled.
The Environment ID for this run.
A selector string of nodes to exclude.
A selector string of nodes to include.
The Job ID.
The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse.
The Job name.
The number of Nodes deployed.
The datetime when the run ended.
The datetime the run started.
Possible values: [canceled
, completed
, failed
, initializing
, rendering
, running
, waitingToRun
]
runTimeParameters
object
required
The default Environment parameters. Parameters changed during deploy will not show here.
The default Environment parameters. Parameters changed during deploy will not show here.
Possible values: [deploy
, refresh
]
userCredentials
object
Information about the Snowflake account used to perform a run.
Possible values: [Basic
, Cloud
, KeyPair
, OAuth
]
{
"limit": 0,
"orderByDirection": "asc",
"orderBy": "id",
"data": [
{
"id": 0,
"reRunID": "string",
"runStartTime": "2019-08-24T14:15:22Z",
"runEndTime": "2019-08-24T14:15:22Z",
"runType": "deploy",
"runStatus": "canceled",
"environmentID": "string",
"runFailureReason": "string"
}
]
}
The request was invalid.
- application/json
- Schema
- Invalid Request Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
User lacks authorization to perform this action.
- application/json
- Schema
- Unauthorized
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The client is not permitted to perform the requested operation.
- application/json
- Schema
- Forbidden Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server encountered an unexpected condition that prevented it from fulfilling the request.
- application/json
- Schema
- Internal Server Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server received an error from an upstream system.
- application/json
- Schema
- Bad Gateway Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The service is currently unavailable.
- application/json
- Schema
- Service Unavailable Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}
The server did not receive a response in time from an upstream system.
- application/json
- Schema
- Gateway Timeout Error
Schema
error
object
required
The error message.
Additional detail about the error.
{
"error": {
"errorString": "string",
"errorDetail": "string"
}
}