cronkite API definition (1.0.0)
cronkite API definition
Returns dashboards
Returns dashboards
query Parameters
filter[name] | string <= 255 characters |
filter[scope] | string Enum: "organization" "participant" |
individual-group-id | string <uuid> Example: individual-group-id=11111111-1111-1111-1111-111111111111 |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "layout-type": "custom",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "scope": "organization",
- "widgets": [
- {
- "allow-refresh": false,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "height": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "name": "string",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-dashboards"
}
], - "meta": { }
}
Creates a new dashboard
Creates a new dashboard
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "layout-type": "custom",
- "name": "string",
- "owner": {
- "individual-group-id": "11111111-1111-1111-1111-111111111111"
}, - "scope": "organization"
}, - "type": "customjob-dashboards"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "layout-type": "custom",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "scope": "organization",
- "widgets": [
- {
- "allow-refresh": false,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "height": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "name": "string",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-dashboards"
}, - "meta": { }
}
Returns specific dashboard
Returns specific dashboard
path Parameters
id required | string Resource identifier |
query Parameters
include-widget-data | boolean Default: true |
scope | string <uuid> Example: scope=11111111-1111-1111-1111-111111111111 |
widget-args | object |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "layout-type": "custom",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "scope": "organization",
- "widgets": [
- {
- "allow-refresh": false,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "height": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "name": "string",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-dashboards"
}, - "meta": { }
}
Modifies an existing dashboard
Modifies an existing dashboard
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-group-id": { },
- "layout-type": "custom",
- "name": "string",
- "scope": "organization"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-dashboards"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "layout-type": "custom",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "scope": "organization",
- "widgets": [
- {
- "allow-refresh": false,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "data": { },
- "height": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "name": "string",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-dashboards"
}, - "meta": { }
}
/v1/customjob-logs/{id}/update-result/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
status required | string <= 16 characters |
stderr required | string <= 99999 characters |
stdout required | string <= 99999 characters |
lambda-log | string <= 99999 characters |
return | string <= 99999 characters |
Responses
Request samples
- Payload
{- "lambda-log": "string",
- "return": "string",
- "status": "string",
- "stderr": "string",
- "stdout": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "duration": 0,
- "last-modified-at": "string",
- "return": "string",
- "status": "string",
- "stderr": "string",
- "stdout": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-logs"
}, - "meta": { }
}
/v1/customjob-reports/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "display-name": "string",
- "download-prepare-time": "string",
- "download-status": "failed",
- "fields": { },
- "filters": { },
- "groups": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "sorts": { },
- "source": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-reports"
}
], - "meta": { }
}
/v1/customjob-reports/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "description": "string",
- "display-name": "string",
- "fields": { },
- "filters": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "sorts": { },
- "source": "string"
}, - "type": "customjob-reports"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "display-name": "string",
- "download-prepare-time": "string",
- "download-status": "failed",
- "fields": { },
- "filters": { },
- "groups": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "sorts": { },
- "source": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-reports"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "display-name": "string",
- "download-prepare-time": "string",
- "download-status": "failed",
- "fields": { },
- "filters": { },
- "groups": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "sorts": { },
- "source": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-reports"
}, - "meta": { }
}
/v1/customjob-reports/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "description": "string",
- "display-name": "string",
- "fields": { },
- "filters": { },
- "name": "string",
- "sorts": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-reports"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "display-name": "string",
- "download-prepare-time": "string",
- "download-status": "failed",
- "fields": { },
- "filters": { },
- "groups": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "sorts": { },
- "source": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-reports"
}, - "meta": { }
}
/v1/customjob-reports/{id}/prepare-download/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "description": "string",
- "display-name": "string",
- "download-prepare-time": "string",
- "download-status": "failed",
- "fields": { },
- "filters": { },
- "groups": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "sorts": { },
- "source": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-reports"
}, - "meta": { }
}
Returns repositories
Returns repositories
query Parameters
filter[name] | string <= 255 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "private-key": "string",
- "type": "string",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-repositories"
}
], - "meta": { }
}
Creates a new repository
Creates a new repository
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "private-key": "string",
- "url": "string"
}, - "type": "customjob-repositories"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "private-key": "string",
- "type": "string",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-repositories"
}, - "meta": { }
}
Returns specific repository
Returns specific repository
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "private-key": "string",
- "type": "string",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-repositories"
}, - "meta": { }
}
Modifies an existing repository
Modifies an existing repository
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "private-key": "string",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-repositories"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "private-key": "string",
- "type": "string",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-repositories"
}, - "meta": { }
}
Returns custom-job runs
Returns custom-job runs
query Parameters
filter[status] | string Enum: "created" "failed" "running" "success" |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
spec-id | string <uuid> Example: spec-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "dynamic-scope": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "state": { },
- "status": "created",
- "stderr": "string",
- "stdout": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-runs"
}
], - "meta": { }
}
Creates a new job-run
Creates a new job-run
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "scope": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "customjob-runs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "dynamic-scope": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "state": { },
- "status": "created",
- "stderr": "string",
- "stdout": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-runs"
}, - "meta": { }
}
Returns specific job-run
Returns specific job-run
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "dynamic-scope": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "state": { },
- "status": "created",
- "stderr": "string",
- "stdout": "string",
- "user-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-runs"
}, - "meta": { }
}
Returns job settings
Returns job settings
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 64 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "value": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-settings"
}
], - "meta": { }
}
Creates a new job-spec setting
Creates a new job-spec setting
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "value": { }
}, - "type": "customjob-settings"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "value": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-settings"
}, - "meta": { }
}
Returns specific job setting
Returns specific job setting
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "value": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-settings"
}, - "meta": { }
}
Modifies an existing job-spec setting
Modifies an existing job-spec setting
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "value": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-settings"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "value": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-settings"
}, - "meta": { }
}
/v1/customjob-sims/
Request Body schema: application/json
operation required | string Enum: "api" "db-execute" | ||||||||||
required | object or object | ||||||||||
One of
|
Responses
Request samples
- Payload
{- "operation": "api",
- "params": {
- "json": { },
- "method": "delete",
- "params": { },
- "path": "string",
- "run-as": "11111111-1111-1111-1111-111111111111"
}
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "params": { },
- "result": { },
- "status": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-sims"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "params": { },
- "result": { },
- "status": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-sims"
}, - "meta": { }
}
Returns custom-job specs
Returns custom-job specs
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": true,
- "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-sync-error": "string",
- "last-sync-status": "string",
- "last-sync-time": "string",
- "log-level": "critical",
- "monitored": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "path": "string",
- "pylon-report-spec-id": "11111111-1111-1111-1111-111111111111",
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-id": "11111111-1111-1111-1111-111111111111",
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-specs"
}
], - "meta": { }
}
Creates a new job-spec
Creates a new job-spec
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": false,
- "log-level": "critical",
- "monitored": false,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "path": "string",
- "pylon-report-spec-id": "11111111-1111-1111-1111-111111111111",
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": false
}, - "type": "customjob-specs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": true,
- "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-sync-error": "string",
- "last-sync-status": "string",
- "last-sync-time": "string",
- "log-level": "critical",
- "monitored": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "path": "string",
- "pylon-report-spec-id": "11111111-1111-1111-1111-111111111111",
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-id": "11111111-1111-1111-1111-111111111111",
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-specs"
}, - "meta": { }
}
Returns specific job-spec
Returns specific job-spec
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": true,
- "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-sync-error": "string",
- "last-sync-status": "string",
- "last-sync-time": "string",
- "log-level": "critical",
- "monitored": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "path": "string",
- "pylon-report-spec-id": "11111111-1111-1111-1111-111111111111",
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-id": "11111111-1111-1111-1111-111111111111",
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-specs"
}, - "meta": { }
}
Modifies an existing job-spec
Modifies an existing job-spec
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": true,
- "log-level": "critical",
- "monitored": true,
- "name": "string",
- "path": "string",
- "pylon-report-spec-id": { },
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-specs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": true,
- "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-sync-error": "string",
- "last-sync-status": "string",
- "last-sync-time": "string",
- "log-level": "critical",
- "monitored": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "path": "string",
- "pylon-report-spec-id": "11111111-1111-1111-1111-111111111111",
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-id": "11111111-1111-1111-1111-111111111111",
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-specs"
}, - "meta": { }
}
Sync job-spec with repository
Sync job-spec with repository
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "args-schema": { },
- "branch": "string",
- "class-name": "string",
- "code": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "download-type": "binary",
- "dynamic-scope": true,
- "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-sync-error": "string",
- "last-sync-status": "string",
- "last-sync-time": "string",
- "log-level": "critical",
- "monitored": true,
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "path": "string",
- "pylon-report-spec-id": "11111111-1111-1111-1111-111111111111",
- "repository-id": "11111111-1111-1111-1111-111111111111",
- "schedule-args": { },
- "schedule-daily": true,
- "schedule-id": "11111111-1111-1111-1111-111111111111",
- "schedule-rrule": "string",
- "schedule-start": "string",
- "schedule-timezone": "string",
- "scopes": [
- "string"
], - "user-required": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-specs"
}, - "meta": { }
}
/v1/customjob-table-accesses/
query Parameters
spec-id required | string <uuid> Example: spec-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "table": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-table-accesses"
}
], - "meta": { }
}
/v1/customjob-table-accesses/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "table-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "customjob-table-accesses"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "table": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-table-accesses"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "table": {
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-table-accesses"
}, - "meta": { }
}
/v1/customjob-table-queries/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": [
- { }
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "query": "string",
- "result": { },
- "status": "created",
- "task-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-table-queries"
}
], - "meta": { }
}
/v1/customjob-table-queries/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": [
- "string"
], - "organization-id": "string",
- "query": "string"
}, - "type": "customjob-table-queries"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": [
- { }
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "query": "string",
- "result": { },
- "status": "created",
- "task-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-table-queries"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": [
- { }
], - "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "query": "string",
- "result": { },
- "status": "created",
- "task-id": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-table-queries"
}, - "meta": { }
}
/v1/customjob-tables/
query Parameters
filter[name] | string <= 64 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
spec-id | string <uuid> Example: spec-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "schema": {
- "fields": [
- {
- "args": { },
- "name": "string",
- "type": "boolean"
}
]
}, - "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-tables"
}
], - "meta": { }
}
/v1/customjob-tables/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "schema": {
- "fields": [
- {
- "args": { },
- "name": "string",
- "type": "boolean"
}
]
}, - "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "customjob-tables"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "schema": {
- "fields": [
- {
- "args": { },
- "name": "string",
- "type": "boolean"
}
]
}, - "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-tables"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "schema": {
- "fields": [
- {
- "args": { },
- "name": "string",
- "type": "boolean"
}
]
}, - "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-tables"
}, - "meta": { }
}
/v1/customjob-tables/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "schema": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-tables"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "last-modified-at": "string",
- "name": "string",
- "schema": {
- "fields": [
- {
- "args": { },
- "name": "string",
- "type": "boolean"
}
]
}, - "spec-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-tables"
}, - "meta": { }
}
/v1/customjob-widget-outputs/
query Parameters
widget-id required | string <uuid> Example: widget-id=11111111-1111-1111-1111-111111111111 |
filter[state] | string Enum: "completed" "created" "failed" "running" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": { },
- "created-at": "string",
- "error": "string",
- "output": { },
- "scope": "string",
- "state": "completed",
- "type": "action",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "widget-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widget-outputs"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "error": "string",
- "output": { },
- "scope": "string",
- "state": "completed",
- "type": "action",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "widget-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widget-outputs"
}, - "meta": { }
}
/v1/customjob-widgetlogs/
query Parameters
widget-id required | string <uuid> Example: widget-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "error": "string",
- "event": "action",
- "stdout": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetlogs"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "error": "string",
- "event": "action",
- "stdout": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetlogs"
}, - "meta": { }
}
Returns widgets
Returns widgets
query Parameters
dashboard-id | string <uuid> Example: dashboard-id=11111111-1111-1111-1111-111111111111 |
filter[job-spec-id] | string <uuid> Example: filter[job-spec-id]=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "allow-refresh": true,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dashboard-id": "11111111-1111-1111-1111-111111111111",
- "debug": true,
- "height": 0,
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "max-duration": 0,
- "name": "string",
- "pylon-viewer-spec-id": "11111111-1111-1111-1111-111111111111",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgets"
}
], - "meta": { }
}
Creates a new widget
Creates a new widget
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "dashboard-id": "11111111-1111-1111-1111-111111111111",
- "debug": false,
- "height": 0,
- "location-x": 99999,
- "location-y": 99999,
- "name": "string",
- "pylon-viewer-spec-id": "11111111-1111-1111-1111-111111111111",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "title": "string",
- "ui-schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": "string",
- "es_US": "string"
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": "string",
- "col": 0,
- "colSpan": 0,
- "horizontal": true,
- "justifySelf": "string",
- "row": 0,
- "rowSpan": 0
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": "string",
- "es_US": "string"
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": "string",
- "col": 0,
- "colSpan": 0,
- "horizontal": true,
- "justifySelf": "string",
- "row": 0,
- "rowSpan": 0
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "order": [
- "string"
], - "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}
], - "type": "object"
}, - "width": 0
}, - "type": "customjob-widgets"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dashboard-id": "11111111-1111-1111-1111-111111111111",
- "debug": true,
- "height": 0,
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "max-duration": 0,
- "name": "string",
- "pylon-viewer-spec-id": "11111111-1111-1111-1111-111111111111",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgets"
}, - "meta": { }
}
Returns specific widget
Returns specific widget
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dashboard-id": "11111111-1111-1111-1111-111111111111",
- "debug": true,
- "height": 0,
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "max-duration": 0,
- "name": "string",
- "pylon-viewer-spec-id": "11111111-1111-1111-1111-111111111111",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgets"
}, - "meta": { }
}
Modifies an existing widget
Modifies an existing widget
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "debug": true,
- "height": 0,
- "location-x": 99999,
- "location-y": 99999,
- "name": "string",
- "pylon-viewer-spec-id": { },
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "title": "string",
- "ui-schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": "string",
- "es_US": "string"
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": "string",
- "col": 0,
- "colSpan": 0,
- "horizontal": true,
- "justifySelf": "string",
- "row": 0,
- "rowSpan": 0
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": "string",
- "es_US": "string"
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": "string",
- "col": 0,
- "colSpan": 0,
- "horizontal": true,
- "justifySelf": "string",
- "row": 0,
- "rowSpan": 0
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "order": [
- "string"
], - "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}
], - "type": "object"
}, - "width": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgets"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dashboard-id": "11111111-1111-1111-1111-111111111111",
- "debug": true,
- "height": 0,
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "max-duration": 0,
- "name": "string",
- "pylon-viewer-spec-id": "11111111-1111-1111-1111-111111111111",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgets"
}, - "meta": { }
}
/v1/customjob-widgets/{id}/action/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
args | object |
scope | string <uuid> |
Responses
Request samples
- Payload
{- "args": { },
- "scope": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "error": "string",
- "output": { },
- "scope": "string",
- "state": "completed",
- "type": "action",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "widget-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widget-outputs"
}, - "meta": { }
}
/v1/customjob-widgets/{id}/get-deferred-output/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
args | object |
scope | string <uuid> |
Responses
Request samples
- Payload
{- "args": { },
- "scope": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "error": "string",
- "output": { },
- "scope": "string",
- "state": "completed",
- "type": "action",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "widget-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widget-outputs"
}, - "meta": { }
}
/v1/customjob-widgets/{id}/get-deferred-raw-data/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
args | object |
scope | string <uuid> |
Responses
Request samples
- Payload
{- "args": { },
- "scope": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 201
{- "data": {
- "attributes": {
- "args": { },
- "created-at": "string",
- "error": "string",
- "output": { },
- "scope": "string",
- "state": "completed",
- "type": "action",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "widget-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widget-outputs"
}, - "meta": { }
}
/v1/customjob-widgets/{id}/refresh/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
args | object |
Responses
Request samples
- Payload
{- "args": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "dashboard-id": "11111111-1111-1111-1111-111111111111",
- "debug": true,
- "height": 0,
- "last-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "last-run-id": "11111111-1111-1111-1111-111111111111",
- "last-run-time": "string",
- "location-x": 0,
- "location-y": 0,
- "max-duration": 0,
- "name": "string",
- "pylon-viewer-spec-id": "11111111-1111-1111-1111-111111111111",
- "report-id": "11111111-1111-1111-1111-111111111111",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "spec-name": "string",
- "spec-output-type": "graph",
- "success-run": {
- "args": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "duration": 0,
- "id": "11111111-1111-1111-1111-111111111111",
- "last-update": "string",
- "spec-id": "11111111-1111-1111-1111-111111111111",
- "status": "created"
}, - "title": "string",
- "ui-schema": { },
- "width": 0
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgets"
}, - "meta": { }
}
Returns widget specs
Returns widget specs
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
filter[job-spec-id] | string <uuid> Example: filter[job-spec-id]=11111111-1111-1111-1111-111111111111 |
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "allow-refresh": true,
- "args-schema": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "job-scope": "string",
- "job-spec-class-name": "string",
- "job-spec-id": "11111111-1111-1111-1111-111111111111",
- "job-spec-name": "string",
- "layout-schema": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "output-type": "graph"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetspecs"
}
], - "meta": { }
}
Creates a new widget-spec
Creates a new widget-spec
Request Body schema: application/json
required | object | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allow-refresh": false,
- "args-schema": { },
- "job-scope": "string",
- "job-spec-class-name": "string",
- "job-spec-id": "11111111-1111-1111-1111-111111111111",
- "layout-schema": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "output-type": "graph"
}, - "type": "customjob-widgetspecs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args-schema": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "job-scope": "string",
- "job-spec-class-name": "string",
- "job-spec-id": "11111111-1111-1111-1111-111111111111",
- "job-spec-name": "string",
- "layout-schema": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "output-type": "graph"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetspecs"
}, - "meta": { }
}
Returns specific widget-spec
Returns specific widget-spec
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args-schema": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "job-scope": "string",
- "job-spec-class-name": "string",
- "job-spec-id": "11111111-1111-1111-1111-111111111111",
- "job-spec-name": "string",
- "layout-schema": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "output-type": "graph"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetspecs"
}, - "meta": { }
}
Modifies an existing widget-spec
Modifies an existing widget-spec
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args-schema": { },
- "job-scope": "string",
- "job-spec-class-name": "string",
- "job-spec-id": "11111111-1111-1111-1111-111111111111",
- "layout-schema": { },
- "name": "string",
- "output-type": "graph"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetspecs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "allow-refresh": true,
- "args-schema": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "job-scope": "string",
- "job-spec-class-name": "string",
- "job-spec-id": "11111111-1111-1111-1111-111111111111",
- "job-spec-name": "string",
- "layout-schema": { },
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "output-type": "graph"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "customjob-widgetspecs"
}, - "meta": { }
}
/v1/dbd-loaders/
query Parameters
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "args": { },
- "last-run-at": "string",
- "name": "string",
- "type": "basic_aurora"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbd-loaders"
}
], - "meta": { }
}
/v1/dbd-loaders/
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "name": "string",
- "type": "basic_aurora"
}, - "type": "dbd-loaders"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "last-run-at": "string",
- "name": "string",
- "type": "basic_aurora"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbd-loaders"
}, - "meta": { }
}
/v1/dbd-loaders/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "last-run-at": "string",
- "name": "string",
- "type": "basic_aurora"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbd-loaders"
}, - "meta": { }
}
/v1/dbd-loaders/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "args": { },
- "name": "string",
- "type": "basic_aurora"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbd-loaders"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "args": { },
- "last-run-at": "string",
- "name": "string",
- "type": "basic_aurora"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbd-loaders"
}, - "meta": { }
}
/v1/dbm-clusters/
query Parameters
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-clusters"
}
], - "meta": { }
}
/v1/dbm-clusters/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "db-host": "string",
- "db-name": "string",
- "db-password": "string",
- "db-port": 0,
- "db-username": "string",
- "name": "string"
}, - "type": "dbm-clusters"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-clusters"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-clusters"
}, - "meta": { }
}
/v1/dbm-clusters/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "db-host": "string",
- "db-name": "string",
- "db-password": "string",
- "db-port": 0,
- "db-username": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-clusters"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-clusters"
}, - "meta": { }
}
/v1/dbm-clusters/{id}/sync/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-clusters"
}, - "meta": { }
}
/v1/dbm-databases/
query Parameters
filter[db-name] | string <= 255 characters |
filter[dbm-cluster-id] | string <uuid> Example: filter[dbm-cluster-id]=11111111-1111-1111-1111-111111111111 |
filter[managed] | boolean |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "dbm-cluster-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "managed": true,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-databases"
}
], - "meta": { }
}
/v1/dbm-databases/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "db-host": "string",
- "db-port": 0,
- "dbm-cluster-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "dbm-databases"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "dbm-cluster-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "managed": true,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-databases"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "db-host": "string",
- "db-name": "string",
- "db-port": 0,
- "db-username": "string",
- "dbm-cluster-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "managed": true,
- "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-databases"
}, - "meta": { }
}
/v1/dbm-rollups/
query Parameters
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "dbm-database-id": "11111111-1111-1111-1111-111111111111",
- "last-run-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "table-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbm-rollups"
}
], - "meta": { }
}
Returns projects
Returns projects
query Parameters
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "ready-to-use": true,
- "schedule-daily": true,
- "type": "string",
- "upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "url": "string",
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-projects"
}
], - "meta": { }
}
Creates a new project
Creates a new project
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "schedule-daily": false,
- "type": "archive",
- "url": "string",
- "username": "string"
}, - "type": "dbt-projects"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "ready-to-use": true,
- "schedule-daily": true,
- "type": "string",
- "upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "url": "string",
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-projects"
}, - "meta": { }
}
Returns specific project
Returns specific project
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "ready-to-use": true,
- "schedule-daily": true,
- "type": "string",
- "upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "url": "string",
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-projects"
}, - "meta": { }
}
Modifies an existing project
Modifies an existing project
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "schedule-daily": true,
- "url": "string",
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-projects"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "ready-to-use": true,
- "schedule-daily": true,
- "type": "string",
- "upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "url": "string",
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-projects"
}, - "meta": { }
}
Upload .tgz file. Archive should have no prefix, e
Upload .tgz file. Archive should have no prefix, e.g. tar cvfz project.tgz -C /path/project .
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}
/v1/dbt-projects/{id}/process-upload/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "personal-access-token": "string",
- "private-key": "string",
- "ready-to-use": true,
- "schedule-daily": true,
- "type": "string",
- "upload-info": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}, - "url": "string",
- "username": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-projects"
}, - "meta": { }
}
Returns runs
Returns runs
query Parameters
project-id required | string <uuid> Example: project-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "branch": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "project-id": "string",
- "schema": "string",
- "select": "string",
- "status": "string",
- "stderr": "string",
- "stdout": "string",
- "target": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-runs"
}
], - "meta": { }
}
Creates a new run
Creates a new run
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "branch": "string",
- "project-id": "11111111-1111-1111-1111-111111111111",
- "select": "string",
- "target": "dev"
}, - "type": "dbt-runs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "branch": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "project-id": "string",
- "schema": "string",
- "select": "string",
- "status": "string",
- "stderr": "string",
- "stdout": "string",
- "target": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-runs"
}, - "meta": { }
}
Returns specific run
Returns specific run
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "branch": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "project-id": "string",
- "schema": "string",
- "select": "string",
- "status": "string",
- "stderr": "string",
- "stdout": "string",
- "target": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "dbt-runs"
}, - "meta": { }
}
/v1/llm-individual-runs/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "config": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "prompt": "string",
- "question": "string",
- "response": "string",
- "settings": {
- "collector-params": { },
- "collectors": [
- "caredb.AppointmentCollector"
], - "vector-chunk-only": true,
- "vector-limit": 0
}, - "state": "completed",
- "stats": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-individual-runs"
}
], - "meta": { }
}
/v1/llm-individual-runs/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "collector-params": { },
- "collectors": [
- "caredb.AppointmentCollector"
], - "config": { },
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "model": "claude-1-instant",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "question": "string",
- "vector-chunk-only": false,
- "vector-limit": 0
}, - "type": "llm-individual-runs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "config": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "prompt": "string",
- "question": "string",
- "response": "string",
- "settings": {
- "collector-params": { },
- "collectors": [
- "caredb.AppointmentCollector"
], - "vector-chunk-only": true,
- "vector-limit": 0
}, - "state": "completed",
- "stats": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-individual-runs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "config": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "prompt": "string",
- "question": "string",
- "response": "string",
- "settings": {
- "collector-params": { },
- "collectors": [
- "caredb.AppointmentCollector"
], - "vector-chunk-only": true,
- "vector-limit": 0
}, - "state": "completed",
- "stats": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-individual-runs"
}, - "meta": { }
}
/v1/llm-sql-queries/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "config": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "last-modified-at": "string",
- "model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "prompt": "string",
- "question": "string",
- "result": {
- "columns": [
- [
- "string"
]
], - "rows": [
- [
- "string"
]
]
}, - "sql-statement": "string",
- "state": "completed",
- "stats": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-sql-queries"
}
], - "meta": { }
}
/v1/llm-sql-queries/
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "config": { },
- "model": "claude-1-instant",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "question": "string",
- "table-group-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "llm-sql-queries"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "config": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "last-modified-at": "string",
- "model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "prompt": "string",
- "question": "string",
- "result": {
- "columns": [
- [
- "string"
]
], - "rows": [
- [
- "string"
]
]
}, - "sql-statement": "string",
- "state": "completed",
- "stats": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-sql-queries"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "config": { },
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "error": "string",
- "last-modified-at": "string",
- "model": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "prompt": "string",
- "question": "string",
- "result": {
- "columns": [
- [
- "string"
]
], - "rows": [
- [
- "string"
]
]
}, - "sql-statement": "string",
- "state": "completed",
- "stats": { }
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-sql-queries"
}, - "meta": { }
}
/v1/llm-vector-entries/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
query required | string <= 1024 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "chunk": "string",
- "context": {
- "attributes": {
- "collector-type": "string",
- "created-at": "string",
- "identifier": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string"
}, - "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "last-modified-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-vector-entries"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chunk": "string",
- "context": {
- "attributes": {
- "collector-type": "string",
- "created-at": "string",
- "identifier": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "timestamp": "string"
}, - "id": "11111111-1111-1111-1111-111111111111"
}, - "created-at": "string",
- "last-modified-at": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "llm-vector-entries"
}, - "meta": { }
}
/v1/loader-runs/
query Parameters
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-at": "string",
- "last-run-at": "string",
- "loader-cls": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "loader-runs"
}
], - "meta": { }
}
/v1/purge-data/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "archive": false,
- "entity-id": "string",
- "entity-type": "individual",
- "reference-id": "string",
- "request-id": "string"
}, - "type": "system-purges"
}, - "meta": { }
}
Response samples
- 201
null
/v1/sniffers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "type": "sniffers"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
/v1/sniffers/{id}/get-logs/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "body": "string",
- "content_type": "string",
- "created-time": "string",
- "message": "string",
- "method": "string",
- "path": "string",
- "query-string": "string",
- "request-id": "string",
- "response": "string",
- "status-code": 0,
- "trace-id": "string",
- "user-agent": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffer-logs"
}
], - "meta": { }
}