Start a Run
POST/api/v1/runs/:resource
Start a Run
Request
Path Parameters
resource stringrequired
- application/json
Body
Array [
Array [
]
]
Array [
]
cluster string
directorId string
input
object
property name* any
runs
object[]
inputs object[]
validators
object[]
jpath string
regex string
resource string
runtimeConnectors string[]
tenantId string
testSuiteId string
validators
object[]
jpath string
regex string
resource string
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
cluster string
createdAt date-time
directorId string
error string
id string
input
object
property name* any
isBatch boolean
logs string
output
object
property name* any
parentId string
resourceId string
resourceType string
status ModelsRunStatus (string)
Possible values: [completed
, failed
, running
]
updatedAt date-time
validationResults
object[]
error string
passed boolean
validator
object
jpath string
regex string
resource string
validationSummary
object
failed integer
passed integer
percentage number
{
"cluster": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"directorId": "string",
"error": "string",
"id": "string",
"input": {},
"isBatch": true,
"logs": "string",
"output": {},
"parentId": "string",
"resourceId": "string",
"resourceType": "string",
"status": "completed",
"updatedAt": "2024-07-29T15:51:28.071Z",
"validationResults": [
{
"error": "string",
"passed": true,
"validator": {
"jpath": "string",
"regex": "string",
"resource": "string"
}
}
],
"validationSummary": {
"failed": 0,
"passed": 0,
"percentage": 0
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "string"
}
Loading...