Import StackState Templated JSON (STJ) setting nodes.
timeoutSeconds | integer <int64> |
namespace | string |
unlocked | string Enum: "fail" "skip" "overwrite" |
[- { }
]
Export StackState Templated JSON (STJ) setting nodes.
nodesWithIds | Array of integers <int64> [ items <int64 > ] |
allNodesOfTypes | Array of strings |
namespace | string |
allowReferences | Array of strings |
{- "nodesWithIds": [
- 0
], - "allNodesOfTypes": [
- "string"
], - "namespace": "string",
- "allowReferences": [
- "string"
]
}
{- "nodeTypes": [
- {
- "typeName": "string",
- "description": "string"
}
]
}
list all nodes of that type
nodeType required | string |
namespace | string |
ownedBy | string |
[- {
- "typeName": "string",
- "id": 0,
- "lastUpdateTimestamp": 0,
- "identifier": "string",
- "name": "string",
- "description": "string",
- "ownedBy": "string",
- "manual": true,
- "isSettingsNode": true
}
]
upload a StackPack
stackPack | string <binary> |
{- "name": "string",
- "displayName": "string",
- "version": "string",
- "logo": "string",
- "categories": [
- "string"
], - "isNew": true,
- "overviewUrl": "string",
- "detailedOverviewUrl": "string",
- "resourcesUrl": "string",
- "faqs": [
- {
- "question": "string",
- "answer": "string"
}
], - "configurationUrls": [
- [
- "string"
]
], - "releaseStatus": "AVAILABLE",
- "isCompatible": true
}
[- {
- "name": "string",
- "displayName": "string",
- "version": "string",
- "configurations": [
- {
- "id": 0,
- "status": "string",
- "lastUpdateTimestamp": 0,
- "stackPackVersion": "string"
}
], - "latestVersion": {
- "version": "string"
}, - "nextVersion": {
- "version": "string"
}, - "steps": [
- {
- "display": "string",
- "name": "string",
- "value": {
- "_type": "string"
}
}
]
}
]
Provision details
stackName required | string (stackName) |
property name* | string |
{- "property1": "string",
- "property2": "string"
}
{- "id": 0,
- "status": "string",
- "name": "string",
- "stackPackVersion": "string",
- "lastUpdateTimestamp": 0
}
{- "monitors": [
- {
- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0
}
]
}
Returns a monitor full representation
monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
{- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0
}
Deletes existing monitor
monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
{- "monitorIdOrUrn": "string",
- "_type": "InvalidMonitorIdentifier"
}
Performs a run of a monitor. If 'dryRun' is set, topology state will not be modified.
monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
dryRun | boolean If set, the topology state will not be modified |
{- "result": { }
}
Returns a monitor full representation with the stream status information
monitorIdOrUrn required | string (MonitorIdOrUrn) ^urn:.+|[0-9]+$ The id or identifier (urn) of a monitor |
{- "monitor": {
- "id": 0,
- "name": "string",
- "identifier": "string",
- "description": "string",
- "functionId": 0,
- "arguments": [
- { }
], - "remediationHint": "string",
- "intervalSeconds": 0
}, - "errors": [
- {
- "error": "string",
- "count": 0
}
], - "metrics": {
- "healthSyncServiceMetrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}
}, - "monitorHealthStateStateCount": 0,
- "topologyMatchResult": {
- "matchedCheckStates": 0,
- "unmatchedCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string"
}
], - "multipleMatchesCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string",
- "matchCount": 0
}
]
}
}
{- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "description": "string",
- "identifier": "string",
- "starredViews": [
- 0
], - "ownedBy": "string"
}
Save current user profile.
name required | string |
description | string |
identifier | string |
starredViews | Array of integers <int64> [ items <int64 > ] |
ownedBy | string |
{- "name": "string",
- "description": "string",
- "identifier": "string",
- "starredViews": [
- 0
], - "ownedBy": "string"
}
{- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "description": "string",
- "identifier": "string",
- "starredViews": [
- 0
], - "ownedBy": "string"
}
Gets you a list of events that exist for topology and time selections.
startTimestampMs required | integer <instant> |
endTimestampMs required | integer <instant> |
topologyQuery required | string |
limit required | integer |
playHeadTimestampMs | integer <instant> |
rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
eventTypes | Array of strings |
eventTags | Array of strings |
eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" |
eventSources | Array of strings |
object (EventCursor) |
{- "startTimestampMs": 0,
- "endTimestampMs": 0,
- "topologyQuery": "string",
- "limit": 0,
- "playHeadTimestampMs": 0,
- "rootCauseMode": "no-cause",
- "eventTypes": [
- "string"
], - "eventTags": [
- "string"
], - "eventCategories": [
- "Changes"
], - "eventSources": [
- "string"
], - "cursor": {
- "lastEventTimestampMs": 0,
- "lastEventId": "string"
}
}
{- "items": [
- {
- "identifier": "string",
- "sourceIdentifier": "string",
- "elementIdentifiers": [
- "string"
], - "elements": [
- {
- "_type": "EventComponent",
- "id": 0,
- "componentTypeId": 0,
- "name": "string"
}
], - "source": "string",
- "category": "Changes",
- "description": "string",
- "name": "string",
- "sourceLinks": [
- {
- "title": "string",
- "url": "string"
}
], - "data": { },
- "eventType": "string",
- "eventTime": 0,
- "processedTime": 0,
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
]
}
], - "total": 0
}
Retrieves a specific event by its identifier.
eventId required | string (EventId) The Identifier of an event. |
startTimestampMs required | integer <instant> |
endTimestampMs required | integer <instant> |
playHeadTimestampMs | integer <instant> |
{- "identifier": "string",
- "sourceIdentifier": "string",
- "elementIdentifiers": [
- "string"
], - "elements": [
- {
- "_type": "EventComponent",
- "id": 0,
- "componentTypeId": 0,
- "name": "string"
}
], - "source": "string",
- "category": "Changes",
- "description": "string",
- "name": "string",
- "sourceLinks": [
- {
- "title": "string",
- "url": "string"
}
], - "data": { },
- "eventType": "string",
- "eventTime": 0,
- "processedTime": 0,
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "causingEvents": [
- {
- "title": "string",
- "eventId": "string",
- "eventTimestamp": 0,
- "eventType": "string"
}
]
}
Get a list of event types for a certain STQL query.
startTimestampMs required | integer <instant> |
endTimestampMs required | integer <instant> |
topologyQuery required | string |
rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
playHeadTimestampMs | integer <instant> |
eventTypes | Array of strings |
limit required | integer |
eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" The category labels of an event. |
eventSources | Array of strings |
eventTags | Array of strings |
match | string Default: "" |
{- "items": [
- "string"
], - "total": 0
}
Get a list of event sources.
startTimestampMs required | integer <instant> |
endTimestampMs required | integer <instant> |
topologyQuery required | string |
rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
playHeadTimestampMs | integer <instant> |
eventTypes | Array of strings |
limit required | integer |
eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" The category labels of an event. |
eventSources | Array of strings |
eventTags | Array of strings |
match | string Default: "" |
{- "items": [
- "string"
], - "total": 0
}
Gets a list of tags that exist in a list of events.
startTimestampMs required | integer <instant> |
endTimestampMs required | integer <instant> |
topologyQuery required | string |
rootCauseMode | string (RootCauseMode) Enum: "no-cause" "cause-only" "full-cause-tree" |
playHeadTimestampMs | integer <instant> |
eventTypes | Array of strings |
limit required | integer |
eventCategories | Array of strings (EventCategory) Items Enum: "Changes" "Alerts" "Anomalies" "Activities" "Others" The category labels of an event. |
eventSources | Array of strings |
eventTags | Array of strings |
match | string Default: "" |
{- "items": [
- "string"
], - "total": 0
}
Status overview of a single health synchronization stream
healthStreamUrn required | string Urn of the health stream. |
{- "partition": 0,
- "consistencyModel": "string",
- "recoverMessage": "string",
- "globalErrors": [
- {
- "errorCode": "string",
- "level": "string",
- "error": "string",
- "count": 0
}
], - "aggregateMetrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "mainStreamStatus": {
- "errors": [
- {
- "errorCode": "string",
- "level": "string",
- "error": "string",
- "count": 0
}
], - "metrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "subStreamState": {
- "_type": "HealthSubStreamSnapshot",
- "expiryIntervalMs": 0,
- "repeatIntervalMs": 0
}, - "checkStateCount": 0
}
}
Overview of all sub-streams in a certain health stream.
healthStreamUrn required | string Urn of the health stream. |
{- "subStreams": [
- {
- "subStreamId": "string",
- "subStreamState": {
- "_type": "HealthSubStreamSnapshot",
- "expiryIntervalMs": 0,
- "repeatIntervalMs": 0
}, - "checkStateCount": 0
}
]
}
Overview of check-states matched to topology on the main stream.
healthStreamUrn required | string Urn of the health stream. |
{- "matchedCheckStates": 0,
- "unmatchedCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string"
}
], - "multipleMatchesCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string",
- "matchCount": 0
}
]
}
Status overview of a single health synchronization sub stream
healthStreamUrn required | string Urn of the health stream. |
healthSyncSubStreamId required | string Health synchronization sub stream id. |
{- "errors": [
- {
- "errorCode": "string",
- "level": "string",
- "error": "string",
- "count": 0
}
], - "metrics": {
- "bucketSizeSeconds": 0,
- "latencySeconds": [
- {
- "value": 0
}
], - "messagePerSecond": [
- {
- "value": 0
}
], - "createsPerSecond": [
- {
- "value": 0
}
], - "updatesPerSecond": [
- {
- "value": 0
}
], - "deletesPerSecond": [
- {
- "value": 0
}
]
}, - "subStreamState": {
- "_type": "HealthSubStreamSnapshot",
- "expiryIntervalMs": 0,
- "repeatIntervalMs": 0
}, - "checkStateCount": 0
}
Overview of check-states matched to topology on the main stream.
healthStreamUrn required | string Urn of the health stream. |
healthSyncSubStreamId required | string Health synchronization sub stream id. |
{- "matchedCheckStates": 0,
- "unmatchedCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string"
}
], - "multipleMatchesCheckStates": [
- {
- "checkStateId": "string",
- "topologyElementIdentifier": "string",
- "matchCount": 0
}
]
}
Overview of the topology synchronization streams
{- "streams": [
- {
- "syncIdentifier": "string",
- "nodeId": 0,
- "name": "string",
- "createdRelations": 0,
- "deletedRelations": 0,
- "createdComponents": 0,
- "deletedComponents": 0,
- "errors": 0,
- "status": "Running"
}
]
}
Overview of a specific Topology Stream, queried by node id or sync identifier
identifier required | string |
identifierType required | string (IdentifierType) Enum: "NodeId" "Identifier" |
{- "item": {
- "syncIdentifier": "string",
- "nodeId": 0,
- "name": "string",
- "createdRelations": 0,
- "deletedRelations": 0,
- "createdComponents": 0,
- "deletedComponents": 0,
- "errors": 0,
- "status": "Running"
}, - "errorDetails": [
- {
- "level": "Warn",
- "message": "string",
- "externalId": "string"
}
]
}
Clear all the errors related to a specific sync
identifier required | string |
identifierType required | string (IdentifierType) Enum: "NodeId" "Identifier" |
{- "message": "string"
}
Execute a StackState Scripting Language or Template Language script with arbitrary arguments.
timeoutMs | integer |
script required | string |
argumentsScript | string |
{- "timeoutMs": 0,
- "script": "string",
- "argumentsScript": "string"
}
{- "result": { }
}
Get information of the StackState information, such as version, deployment mode, etc.
{- "version": {
- "major": 0,
- "minor": 0,
- "patch": 0,
- "diff": "string",
- "commit": "string",
- "isDev": true
}, - "deploymentMode": "Saas"
}
[- {
- "id": 0,
- "lastUpdateTimestamp": 0,
- "name": "string",
- "description": "string",
- "expiration": 0,
- "roles": [
- "string"
]
}
]
Create new service token.
name required | string |
expiryDate | integer <int64> |
roles required | Array of strings |
{- "name": "string",
- "expiryDate": 0,
- "roles": [
- "string"
]
}
{- "name": "string",
- "token": "string",
- "expiration": 0
}
Delete service token.
serviceTokenId required | integer <int64> (ServiceTokenId) The identifier of a service token |
{- "_type": "ErrorsResponse",
- "trackingKey": "string",
- "serverTimestamp": 0,
- "errors": [
- {
- "_type": "InternalError",
- "message": "string",
- "errorCode": 0
}
]
}
startTime required | integer <int64> Beginning of timerange of to be exported anomalies. Timestamp in unix millis. |
endTime | integer <int64> End of timerange of to be exported anomalies. Timestamp in unix millis. |
history | integer <int64> Amount of historic data, leading up to the anomaly, to be exported. Duration in unix millis. |
feedback required | string Value: "present" Type of filtering to do on feedback. Filtering on feedback is currently mandatory, with only the 'present' value being supporeted (feedback is available). |
[- {
- "anomaly": {
- "id": "string",
- "name": "string",
- "reference": {
- "_type": "MetricStreamReference",
- "streamNodeId": 0,
- "elementIdentifiers": [
- "string"
]
}, - "identifiers": [
- "string"
], - "description": "string",
- "annotationType": "MetricStreamAnomaly",
- "eventTimeInterval": {
- "start": 0,
- "end": 0
}, - "processedTime": 0,
- "createdTime": 0,
- "tags": [
- "string"
], - "data": {
- "_type": "MetricStreamAnomalyData",
- "severity": "LOW",
- "severityScore": 0,
- "checkedInterval": {
- "start": 0,
- "end": 0
}, - "explanation": "string",
- "modelInfo": { },
- "elementName": "string",
- "streamName": "string",
- "query": {
- "dataSourceId": 0,
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "aggregationMethod": "MEAN",
- "bucketSize": 0,
- "metricField": "string",
- "queryHash": "string"
}
}
}, - "data": [
- {
- "ts": 0,
- "v": 0
}
], - "feedback": {
- "_type": "FeedbackData",
- "subject": "string",
- "thumbsup": [
- "string"
], - "thumbsdown": [
- "string"
], - "comments": [
- {
- "author": "string",
- "text": "string",
- "timestamp": 0
}
], - "query": {
- "dataSourceId": 0,
- "conditions": [
- {
- "key": "string",
- "value": "string"
}
], - "aggregationMethod": "MEAN",
- "bucketSize": 0,
- "metricField": "string",
- "queryHash": "string"
}
}
}
]
Gets a top 3 metrics for a datapoint, always takes the last 15 minutes before provided timepoint
componentId required | integer <int64> (ComponentId) The Identifier of a component |
queryTime required | integer <instant> (QueryTime) A Data point for a query either point from timeline or 'now' if livemode |
streamIds required | Array of integers <int64> (StreamIds) [ items <int64 > ] Ids of streams to query for |