List Run Results
GET/api/v1/runs/:runID/results
Get a collection of the results of a deploy or refresh run
Request
Path Parameters
The run ID.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- 502
- 503
- 504
A collection of results for a deploy or refresh run.
- application/json
- Schema
- Run Results Response
Schema
Array [
Array [
]
]
data
object[]
required
A collection of run results.
If the queried run is still running.
Possible values: [API
, CLI
, UI
, fivetranAPI
]
queryResults
object[]
required
The query result returns the status of different stages such as Delete Table or Rename Table. See the queryResults name for the stage.
error
object
The error message.
Additional detail about the error.
If the queried run is still running.
The name of the Stage the query ran on.
The SQL query run during the stage.
The query status.
If the query results were run successfully.
Name of the warehouse.
renderQueryResult
object
error
object
The error message.
Additional detail about the error.
If the queried run is still running.
The name of the Stage the query ran on.
The SQL query run during the stage.
The query status.
If the query results were run successfully.
Name of the warehouse.
{
"data": [
{
"isRunning": true,
"name": "string",
"nodeID": "string",
"runState": "string",
"origin": "API",
"queryResults": [
{
"endTime": "2019-08-24T14:15:22Z",
"error": {
"errorString": "string",
"errorDetail": "string"
},
"isRunning": true,
"name": "string",
"queryID": "string",
"rowsDeleted": 0,
"rowsInserted": 0,
"rowsUpdated": 0,
"sql": "string",
"startTime": "2019-08-24T14:15:22Z",
"status": "string",
"success": true,
"warehouse": "string"
}
],
"renderQueryResult": {
"endTime": "2019-08-24T14:15:22Z",
"error": {
"errorString": "string",
"errorDetail": "string"
},
"isRunning": true,
"name": "string",
"queryID": "string",
"rowsDeleted": 0,
"rowsInserted": 0,
"rowsUpdated": 0,
"sql": "string",
"startTime": "2019-08-24T14:15:22Z",
"status": "string",
"success": true,
"warehouse": "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 requested resource could not be found.
- application/json
- Schema
- Not Found 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"
}
}