Entities data models

deleteEntityInstance — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityInstance — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityInstance — 404 response

The required entity does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityInstance — 409 response

The entity was not deleted. The reason field of the response body tells why. * ENTITY_IS_IN_USE: the entity is in use. This reason is checked first. The data field says what uses it, and only one of these is returned: * data.bizstackAppInstallationIds: a Bizstack App is installed in the entity, or in a descendant that would be deleted with it. Lists the IDs of those installations. Uninstall the apps, then try again. This is checked before alert rules. * data.alertRuleIds: the condition of an alert rule names the entity, or a descendant that would be deleted with it. Lists the IDs of those rules, enabled or disabled. Change or delete the rules, then try again. * ENTITY_HAS_CHILDREN: the entity has children, and deleteDescendants is not true.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityInstance — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityInstance — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityInstance — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityInstance — 200 response

Successful retrieval of entity instance.

PropertyTypeRequiredConstraintsDescription
attributesobjectNoThe attributes that belong to the entity instance, separated as key-value pairs.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp of entity creation.
displaySettingsobjectNoVarious user interface settings used for display of the entity instance.
Properties of displaySettings
PropertyTypeRequiredConstraintsDescription
descriptionstringNoAn intuitive description for the entity instance for display.
iconDataobjectNoMetadata used for the uploaded icon of the entity instance.
Properties of iconData
PropertyTypeRequiredConstraintsDescription
fileNamestringNoFileName represents the name of the file uploaded.
urlstringNoA temporary signed URL for file download.
imageDataobjectNoMetadata used for the uploaded image of the entity instance.
Properties of imageData
PropertyTypeRequiredConstraintsDescription
fileNamestringNoFileName represents the name of the file uploaded.
urlstringNoA temporary signed URL for file download.
namestringNoThe display name for the entity instance.
entityClassstringYesread-only (server-generated)The entity class that the entity was instantiated from.
entityIdstringYesread-only (server-generated)Unique entity ID.
homeIdintegerYesread-only (server-generated)Home that this entity belongs to.
metricsarray<object>Noread-only (server-generated)Meta data of the metrics associated with this entity instance.
Properties of metrics
PropertyTypeRequiredConstraintsDescription
metricsDefinitionIdstringNoCorresponding metrics definition ID in entity class.
parentIdstringNoThe ID of the entity instance that is a parent of the instance.
projectIdintegerYesread-only (server-generated)Project that this entity belongs to.
suspendAlertRuleEvaluationConditionsarray<object>NoAn array of condition for suspending alerts, which are evaluated as if they are concatenated with OR
Properties of suspendAlertRuleEvaluationConditions
PropertyTypeRequiredConstraintsDescription
alertConditionTypesarray<string>NoAn array of alert condition types. This allows suspending alerts based on the alert types. All rules of the specified condition type will be suspended.
fromstringNoformat: date-timeTimestamp of the begin of the interval. Null applies this rule without this time constrains
includeDescendantsbooleanNoBoolean value that shows whether alert rules are suspended for only this entity or this entity and descendants
rulesarray<number>NoAn array of alertRuleId. Empty array means all rules
tostringNoformat: date-timeTimestamp of the end of the interval. Null applies this rule without this time constrains
timeZonestringYesread-only (server-generated)The time zone that the entity exists in. This should be a time zone name defined in the IANA TZ Database.
uiSettingsobjectNoAn opaque object used by UI applications to store any additional settings. These will override the entity class uiSettings.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of the last update on the entity.

getEntityInstance — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityInstance — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityInstance — 404 response

The requested entity does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityInstance — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityInstance — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityInstance — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityInstance — request

Request body for Update entity instance.

PropertyTypeRequiredConstraintsDescription
attributesobjectNoThe attributes that belong to the entity instance, separated as key-value pairs.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp of entity creation.
displaySettingsobjectNoVarious user interface settings used for display of the entity instance.
Properties of displaySettings
PropertyTypeRequiredConstraintsDescription
descriptionstringNoAn intuitive description for the entity instance for display.
iconDataobjectNoMetadata used for the uploaded icon of the entity instance.
Properties of iconData
PropertyTypeRequiredConstraintsDescription
fileNamestringNoFileName represents the name of the file uploaded.
urlstringNoA temporary signed URL for file download.
imageDataobjectNoMetadata used for the uploaded image of the entity instance.
Properties of imageData
PropertyTypeRequiredConstraintsDescription
fileNamestringNoFileName represents the name of the file uploaded.
urlstringNoA temporary signed URL for file download.
namestringNoThe display name for the entity instance.
entityClassstringYesread-only (server-generated)The entity class that the entity was instantiated from.
entityIdstringYesread-only (server-generated)Unique entity ID.
homeIdintegerYesread-only (server-generated)Home that this entity belongs to.
metricsarray<object>Noread-only (server-generated)Meta data of the metrics associated with this entity instance.
Properties of metrics
PropertyTypeRequiredConstraintsDescription
metricsDefinitionIdstringNoCorresponding metrics definition ID in entity class.
parentIdstringNoThe ID of the entity instance that is a parent of the instance.
projectIdintegerYesread-only (server-generated)Project that this entity belongs to.
suspendAlertRuleEvaluationConditionsarray<object>NoAn array of condition for suspending alerts, which are evaluated as if they are concatenated with OR
Properties of suspendAlertRuleEvaluationConditions
PropertyTypeRequiredConstraintsDescription
alertConditionTypesarray<string>NoAn array of alert condition types. This allows suspending alerts based on the alert types. All rules of the specified condition type will be suspended.
fromstringNoformat: date-timeTimestamp of the begin of the interval. Null applies this rule without this time constrains
includeDescendantsbooleanNoBoolean value that shows whether alert rules are suspended for only this entity or this entity and descendants
rulesarray<number>NoAn array of alertRuleId. Empty array means all rules
tostringNoformat: date-timeTimestamp of the end of the interval. Null applies this rule without this time constrains
timeZonestringYesread-only (server-generated)The time zone that the entity exists in. This should be a time zone name defined in the IANA TZ Database.
uiSettingsobjectNoAn opaque object used by UI applications to store any additional settings. These will override the entity class uiSettings.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of the last update on the entity.

updateEntityInstance — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityInstance — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityInstance — 404 response

The requested entity does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityInstance — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityInstance — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityInstance — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertRules — 200 response

Successfully retrieved the alert rules.

Represents an alert rule

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
actionsarray<object>NoThe actions to take when the alert rule is triggered
Properties of actions
PropertyTypeRequiredConstraintsDescription
recipientsarray<one of 5>NoOptional. Recipients that will be notified when this action runs. Each recipient is discriminated by its recipientType. Maximum 10 recipients. Assistant recipients (slack, direct, msTeams) must belong to the same project and entity as the alert rule.

One of the following 5 shapes:

Variant 1

Sends the alert notification to an email address.

PropertyTypeRequiredConstraintsDescription
emailstringYesThe destination email address.
recipientTypestringYesone of: email

Variant 2

Emits an event of eventType into the project event stream.

PropertyTypeRequiredConstraintsDescription
eventTypestringYesThe event type to emit.
recipientTypestringYesone of: event

Variant 3

Sends the alert notification to a Slack channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Slack assistant.
channelIdstringYesSlack channel identifier.
recipientTypestringYesone of: slack
workspaceIdstringYesSlack workspace identifier.

Variant 4

Sends the alert notification to a Direct chat room via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Direct assistant.
domainIdstringYesDirect domain identifier.
recipientTypestringYesone of: direct
roomIdstringYesDirect room identifier.

Variant 5

Sends the alert notification to a Microsoft Teams channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Microsoft Teams assistant.
channelIdstringYesMicrosoft Teams channel identifier.
recipientTypestringYesone of: msTeams
teamIdstringYesMicrosoft Teams team identifier.
tenantIdstringYesMicrosoft Teams tenant identifier.
videoFeedsarray<object>NoOptional. Video feed snapshots to capture and attach to the alert notification when the rule fires. When omitted, no snapshots are captured. Whether/how a given recipient renders the attachment depends on that recipient's channel.
Properties of videoFeeds
PropertyTypeRequiredConstraintsDescription
entityIdstringYesEntity owning the video feed. Supports the {{triggeredEntityId}} template placeholder to refer to the entity that triggered the alert.
videoFeedIdstringNoOptional. Specific video feed identifier. When omitted, all video feeds of the entity are used.
conditionone of 5NoThe condition that triggers the alert rule. The shape is discriminated by conditionType.

One of the following 5 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Evaluates several metric conditions together and alerts only when all of them breach at the same severity. Each condition watches its own entity and metric; which entity fills which condition is given explicitly by entityTuples, one tuple per monitored installation. Alerting V2 only, and event-driven only: there is no scheduled evaluation for this condition type, so it has no frequency or delay.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsThresholdCompositeThe discriminator for the condition type. Must be metricsThresholdComposite.
conditionsarray<object>Yesmin items: 2; max items: 10The AND-ed conditions. Order is significant: a condition's position is its identity, referenced by entityTuples[].entities and by the conditionN message template aliases, so reordering conditions changes the meaning of both. Every condition must define the same set of threshold severities, because the composite severity is the highest severity at which all conditions breach. Two conditions may share, or fully duplicate, the same entityClass + metricsDefinitionId + metricName; the entity binding comes from the tuple, not the condition.
Properties of conditions
PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to this condition's metric over its duration.
durationstringYesRequired. The time range over which this condition's data points are aggregated (e.g. 1min, 10min). Must be positive and non-zero, capped at 1 day. Each condition has its own duration.
entityClassstringYesThe entity class that owns the metric. Every entity bound to this condition's slot must be of this class.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds for this condition. Duplicate severities are not allowed, and the set of severities must be identical across every condition of the rule.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
entityTuplesarray<object>Yesmin items: 1; max items: 100The explicit entity mappings, one per monitored installation. Each tuple says which real entity fills each condition slot. Tuples are never inferred from entity hierarchy or scope, because that mapping is business knowledge the platform cannot guess. Two tuples of one rule alert independently. Duplicate mappings are rejected.
Properties of entityTuples
PropertyTypeRequiredConstraintsDescription
entitiesarray<string>Yesmin items: 2; max items: 10The entity IDs filling each condition slot, positionally aligned with conditions: entities[i] is evaluated against conditions[i]. The length must equal the number of conditions, and each entity must be of its condition's entityClass and must be the alert rule's entity or one of its descendants. The same entity may appear in more than one slot.

Variant 3

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 5

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
creationTimestringNoThe time the alert rule was created
descriptionstringNoThe description of the alert rule
disableAutoRecoverybooleanNoWhether alert based on this rule recover automatically
disableRecoveryAlertbooleanNoWhether a notification will be sent when an alert recovers
enabledbooleanNoWhether the alert rule is enabled
idintegerNoThe unique identifier for the alert rule
messageTemplateobjectNoTemplates used to render the notification title and message for the different alert state transitions. Template variables are referenced with {{name}} syntax. Supported variables: projectId, alertId, alertRuleId, alertRuleName, entityId, entityName, severity, invocationTime, invocationValue, currentValue.
Properties of messageTemplate
PropertyTypeRequiredConstraintsDescription
decreasedSeverityMessagestringNoOptional. Message body used when an alert's severity decreases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased to {{severity}}.
decreasedSeverityTitlestringNoOptional. Title used when an alert's severity decreases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased.
increasedSeverityMessagestringNoOptional. Message body used when an alert's severity increases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased to {{severity}}.
increasedSeverityTitlestringNoOptional. Title used when an alert's severity increases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased.
messagestringNoOptional. Message body used when an alert is initially fired. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryMessagestringNoOptional. Message body used when an alert recovers. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryTitlestringNoOptional. Title used when an alert recovers. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} is back to normal.
severityMessageOverridesarray<object>Nomax items: 3Optional. Per-severity overrides for title, message, recoveryTitle, and recoveryMessage. When an override entry exists for the current severity and the field is non-empty, it takes precedence over the corresponding top-level field. increasedSeverityTitle, increasedSeverityMessage, decreasedSeverityTitle, and decreasedSeverityMessage are NOT overridable per severity. Each severity value must appear at most once.
Properties of severityMessageOverrides
PropertyTypeRequiredConstraintsDescription
messagestringNoOptional. Message body override used when an alert fires at this severity. Max 2000 runes.
recoveryMessagestringNoOptional. Message body override used when an alert recovers from this severity. Max 2000 runes.
recoveryTitlestringNoOptional. Title override used when an alert recovers from this severity. Max 200 runes.
severityintegerYesone of: 1, 2, 3The alert severity level this override applies to. 1 = high, 2 = moderate, 3 = low. Must not be 0 (none).
titlestringNoOptional. Title override used when an alert fires at this severity. Max 200 runes.
titlestringYesTitle used when an alert is initially fired. Max 200 runes. Required.
namestringNoThe name of the alert rule
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
reasonForDisablingunknownNoread-only (server-generated); one of: unknown, api, invalid_entity, invalid_metricThe reason why this alert rule was disabled. Will not be set when the alert rule is enabled
scheduleIdstringNoThe schedule ID for the alert rule
updateTimestringNoThe time the alert rule was last updated

listProjectEntityAlertRules — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertRules — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertRules — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertRules — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertRules — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertRules — request

Request body for Create an alert rule.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>NoThe actions to take when the alert rule is triggered
Properties of actions
PropertyTypeRequiredConstraintsDescription
recipientsarray<one of 5>NoOptional. Recipients that will be notified when this action runs. Each recipient is discriminated by its recipientType. Maximum 10 recipients. Assistant recipients (slack, direct, msTeams) must belong to the same project and entity as the alert rule.

One of the following 5 shapes:

Variant 1

Sends the alert notification to an email address.

PropertyTypeRequiredConstraintsDescription
emailstringYesThe destination email address.
recipientTypestringYesone of: email

Variant 2

Emits an event of eventType into the project event stream.

PropertyTypeRequiredConstraintsDescription
eventTypestringYesThe event type to emit.
recipientTypestringYesone of: event

Variant 3

Sends the alert notification to a Slack channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Slack assistant.
channelIdstringYesSlack channel identifier.
recipientTypestringYesone of: slack
workspaceIdstringYesSlack workspace identifier.

Variant 4

Sends the alert notification to a Direct chat room via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Direct assistant.
domainIdstringYesDirect domain identifier.
recipientTypestringYesone of: direct
roomIdstringYesDirect room identifier.

Variant 5

Sends the alert notification to a Microsoft Teams channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Microsoft Teams assistant.
channelIdstringYesMicrosoft Teams channel identifier.
recipientTypestringYesone of: msTeams
teamIdstringYesMicrosoft Teams team identifier.
tenantIdstringYesMicrosoft Teams tenant identifier.
videoFeedsarray<object>NoOptional. Video feed snapshots to capture and attach to the alert notification when the rule fires. When omitted, no snapshots are captured. Whether/how a given recipient renders the attachment depends on that recipient's channel.
Properties of videoFeeds
PropertyTypeRequiredConstraintsDescription
entityIdstringYesEntity owning the video feed. Supports the {{triggeredEntityId}} template placeholder to refer to the entity that triggered the alert.
videoFeedIdstringNoOptional. Specific video feed identifier. When omitted, all video feeds of the entity are used.
conditionone of 5YesThe condition that triggers the alert rule. The shape is discriminated by conditionType.

One of the following 5 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Evaluates several metric conditions together and alerts only when all of them breach at the same severity. Each condition watches its own entity and metric; which entity fills which condition is given explicitly by entityTuples, one tuple per monitored installation. Alerting V2 only, and event-driven only: there is no scheduled evaluation for this condition type, so it has no frequency or delay.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsThresholdCompositeThe discriminator for the condition type. Must be metricsThresholdComposite.
conditionsarray<object>Yesmin items: 2; max items: 10The AND-ed conditions. Order is significant: a condition's position is its identity, referenced by entityTuples[].entities and by the conditionN message template aliases, so reordering conditions changes the meaning of both. Every condition must define the same set of threshold severities, because the composite severity is the highest severity at which all conditions breach. Two conditions may share, or fully duplicate, the same entityClass + metricsDefinitionId + metricName; the entity binding comes from the tuple, not the condition.
Properties of conditions
PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to this condition's metric over its duration.
durationstringYesRequired. The time range over which this condition's data points are aggregated (e.g. 1min, 10min). Must be positive and non-zero, capped at 1 day. Each condition has its own duration.
entityClassstringYesThe entity class that owns the metric. Every entity bound to this condition's slot must be of this class.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds for this condition. Duplicate severities are not allowed, and the set of severities must be identical across every condition of the rule.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
entityTuplesarray<object>Yesmin items: 1; max items: 100The explicit entity mappings, one per monitored installation. Each tuple says which real entity fills each condition slot. Tuples are never inferred from entity hierarchy or scope, because that mapping is business knowledge the platform cannot guess. Two tuples of one rule alert independently. Duplicate mappings are rejected.
Properties of entityTuples
PropertyTypeRequiredConstraintsDescription
entitiesarray<string>Yesmin items: 2; max items: 10The entity IDs filling each condition slot, positionally aligned with conditions: entities[i] is evaluated against conditions[i]. The length must equal the number of conditions, and each entity must be of its condition's entityClass and must be the alert rule's entity or one of its descendants. The same entity may appear in more than one slot.

Variant 3

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 5

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
descriptionstringNodefault: ""The description of the alert rule
disableAutoRecoverybooleanNodefault: falseWhether alert based on this rule recover automatically
disableRecoveryAlertbooleanNodefault: falseWhether a notification will be sent when an alert recovers
enabledbooleanNodefault: falseWhether the alert rule is enabled
messageTemplateobjectNoTemplates used to render the notification title and message for the different alert state transitions. Template variables are referenced with {{name}} syntax. Supported variables: projectId, alertId, alertRuleId, alertRuleName, entityId, entityName, severity, invocationTime, invocationValue, currentValue.
Properties of messageTemplate
PropertyTypeRequiredConstraintsDescription
decreasedSeverityMessagestringNoOptional. Message body used when an alert's severity decreases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased to {{severity}}.
decreasedSeverityTitlestringNoOptional. Title used when an alert's severity decreases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased.
increasedSeverityMessagestringNoOptional. Message body used when an alert's severity increases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased to {{severity}}.
increasedSeverityTitlestringNoOptional. Title used when an alert's severity increases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased.
messagestringNoOptional. Message body used when an alert is initially fired. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryMessagestringNoOptional. Message body used when an alert recovers. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryTitlestringNoOptional. Title used when an alert recovers. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} is back to normal.
severityMessageOverridesarray<object>Nomax items: 3Optional. Per-severity overrides for title, message, recoveryTitle, and recoveryMessage. When an override entry exists for the current severity and the field is non-empty, it takes precedence over the corresponding top-level field. increasedSeverityTitle, increasedSeverityMessage, decreasedSeverityTitle, and decreasedSeverityMessage are NOT overridable per severity. Each severity value must appear at most once.
Properties of severityMessageOverrides
PropertyTypeRequiredConstraintsDescription
messagestringNoOptional. Message body override used when an alert fires at this severity. Max 2000 runes.
recoveryMessagestringNoOptional. Message body override used when an alert recovers from this severity. Max 2000 runes.
recoveryTitlestringNoOptional. Title override used when an alert recovers from this severity. Max 200 runes.
severityintegerYesone of: 1, 2, 3The alert severity level this override applies to. 1 = high, 2 = moderate, 3 = low. Must not be 0 (none).
titlestringNoOptional. Title override used when an alert fires at this severity. Max 200 runes.
titlestringYesTitle used when an alert is initially fired. Max 200 runes. Required.
namestringYesThe name of the alert rule
scheduleIdstringNoThe schedule ID for the alert rule

createProjectEntityAlertRules — 201 response

Successfully created a new alert rule.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>NoThe actions to take when the alert rule is triggered
Properties of actions
PropertyTypeRequiredConstraintsDescription
recipientsarray<one of 5>NoOptional. Recipients that will be notified when this action runs. Each recipient is discriminated by its recipientType. Maximum 10 recipients. Assistant recipients (slack, direct, msTeams) must belong to the same project and entity as the alert rule.

One of the following 5 shapes:

Variant 1

Sends the alert notification to an email address.

PropertyTypeRequiredConstraintsDescription
emailstringYesThe destination email address.
recipientTypestringYesone of: email

Variant 2

Emits an event of eventType into the project event stream.

PropertyTypeRequiredConstraintsDescription
eventTypestringYesThe event type to emit.
recipientTypestringYesone of: event

Variant 3

Sends the alert notification to a Slack channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Slack assistant.
channelIdstringYesSlack channel identifier.
recipientTypestringYesone of: slack
workspaceIdstringYesSlack workspace identifier.

Variant 4

Sends the alert notification to a Direct chat room via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Direct assistant.
domainIdstringYesDirect domain identifier.
recipientTypestringYesone of: direct
roomIdstringYesDirect room identifier.

Variant 5

Sends the alert notification to a Microsoft Teams channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Microsoft Teams assistant.
channelIdstringYesMicrosoft Teams channel identifier.
recipientTypestringYesone of: msTeams
teamIdstringYesMicrosoft Teams team identifier.
tenantIdstringYesMicrosoft Teams tenant identifier.
videoFeedsarray<object>NoOptional. Video feed snapshots to capture and attach to the alert notification when the rule fires. When omitted, no snapshots are captured. Whether/how a given recipient renders the attachment depends on that recipient's channel.
Properties of videoFeeds
PropertyTypeRequiredConstraintsDescription
entityIdstringYesEntity owning the video feed. Supports the {{triggeredEntityId}} template placeholder to refer to the entity that triggered the alert.
videoFeedIdstringNoOptional. Specific video feed identifier. When omitted, all video feeds of the entity are used.
conditionone of 5NoThe condition that triggers the alert rule. The shape is discriminated by conditionType.

One of the following 5 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Evaluates several metric conditions together and alerts only when all of them breach at the same severity. Each condition watches its own entity and metric; which entity fills which condition is given explicitly by entityTuples, one tuple per monitored installation. Alerting V2 only, and event-driven only: there is no scheduled evaluation for this condition type, so it has no frequency or delay.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsThresholdCompositeThe discriminator for the condition type. Must be metricsThresholdComposite.
conditionsarray<object>Yesmin items: 2; max items: 10The AND-ed conditions. Order is significant: a condition's position is its identity, referenced by entityTuples[].entities and by the conditionN message template aliases, so reordering conditions changes the meaning of both. Every condition must define the same set of threshold severities, because the composite severity is the highest severity at which all conditions breach. Two conditions may share, or fully duplicate, the same entityClass + metricsDefinitionId + metricName; the entity binding comes from the tuple, not the condition.
Properties of conditions
PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to this condition's metric over its duration.
durationstringYesRequired. The time range over which this condition's data points are aggregated (e.g. 1min, 10min). Must be positive and non-zero, capped at 1 day. Each condition has its own duration.
entityClassstringYesThe entity class that owns the metric. Every entity bound to this condition's slot must be of this class.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds for this condition. Duplicate severities are not allowed, and the set of severities must be identical across every condition of the rule.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
entityTuplesarray<object>Yesmin items: 1; max items: 100The explicit entity mappings, one per monitored installation. Each tuple says which real entity fills each condition slot. Tuples are never inferred from entity hierarchy or scope, because that mapping is business knowledge the platform cannot guess. Two tuples of one rule alert independently. Duplicate mappings are rejected.
Properties of entityTuples
PropertyTypeRequiredConstraintsDescription
entitiesarray<string>Yesmin items: 2; max items: 10The entity IDs filling each condition slot, positionally aligned with conditions: entities[i] is evaluated against conditions[i]. The length must equal the number of conditions, and each entity must be of its condition's entityClass and must be the alert rule's entity or one of its descendants. The same entity may appear in more than one slot.

Variant 3

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 5

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
creationTimestringNoThe time the alert rule was created
descriptionstringNoThe description of the alert rule
disableAutoRecoverybooleanNoWhether alert based on this rule recover automatically
disableRecoveryAlertbooleanNoWhether a notification will be sent when an alert recovers
enabledbooleanNoWhether the alert rule is enabled
idintegerNoThe unique identifier for the alert rule
messageTemplateobjectNoTemplates used to render the notification title and message for the different alert state transitions. Template variables are referenced with {{name}} syntax. Supported variables: projectId, alertId, alertRuleId, alertRuleName, entityId, entityName, severity, invocationTime, invocationValue, currentValue.
Properties of messageTemplate
PropertyTypeRequiredConstraintsDescription
decreasedSeverityMessagestringNoOptional. Message body used when an alert's severity decreases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased to {{severity}}.
decreasedSeverityTitlestringNoOptional. Title used when an alert's severity decreases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased.
increasedSeverityMessagestringNoOptional. Message body used when an alert's severity increases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased to {{severity}}.
increasedSeverityTitlestringNoOptional. Title used when an alert's severity increases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased.
messagestringNoOptional. Message body used when an alert is initially fired. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryMessagestringNoOptional. Message body used when an alert recovers. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryTitlestringNoOptional. Title used when an alert recovers. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} is back to normal.
severityMessageOverridesarray<object>Nomax items: 3Optional. Per-severity overrides for title, message, recoveryTitle, and recoveryMessage. When an override entry exists for the current severity and the field is non-empty, it takes precedence over the corresponding top-level field. increasedSeverityTitle, increasedSeverityMessage, decreasedSeverityTitle, and decreasedSeverityMessage are NOT overridable per severity. Each severity value must appear at most once.
Properties of severityMessageOverrides
PropertyTypeRequiredConstraintsDescription
messagestringNoOptional. Message body override used when an alert fires at this severity. Max 2000 runes.
recoveryMessagestringNoOptional. Message body override used when an alert recovers from this severity. Max 2000 runes.
recoveryTitlestringNoOptional. Title override used when an alert recovers from this severity. Max 200 runes.
severityintegerYesone of: 1, 2, 3The alert severity level this override applies to. 1 = high, 2 = moderate, 3 = low. Must not be 0 (none).
titlestringNoOptional. Title override used when an alert fires at this severity. Max 200 runes.
titlestringYesTitle used when an alert is initially fired. Max 200 runes. Required.
namestringNoThe name of the alert rule
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
reasonForDisablingunknownNoread-only (server-generated); one of: unknown, api, invalid_entity, invalid_metricThe reason why this alert rule was disabled. Will not be set when the alert rule is enabled
scheduleIdstringNoThe schedule ID for the alert rule
updateTimestringNoThe time the alert rule was last updated

createProjectEntityAlertRules — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertRules — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertRules — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertRules — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertRules — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertRule — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertRule — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertRule — 404 response

The required alertRule does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertRule — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertRule — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertRule — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertRule — 200 response

Successfully retrieved the alert rule with specified ID.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>NoThe actions to take when the alert rule is triggered
Properties of actions
PropertyTypeRequiredConstraintsDescription
recipientsarray<one of 5>NoOptional. Recipients that will be notified when this action runs. Each recipient is discriminated by its recipientType. Maximum 10 recipients. Assistant recipients (slack, direct, msTeams) must belong to the same project and entity as the alert rule.

One of the following 5 shapes:

Variant 1

Sends the alert notification to an email address.

PropertyTypeRequiredConstraintsDescription
emailstringYesThe destination email address.
recipientTypestringYesone of: email

Variant 2

Emits an event of eventType into the project event stream.

PropertyTypeRequiredConstraintsDescription
eventTypestringYesThe event type to emit.
recipientTypestringYesone of: event

Variant 3

Sends the alert notification to a Slack channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Slack assistant.
channelIdstringYesSlack channel identifier.
recipientTypestringYesone of: slack
workspaceIdstringYesSlack workspace identifier.

Variant 4

Sends the alert notification to a Direct chat room via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Direct assistant.
domainIdstringYesDirect domain identifier.
recipientTypestringYesone of: direct
roomIdstringYesDirect room identifier.

Variant 5

Sends the alert notification to a Microsoft Teams channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Microsoft Teams assistant.
channelIdstringYesMicrosoft Teams channel identifier.
recipientTypestringYesone of: msTeams
teamIdstringYesMicrosoft Teams team identifier.
tenantIdstringYesMicrosoft Teams tenant identifier.
videoFeedsarray<object>NoOptional. Video feed snapshots to capture and attach to the alert notification when the rule fires. When omitted, no snapshots are captured. Whether/how a given recipient renders the attachment depends on that recipient's channel.
Properties of videoFeeds
PropertyTypeRequiredConstraintsDescription
entityIdstringYesEntity owning the video feed. Supports the {{triggeredEntityId}} template placeholder to refer to the entity that triggered the alert.
videoFeedIdstringNoOptional. Specific video feed identifier. When omitted, all video feeds of the entity are used.
conditionone of 5NoThe condition that triggers the alert rule. The shape is discriminated by conditionType.

One of the following 5 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Evaluates several metric conditions together and alerts only when all of them breach at the same severity. Each condition watches its own entity and metric; which entity fills which condition is given explicitly by entityTuples, one tuple per monitored installation. Alerting V2 only, and event-driven only: there is no scheduled evaluation for this condition type, so it has no frequency or delay.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsThresholdCompositeThe discriminator for the condition type. Must be metricsThresholdComposite.
conditionsarray<object>Yesmin items: 2; max items: 10The AND-ed conditions. Order is significant: a condition's position is its identity, referenced by entityTuples[].entities and by the conditionN message template aliases, so reordering conditions changes the meaning of both. Every condition must define the same set of threshold severities, because the composite severity is the highest severity at which all conditions breach. Two conditions may share, or fully duplicate, the same entityClass + metricsDefinitionId + metricName; the entity binding comes from the tuple, not the condition.
Properties of conditions
PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to this condition's metric over its duration.
durationstringYesRequired. The time range over which this condition's data points are aggregated (e.g. 1min, 10min). Must be positive and non-zero, capped at 1 day. Each condition has its own duration.
entityClassstringYesThe entity class that owns the metric. Every entity bound to this condition's slot must be of this class.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds for this condition. Duplicate severities are not allowed, and the set of severities must be identical across every condition of the rule.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
entityTuplesarray<object>Yesmin items: 1; max items: 100The explicit entity mappings, one per monitored installation. Each tuple says which real entity fills each condition slot. Tuples are never inferred from entity hierarchy or scope, because that mapping is business knowledge the platform cannot guess. Two tuples of one rule alert independently. Duplicate mappings are rejected.
Properties of entityTuples
PropertyTypeRequiredConstraintsDescription
entitiesarray<string>Yesmin items: 2; max items: 10The entity IDs filling each condition slot, positionally aligned with conditions: entities[i] is evaluated against conditions[i]. The length must equal the number of conditions, and each entity must be of its condition's entityClass and must be the alert rule's entity or one of its descendants. The same entity may appear in more than one slot.

Variant 3

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 5

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
creationTimestringNoThe time the alert rule was created
descriptionstringNoThe description of the alert rule
disableAutoRecoverybooleanNoWhether alert based on this rule recover automatically
disableRecoveryAlertbooleanNoWhether a notification will be sent when an alert recovers
enabledbooleanNoWhether the alert rule is enabled
idintegerNoThe unique identifier for the alert rule
messageTemplateobjectNoTemplates used to render the notification title and message for the different alert state transitions. Template variables are referenced with {{name}} syntax. Supported variables: projectId, alertId, alertRuleId, alertRuleName, entityId, entityName, severity, invocationTime, invocationValue, currentValue.
Properties of messageTemplate
PropertyTypeRequiredConstraintsDescription
decreasedSeverityMessagestringNoOptional. Message body used when an alert's severity decreases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased to {{severity}}.
decreasedSeverityTitlestringNoOptional. Title used when an alert's severity decreases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased.
increasedSeverityMessagestringNoOptional. Message body used when an alert's severity increases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased to {{severity}}.
increasedSeverityTitlestringNoOptional. Title used when an alert's severity increases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased.
messagestringNoOptional. Message body used when an alert is initially fired. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryMessagestringNoOptional. Message body used when an alert recovers. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryTitlestringNoOptional. Title used when an alert recovers. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} is back to normal.
severityMessageOverridesarray<object>Nomax items: 3Optional. Per-severity overrides for title, message, recoveryTitle, and recoveryMessage. When an override entry exists for the current severity and the field is non-empty, it takes precedence over the corresponding top-level field. increasedSeverityTitle, increasedSeverityMessage, decreasedSeverityTitle, and decreasedSeverityMessage are NOT overridable per severity. Each severity value must appear at most once.
Properties of severityMessageOverrides
PropertyTypeRequiredConstraintsDescription
messagestringNoOptional. Message body override used when an alert fires at this severity. Max 2000 runes.
recoveryMessagestringNoOptional. Message body override used when an alert recovers from this severity. Max 2000 runes.
recoveryTitlestringNoOptional. Title override used when an alert recovers from this severity. Max 200 runes.
severityintegerYesone of: 1, 2, 3The alert severity level this override applies to. 1 = high, 2 = moderate, 3 = low. Must not be 0 (none).
titlestringNoOptional. Title override used when an alert fires at this severity. Max 200 runes.
titlestringYesTitle used when an alert is initially fired. Max 200 runes. Required.
namestringNoThe name of the alert rule
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
reasonForDisablingunknownNoread-only (server-generated); one of: unknown, api, invalid_entity, invalid_metricThe reason why this alert rule was disabled. Will not be set when the alert rule is enabled
scheduleIdstringNoThe schedule ID for the alert rule
updateTimestringNoThe time the alert rule was last updated

getProjectEntityAlertRule — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertRule — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertRule — 404 response

The requested alertRule does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertRule — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertRule — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertRule — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertRule — request

Request body for Update an alert rule.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>NoThe actions to take when the alert rule is triggered
Properties of actions
PropertyTypeRequiredConstraintsDescription
recipientsarray<one of 5>NoOptional. Recipients that will be notified when this action runs. Each recipient is discriminated by its recipientType. Maximum 10 recipients. Assistant recipients (slack, direct, msTeams) must belong to the same project and entity as the alert rule.

One of the following 5 shapes:

Variant 1

Sends the alert notification to an email address.

PropertyTypeRequiredConstraintsDescription
emailstringYesThe destination email address.
recipientTypestringYesone of: email

Variant 2

Emits an event of eventType into the project event stream.

PropertyTypeRequiredConstraintsDescription
eventTypestringYesThe event type to emit.
recipientTypestringYesone of: event

Variant 3

Sends the alert notification to a Slack channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Slack assistant.
channelIdstringYesSlack channel identifier.
recipientTypestringYesone of: slack
workspaceIdstringYesSlack workspace identifier.

Variant 4

Sends the alert notification to a Direct chat room via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Direct assistant.
domainIdstringYesDirect domain identifier.
recipientTypestringYesone of: direct
roomIdstringYesDirect room identifier.

Variant 5

Sends the alert notification to a Microsoft Teams channel via an assistant.

PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesIdentifier of the Microsoft Teams assistant.
channelIdstringYesMicrosoft Teams channel identifier.
recipientTypestringYesone of: msTeams
teamIdstringYesMicrosoft Teams team identifier.
tenantIdstringYesMicrosoft Teams tenant identifier.
videoFeedsarray<object>NoOptional. Video feed snapshots to capture and attach to the alert notification when the rule fires. When omitted, no snapshots are captured. Whether/how a given recipient renders the attachment depends on that recipient's channel.
Properties of videoFeeds
PropertyTypeRequiredConstraintsDescription
entityIdstringYesEntity owning the video feed. Supports the {{triggeredEntityId}} template placeholder to refer to the entity that triggered the alert.
videoFeedIdstringNoOptional. Specific video feed identifier. When omitted, all video feeds of the entity are used.
conditionone of 5NoThe condition that triggers the alert rule. The shape is discriminated by conditionType.

One of the following 5 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Evaluates several metric conditions together and alerts only when all of them breach at the same severity. Each condition watches its own entity and metric; which entity fills which condition is given explicitly by entityTuples, one tuple per monitored installation. Alerting V2 only, and event-driven only: there is no scheduled evaluation for this condition type, so it has no frequency or delay.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsThresholdCompositeThe discriminator for the condition type. Must be metricsThresholdComposite.
conditionsarray<object>Yesmin items: 2; max items: 10The AND-ed conditions. Order is significant: a condition's position is its identity, referenced by entityTuples[].entities and by the conditionN message template aliases, so reordering conditions changes the meaning of both. Every condition must define the same set of threshold severities, because the composite severity is the highest severity at which all conditions breach. Two conditions may share, or fully duplicate, the same entityClass + metricsDefinitionId + metricName; the entity binding comes from the tuple, not the condition.
Properties of conditions
PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to this condition's metric over its duration.
durationstringYesRequired. The time range over which this condition's data points are aggregated (e.g. 1min, 10min). Must be positive and non-zero, capped at 1 day. Each condition has its own duration.
entityClassstringYesThe entity class that owns the metric. Every entity bound to this condition's slot must be of this class.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds for this condition. Duplicate severities are not allowed, and the set of severities must be identical across every condition of the rule.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
entityTuplesarray<object>Yesmin items: 1; max items: 100The explicit entity mappings, one per monitored installation. Each tuple says which real entity fills each condition slot. Tuples are never inferred from entity hierarchy or scope, because that mapping is business knowledge the platform cannot guess. Two tuples of one rule alert independently. Duplicate mappings are rejected.
Properties of entityTuples
PropertyTypeRequiredConstraintsDescription
entitiesarray<string>Yesmin items: 2; max items: 10The entity IDs filling each condition slot, positionally aligned with conditions: entities[i] is evaluated against conditions[i]. The length must equal the number of conditions, and each entity must be of its condition's entityClass and must be the alert rule's entity or one of its descendants. The same entity may appear in more than one slot.

Variant 3

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 5

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
descriptionstringNoThe description of the alert rule
disableAutoRecoverybooleanNoWhether alert based on this rule recover automatically
disableRecoveryAlertbooleanNoIf true, the alert notification will not be sent when an alert recovers
enabledbooleanNoWhether the alert rule is enabled
messageTemplateobjectNoTemplates used to render the notification title and message for the different alert state transitions. Template variables are referenced with {{name}} syntax. Supported variables: projectId, alertId, alertRuleId, alertRuleName, entityId, entityName, severity, invocationTime, invocationValue, currentValue.
Properties of messageTemplate
PropertyTypeRequiredConstraintsDescription
decreasedSeverityMessagestringNoOptional. Message body used when an alert's severity decreases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased to {{severity}}.
decreasedSeverityTitlestringNoOptional. Title used when an alert's severity decreases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity decreased.
increasedSeverityMessagestringNoOptional. Message body used when an alert's severity increases. Max 2000 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased to {{severity}}.
increasedSeverityTitlestringNoOptional. Title used when an alert's severity increases. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} severity increased.
messagestringNoOptional. Message body used when an alert is initially fired. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryMessagestringNoOptional. Message body used when an alert recovers. Max 2000 runes. When omitted, defaults to a link back to the alert detail page in the BizStack console.
recoveryTitlestringNoOptional. Title used when an alert recovers. Max 200 runes. When omitted, defaults to [{{alertRuleName}}] {{entityName}} is back to normal.
severityMessageOverridesarray<object>Nomax items: 3Optional. Per-severity overrides for title, message, recoveryTitle, and recoveryMessage. When an override entry exists for the current severity and the field is non-empty, it takes precedence over the corresponding top-level field. increasedSeverityTitle, increasedSeverityMessage, decreasedSeverityTitle, and decreasedSeverityMessage are NOT overridable per severity. Each severity value must appear at most once.
Properties of severityMessageOverrides
PropertyTypeRequiredConstraintsDescription
messagestringNoOptional. Message body override used when an alert fires at this severity. Max 2000 runes.
recoveryMessagestringNoOptional. Message body override used when an alert recovers from this severity. Max 2000 runes.
recoveryTitlestringNoOptional. Title override used when an alert recovers from this severity. Max 200 runes.
severityintegerYesone of: 1, 2, 3The alert severity level this override applies to. 1 = high, 2 = moderate, 3 = low. Must not be 0 (none).
titlestringNoOptional. Title override used when an alert fires at this severity. Max 200 runes.
titlestringYesTitle used when an alert is initially fired. Max 200 runes. Required.
namestringNoThe name of the alert rule
scheduleIdstringNoThe schedule ID for the alert rule. For removing the schedule from the alert rule, set this to empty string.

updateProjectEntityAlertRule — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertRule — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertRule — 404 response

The requested alertRule does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertRule — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertRule — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertRule — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlerts — 200 response

Successful retrieval of alerts.

Represents an alert

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
alertRuleIdintegerNoThe unique identifier for the alert rule
conditionone of 4NoThe snapshot of condition that triggered the alert. The shape is discriminated by conditionType.

One of the following 4 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 3

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
descriptionstringNoThe description of the alert
entityIDstringNoThe unique identifier for the entity the alert rule belongs to
entityTuplearray<string>NoFor a composite metrics-threshold alert only: the entity ID filling each condition slot, ordered by condition index, so tuples can be told apart. Absent for non-composite alerts.
entityTypestringNoThe class of the entity
homeIdintegerNoThe unique identifier for the home the alert rule belongs to
idstringNoThe unique identifier for the alert
invocationTimestringNoThe time the alert was triggered
metricNamestringNoThe name of the metric in which the alert is invoked
metricsDefinitionIDstringNoThe identifier of the group that the metric in which the alert is invoked belongs to
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
recoveryTimestringNoThe time the alert was recovered
severityintegerNoThe severity of the alert. 1 - High, 2 - Moderate, 3 - Low
stateintegerNoThe state of the alert. 1 - Alerting, 2 - Recovered, 3 - Obsolete (an alert becomes obsolete when the alert rule is changed), 4 - Ineffective (an alert becomes ineffective when the alert rule is disabled)
videoFeedFilesarray<object>NoList of video feed files associated with the alert
Properties of videoFeedFiles
PropertyTypeRequiredConstraintsDescription
entityIdstringNoThe identifier of the corresponded entity
fileIdstringNoThe unique identifier of the file
videoFeedIdstringNoThe identifier the corresponded video feed

listProjectEntityAlerts — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlerts — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlerts — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlerts — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlerts — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlert — 200 response

Successful retrieval of alert by specified ID.

PropertyTypeRequiredConstraintsDescription
alertRuleIdintegerNoThe unique identifier for the alert rule
conditionone of 4NoThe snapshot of condition that triggered the alert. The shape is discriminated by conditionType.

One of the following 4 shapes:

Variant 1

Evaluates an aggregated metric value against one or more severity-based thresholds.

PropertyTypeRequiredConstraintsDescription
aggregationstringYesone of: avg, min, max, sum, countThe aggregation function applied to the metric over duration.
conditionTypestringYesone of: metricsThresholdThe discriminator for the condition type. Must be metricsThreshold.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched (e.g. 1min). Capped at 10 days. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which data points are aggregated for evaluation (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 days (V2: 1 day). Note (Alerting V2): the multiple-of-interval constraint does not apply; any positive, non-zero duration up to 1 day is accepted.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min, 10min, 1hour). Capped at 1 hour. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 1min and the actual cadence is controlled by the platform.
metricsConditionobjectYesThe metric on which the condition is evaluated.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>YesThe entity IDs to target (or exclude).
excludebooleanNoIf true, the listed entities are excluded instead of included.
targetBystringYesone of: parents, entitiesHow to target entities.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdsarray<one of 3>Yesmin items: 1Severity-based thresholds. The first matching threshold determines the severity. Duplicate severities are not allowed.
Properties of thresholds
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notInThe comparison operator applied to the aggregated value and operands.
severityintegerYesone of: 1, 2, 3Alert severity. 1 - High, 2 - Moderate, 3 - Low.

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn

Variant 2

Fires an alert when a metric stops reporting data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: metricsHeartbeatThe discriminator for the condition type. Must be metricsHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 days.
durationstringYesRequired. The window in which at least one data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 90 days.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 1 hour.
metricsConditionobjectYesThe metric whose heartbeat is monitored.
Properties of metricsCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class that owns the metric.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yes
excludebooleanNo
targetBystringYesone of: parents, entities
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 3

Fires an alert when an entity stops reporting location data points for the configured duration.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: locationHeartbeatThe discriminator for the condition type. Must be locationHeartbeat.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes.
durationstringYesRequired. The window in which at least one location data point is expected (e.g. 1min, 10min, 1hour). Must be a positive, non-zero multiple of the job invocation interval. Capped at 10 minutes.
frequencystringNoOptional. How often the condition is evaluated (e.g. 1min). Must be a multiple of the job invocation interval. Capped at 10 minutes.
locationConditionobjectYesThe location data source on which the heartbeat is monitored.
Properties of locationCondition
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class whose location is monitored.
entityTargetConditionobjectNoOptional. Constraint on which entities the condition applies to. When omitted, the condition applies to the entity that owns the alert rule.
Properties of entityTargetCondition
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>Yesmin items: 1; max items: 100
excludebooleanNo
targetBystringYesone of: parents, entities
severityintegerYesone of: 1, 2, 3The severity emitted when the heartbeat is missed. 1 - High, 2 - Moderate, 3 - Low.

Variant 4

Evaluates geofence-based metric conditions on tracked entities.

PropertyTypeRequiredConstraintsDescription
conditionTypestringYesone of: geofenceThe discriminator for the condition type. Must be geofence.
delaystringNoOptional. How long the evaluation is delayed after the job is dispatched. Must be a multiple of the job invocation interval. Capped at 10 minutes. Note (Alerting V2): this field is not used by evaluation scheduling; the server silently replaces invalid values with 0sec.
durationstringYesRequired. The time range over which the condition is evaluated (e.g. 1min). Must be a positive, non-zero multiple of the job invocation interval. Capped at 30 minutes.
geofenceAlertTypestringYesone of: inOnly, inAndOutWhether to alert only when entering the geofence, or for both enter and exit transitions.
geofenceEntityIdsarray<string>NoRequired when geofenceAlertType=inAndOut. The ordered list of geofence area entity IDs that define the zones. Validation requires at least one entry. The length of this list also determines the required dimensions of geofenceSeverityMatrix (rows and columns = len + 1, including the "outside" zone).
geofenceExcludingEntityClassesarray<string>NoOptional. Used only when geofenceAlertType=inOnly. Entity classes whose areas suppress evaluation when a tracked entity is inside them. Must not contain geofenceTargetEntities.entityClass or any entity class listed in geofenceInOnlyConditions.
geofenceExcludingEntityIdsarray<string>NoOptional. Geofence entity IDs to exclude from evaluation.
geofenceInOnlyConditionsarray<object>NoOptional in the schema, but required when geofenceAlertType=inOnly (validation will reject the rule otherwise). Per-entity-class conditions evaluated on geofence entry. entityClass must differ from geofenceTargetEntities.entityClass, severities must be unique across this array, and classes listed here must not appear in geofenceExcludingEntityClasses.
Properties of geofenceInOnlyConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringYes
metricsConditionsarray<object>No
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
metricNamestringYes
metricsDefinitionIdstringYes
thresholdone of 3Yes

Nested structure continues below this depth.

severityintegerYesone of: 1, 2, 3
geofenceSeverityMatrixarray<array>NoRequired when geofenceAlertType=inAndOut. A square severity matrix representing transitions between zones (including an implicit "outside" zone). Must have exactly (length of geofenceEntityIds) + 1 rows and the same number of columns. matrix[from][to] gives the severity (0 - None, 1 - High, 2 - Moderate, 3 - Low) for transitioning from zone from to zone to, where index 0 represents outside. Ignored when geofenceAlertType=inOnly.
geofenceTargetEntitiesobjectYesSpecifies the entities whose locations are tracked and evaluated against the geofences.
Properties of geofenceTargetEntities
PropertyTypeRequiredConstraintsDescription
entityClassstringYesThe entity class of the geofence entities.
entityIdsarray<string>NoOptional. Specific entity IDs to evaluate. Each ID must be a descendant of the alert rule's owning entity. When omitted, all entities of entityClass under parentEntityId are evaluated; if parentEntityId is also omitted, all entities of entityClass under the alert rule's owning entity are evaluated.
parentEntityIdstringNoOptional. Restricts geofence target entity resolution to descendants of this entity. Must be a descendant of the alert rule's owning entity. When omitted, target entities are resolved under the alert rule's owning entity.
metricsConditionOperatorstringNoone of: and, orOptional. Logical operator combining metricsConditions. Required when metricsConditions is non-empty. Ignored when metricsConditions is empty or absent.
metricsConditionsarray<object>NoOptional. Per-metric threshold conditions evaluated against tracked entities. When present, metricsConditionOperator must also be set.
Properties of metricsConditions
PropertyTypeRequiredConstraintsDescription
entityClassstringNoOptional. The entity class to evaluate the metric against. When omitted, defaults to geofenceTargetEntities.entityClass.
entityIdstringNoOptional. Scopes the metric evaluation to a specific entity. The entity must be a descendant of the alert rule's owning entity. When omitted, the metric is evaluated against any matching entity of entityClass.
metricNamestringYesThe name of the metric inside the metrics definition.
metricsDefinitionIdstringYesThe identifier of the metrics definition.
thresholdone of 3YesThe threshold the metric value is compared against.
Properties of threshold
PropertyTypeRequiredConstraintsDescription
operandsarray<number>YesOperand values for the operator. Single value for greaterThan/lessThan/etc., two values for between/outside (with operands[0] < operands[1]), list for in/notIn.
operatorstringYesone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan, between, outside, in, notIn

One of the following 3 shapes:

Variant 1

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1
operatorunknownNoone of: greaterThan, greaterThanOrEqualTo, lessThanOrEqualTo, lessThan

Variant 2

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 2; max items: 2
operatorunknownNoone of: between, outside

Variant 3

PropertyTypeRequiredConstraintsDescription
operandsunknownNomin items: 1; max items: 1000
operatorunknownNoone of: in, notIn
whenLocationIsMissingstringNoone of: skipEvaluation, setFromAsOutsideOnly, setBothAsOutsideOptional. How to treat tracked entities with no recent location data. Defaults to skipEvaluation when omitted.
descriptionstringNoThe description of the alert
entityIDstringNoThe unique identifier for the entity the alert rule belongs to
entityTuplearray<string>NoFor a composite metrics-threshold alert only: the entity ID filling each condition slot, ordered by condition index, so tuples can be told apart. Absent for non-composite alerts.
entityTypestringNoThe class of the entity
homeIdintegerNoThe unique identifier for the home the alert rule belongs to
idstringNoThe unique identifier for the alert
invocationTimestringNoThe time the alert was triggered
metricNamestringNoThe name of the metric in which the alert is invoked
metricsDefinitionIDstringNoThe identifier of the group that the metric in which the alert is invoked belongs to
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
recoveryTimestringNoThe time the alert was recovered
severityintegerNoThe severity of the alert. 1 - High, 2 - Moderate, 3 - Low
stateintegerNoThe state of the alert. 1 - Alerting, 2 - Recovered, 3 - Obsolete (an alert becomes obsolete when the alert rule is changed), 4 - Ineffective (an alert becomes ineffective when the alert rule is disabled)
videoFeedFilesarray<object>NoList of video feed files associated with the alert
Properties of videoFeedFiles
PropertyTypeRequiredConstraintsDescription
entityIdstringNoThe identifier of the corresponded entity
fileIdstringNoThe unique identifier of the file
videoFeedIdstringNoThe identifier the corresponded video feed

getProjectEntityAlert — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlert — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlert — 404 response

The requested alert does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlert — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlert — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlert — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertSchedules — 200 response

Successfully retrieved the alert schedules.

Represents an alert schedule

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
descriptionstringNodefault: ""Optional description for the alert schedule
entityIdstringNoOptional entity ID if the schedule is associated with a specific entity
namestringNoThe name of the alert schedule
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
timeZonestringNoThe time zone to use for the schedule (IANA time zone database format, e.g. 'America/New_York')
weeklySchedulesobjectNoWeekly schedule configuration

listProjectEntityAlertSchedules — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertSchedules — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertSchedules — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertSchedules — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAlertSchedules — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertSchedules — request

Request body for Create an alert schedule.

PropertyTypeRequiredConstraintsDescription
descriptionstringNodefault: ""Optional description for the alert schedule
namestringYesThe name of the alert schedule
timeZonestringYesThe time zone to use for the schedule (IANA time zone database format, e.g. 'America/New_York')
weeklySchedulesobjectYesWeekly schedule configuration

createProjectEntityAlertSchedules — 201 response

Successfully created a new alert schedule.

PropertyTypeRequiredConstraintsDescription
descriptionstringNodefault: ""Optional description for the alert schedule
entityIdstringNoOptional entity ID if the schedule is associated with a specific entity
namestringNoThe name of the alert schedule
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
timeZonestringNoThe time zone to use for the schedule (IANA time zone database format, e.g. 'America/New_York')
weeklySchedulesobjectNoWeekly schedule configuration

createProjectEntityAlertSchedules — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertSchedules — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertSchedules — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertSchedules — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAlertSchedules — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 404 response

The required alertSchedule does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 409 response

The alertSchedule cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAlertSchedule — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertSchedule — 200 response

Successfully retrieved the alert schedule with specified ID.

PropertyTypeRequiredConstraintsDescription
descriptionstringNodefault: ""Optional description for the alert schedule
entityIdstringNoOptional entity ID if the schedule is associated with a specific entity
namestringNoThe name of the alert schedule
projectIdintegerNoThe unique identifier for the project the alert rule belongs to
timeZonestringNoThe time zone to use for the schedule (IANA time zone database format, e.g. 'America/New_York')
weeklySchedulesobjectNoWeekly schedule configuration

getProjectEntityAlertSchedule — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertSchedule — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertSchedule — 404 response

The requested alertSchedule does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertSchedule — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertSchedule — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAlertSchedule — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertSchedule — request

Request body for Update an alert schedule.

PropertyTypeRequiredConstraintsDescription
descriptionstringNodefault: ""Optional description for the alert schedule
namestringNoThe name of the alert schedule
timeZonestringNoThe time zone to use for the schedule (IANA time zone database format, e.g. 'America/New_York')
weeklySchedulesobjectNoWeekly schedule configuration

updateProjectEntityAlertSchedule — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertSchedule — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertSchedule — 404 response

The requested alertSchedule does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertSchedule — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertSchedule — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAlertSchedule — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistants — 200 response

Successfully retrieved the assistants.

Represents an instance of AI Assistant associated with a project or entity.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
chatPlatformunknownYesread-only (server-generated); one of: slack, msTeams, directIdentifies one of the supported chat platforms that this AI Assistant instance is integrated with.
createdAtstringNoread-only (server-generated); format: date-timeInstance creation timestamp.
descriptionstringNoAdditional information about AI Assistant.
directConfigobjectNoThis field is required if chatPlatform is 'direct' and contains necessary configuration of a direct chatbot.
Properties of directConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
domainIdstringYesdomainID connected to Assistant instance.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityIDstringNoread-only (server-generated)Optional. If present, this identifies the entity instane associated with the AI Assistant instance.
idintegerYesread-only (server-generated)The unique identifier for the AI assistant instance.
msTeamsConfigobjectNoThis field is required if chatPlatform is 'msTeams' and contains necessary configuration of a MS Teams chatbot.
Properties of msTeamsConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tenantIdstringYestenantID connected to Assistant instance.
namestringYesDisplay name of AI Assistant.
projectIdintegerYesread-only (server-generated)The unique identifier for the project the AI Assistant instance belongs to.
slackConfigobjectNoThis field is required if chatPlatform is 'slack' and contains necessary configuration of a Slack chatbot.
Properties of slackConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also inlcuded.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific Slack channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific Slack channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tokenStateunknownYesone of: unissued, valid, revokedCurrent state of athentication token issued by Slack to Assistant instance.
workspaceIdstringYesID of Slack workspace connected to Assistant instance.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of last update.

getAssistants — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistants — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistants — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistants — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistants — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createAssistant — request

Request body for Create an assistant.

PropertyTypeRequiredConstraintsDescription
chatPlatformunknownYesread-only (server-generated); one of: slack, msTeams, directIdentifies one of the supported chat platforms that this AI Assistant instance is integrated with.
createdAtstringNoread-only (server-generated); format: date-timeInstance creation timestamp.
descriptionstringNoAdditional information about AI Assistant.
directConfigobjectNoThis field is required if chatPlatform is 'direct' and contains necessary configuration of a direct chatbot.
Properties of directConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
domainIdstringYesdomainID connected to Assistant instance.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityIDstringNoread-only (server-generated)Optional. If present, this identifies the entity instane associated with the AI Assistant instance.
idintegerYesread-only (server-generated)The unique identifier for the AI assistant instance.
msTeamsConfigobjectNoThis field is required if chatPlatform is 'msTeams' and contains necessary configuration of a MS Teams chatbot.
Properties of msTeamsConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tenantIdstringYestenantID connected to Assistant instance.
namestringYesDisplay name of AI Assistant.
projectIdintegerYesread-only (server-generated)The unique identifier for the project the AI Assistant instance belongs to.
slackConfigobjectNoThis field is required if chatPlatform is 'slack' and contains necessary configuration of a Slack chatbot.
Properties of slackConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also inlcuded.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific Slack channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific Slack channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tokenStateunknownYesone of: unissued, valid, revokedCurrent state of athentication token issued by Slack to Assistant instance.
workspaceIdstringYesID of Slack workspace connected to Assistant instance.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of last update.

createAssistant — 201 response

Successfully created a new assistant.

PropertyTypeRequiredConstraintsDescription
chatPlatformunknownYesread-only (server-generated); one of: slack, msTeams, directIdentifies one of the supported chat platforms that this AI Assistant instance is integrated with.
createdAtstringNoread-only (server-generated); format: date-timeInstance creation timestamp.
descriptionstringNoAdditional information about AI Assistant.
directConfigobjectNoThis field is required if chatPlatform is 'direct' and contains necessary configuration of a direct chatbot.
Properties of directConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
domainIdstringYesdomainID connected to Assistant instance.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityIDstringNoread-only (server-generated)Optional. If present, this identifies the entity instane associated with the AI Assistant instance.
idintegerYesread-only (server-generated)The unique identifier for the AI assistant instance.
msTeamsConfigobjectNoThis field is required if chatPlatform is 'msTeams' and contains necessary configuration of a MS Teams chatbot.
Properties of msTeamsConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tenantIdstringYestenantID connected to Assistant instance.
namestringYesDisplay name of AI Assistant.
projectIdintegerYesread-only (server-generated)The unique identifier for the project the AI Assistant instance belongs to.
slackConfigobjectNoThis field is required if chatPlatform is 'slack' and contains necessary configuration of a Slack chatbot.
Properties of slackConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also inlcuded.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific Slack channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific Slack channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tokenStateunknownYesone of: unissued, valid, revokedCurrent state of athentication token issued by Slack to Assistant instance.
workspaceIdstringYesID of Slack workspace connected to Assistant instance.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of last update.

createAssistant — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createAssistant — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createAssistant — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createAssistant — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createAssistant — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 404 response

The required assistant does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 409 response

The assistant cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteAssistant — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistant — 200 response

Successfully retrieved the specified assistant.

PropertyTypeRequiredConstraintsDescription
chatPlatformunknownYesread-only (server-generated); one of: slack, msTeams, directIdentifies one of the supported chat platforms that this AI Assistant instance is integrated with.
createdAtstringNoread-only (server-generated); format: date-timeInstance creation timestamp.
descriptionstringNoAdditional information about AI Assistant.
directConfigobjectNoThis field is required if chatPlatform is 'direct' and contains necessary configuration of a direct chatbot.
Properties of directConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
domainIdstringYesdomainID connected to Assistant instance.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityIDstringNoread-only (server-generated)Optional. If present, this identifies the entity instane associated with the AI Assistant instance.
idintegerYesread-only (server-generated)The unique identifier for the AI assistant instance.
msTeamsConfigobjectNoThis field is required if chatPlatform is 'msTeams' and contains necessary configuration of a MS Teams chatbot.
Properties of msTeamsConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tenantIdstringYestenantID connected to Assistant instance.
namestringYesDisplay name of AI Assistant.
projectIdintegerYesread-only (server-generated)The unique identifier for the project the AI Assistant instance belongs to.
slackConfigobjectNoThis field is required if chatPlatform is 'slack' and contains necessary configuration of a Slack chatbot.
Properties of slackConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also inlcuded.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific Slack channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific Slack channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tokenStateunknownYesone of: unissued, valid, revokedCurrent state of athentication token issued by Slack to Assistant instance.
workspaceIdstringYesID of Slack workspace connected to Assistant instance.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of last update.

getAssistant — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistant — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistant — 404 response

The requested assistant does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistant — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistant — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getAssistant — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateAssistant — request

Request body for Update an assistant.

PropertyTypeRequiredConstraintsDescription
chatPlatformunknownYesread-only (server-generated); one of: slack, msTeams, directIdentifies one of the supported chat platforms that this AI Assistant instance is integrated with.
createdAtstringNoread-only (server-generated); format: date-timeInstance creation timestamp.
descriptionstringNoAdditional information about AI Assistant.
directConfigobjectNoThis field is required if chatPlatform is 'direct' and contains necessary configuration of a direct chatbot.
Properties of directConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
domainIdstringYesdomainID connected to Assistant instance.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoRoomID of a room or 'PAIR'. 'PAIR' means pair talk, it is like DM.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityIDstringNoread-only (server-generated)Optional. If present, this identifies the entity instane associated with the AI Assistant instance.
idintegerYesread-only (server-generated)The unique identifier for the AI assistant instance.
msTeamsConfigobjectNoThis field is required if chatPlatform is 'msTeams' and contains necessary configuration of a MS Teams chatbot.
Properties of msTeamsConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'PERSONAL' or 'GROUP_CHAT'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tenantIdstringYestenantID connected to Assistant instance.
namestringYesDisplay name of AI Assistant.
projectIdintegerYesread-only (server-generated)The unique identifier for the project the AI Assistant instance belongs to.
slackConfigobjectNoThis field is required if chatPlatform is 'slack' and contains necessary configuration of a Slack chatbot.
Properties of slackConfig
PropertyTypeRequiredConstraintsDescription
defaultEntityAccessRuleobjectYesDefault rule of access to entities and their data.
Properties of defaultEntityAccessRule
PropertyTypeRequiredConstraintsDescription
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also inlcuded.
defaultQaRuleobjectYesDefault rule of access to Question-Answering data files.
Properties of defaultQaRule
PropertyTypeRequiredConstraintsDescription
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
entityAccessRulesarray<object>NoEntity access rules applied to specific Slack channels. These override the default rule.
Properties of entityAccessRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
entityIdsarray<string>NoList of entity instances that are accessible. The instances' descendants are also included.
qaRulesarray<object>NoQA files access rules applied to specific Slack channels. These override the default rule.
Properties of qaRules
PropertyTypeRequiredConstraintsDescription
channelstringNoChannelID of a channel or 'DM'.
filesobjectNoSpecification of how source files for QA indexer should be obtained. If this is null or undefined, it means QA feature is disabled.
Properties of files
PropertyTypeRequiredConstraintsDescription
tagstringNoThe tag assigned to project files or entity files meant for QA indexing.
tokenStateunknownYesone of: unissued, valid, revokedCurrent state of athentication token issued by Slack to Assistant instance.
workspaceIdstringYesID of Slack workspace connected to Assistant instance.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp of last update.

updateAssistant — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateAssistant — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateAssistant — 404 response

The requested assistant does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateAssistant — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateAssistant — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateAssistant — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantDirectRooms — 200 response

Successfully retrieved the list of rooms.

A Direct room associated with an Assistant instance.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
idstringYesread-only (server-generated)The unique identifier for the Direct room.
namestringYesread-only (server-generated)The name of the Direct room.

listProjectEntityAssistantDirectRooms — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantDirectRooms — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantDirectRooms — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantDirectRooms — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantEventSubscriptions — 200 response

Successfully retrieved the event subscriptions.

Represents an event subscription for an AI Assistant instance.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
actionsarray<object>YesThe actions to take when the event is triggered.
Properties of actions
PropertyTypeRequiredConstraintsDescription
configobjectNoConfiguration for the action. The structure depends on the action type. This structure can vary based on the action type, but so far, we only have 'send_message' action type.
Properties of config
PropertyTypeRequiredConstraintsDescription
notificationTargetobjectNoThe target to send notifications to.
Properties of notificationTarget
PropertyTypeRequiredConstraintsDescription
directTargetsarray<object>NoDirect rooms to send notifications to.

Nested structure continues below this depth.

msTeamsTargetsarray<object>NoMS Teams channels to send notifications to.

Nested structure continues below this depth.

slackTargetsarray<object>NoSlack channels to send notifications to.

Nested structure continues below this depth.

typeunknownNoone of: send_messageThe type of action to perform.
assistantIdintegerYesThe unique identifier for the AI Assistant instance this event subscription belongs to.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was created.
descriptionstringNoA description of the event subscription.
disabledbooleanNoWhether the event subscription is disabled.
eventTypestringYesThe type of event to subscribe to. The pair of (assistantId, eventType) must be unique.
idintegerNoread-only (server-generated)The unique identifier for the event subscription.
namestringYesDisplay name of the event subscription.
projectIdintegerYesThe unique identifier for the project the event subscription belongs to.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was last updated.

listProjectEntityAssistantEventSubscriptions — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantEventSubscriptions — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantEventSubscriptions — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantEventSubscriptions — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantEventSubscriptions — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAssistantEventSubscriptions — request

Request body for Create event subscription.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>YesThe actions to take when the event is triggered.
Properties of actions
PropertyTypeRequiredConstraintsDescription
configobjectNoConfiguration for the action. The structure depends on the action type. This structure can vary based on the action type, but so far, we only have 'send_message' action type.
Properties of config
PropertyTypeRequiredConstraintsDescription
notificationTargetobjectNoThe target to send notifications to.
Properties of notificationTarget
PropertyTypeRequiredConstraintsDescription
directTargetsarray<object>NoDirect rooms to send notifications to.

Nested structure continues below this depth.

msTeamsTargetsarray<object>NoMS Teams channels to send notifications to.

Nested structure continues below this depth.

slackTargetsarray<object>NoSlack channels to send notifications to.

Nested structure continues below this depth.

typeunknownNoone of: send_messageThe type of action to perform.
assistantIdintegerYesThe unique identifier for the AI Assistant instance this event subscription belongs to.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was created.
descriptionstringNoA description of the event subscription.
disabledbooleanNoWhether the event subscription is disabled.
eventTypestringYesThe type of event to subscribe to. The pair of (assistantId, eventType) must be unique.
idintegerNoread-only (server-generated)The unique identifier for the event subscription.
namestringYesDisplay name of the event subscription.
projectIdintegerYesThe unique identifier for the project the event subscription belongs to.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was last updated.

createProjectEntityAssistantEventSubscriptions — 201 response

Successfully created the event subscription.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>YesThe actions to take when the event is triggered.
Properties of actions
PropertyTypeRequiredConstraintsDescription
configobjectNoConfiguration for the action. The structure depends on the action type. This structure can vary based on the action type, but so far, we only have 'send_message' action type.
Properties of config
PropertyTypeRequiredConstraintsDescription
notificationTargetobjectNoThe target to send notifications to.
Properties of notificationTarget
PropertyTypeRequiredConstraintsDescription
directTargetsarray<object>NoDirect rooms to send notifications to.

Nested structure continues below this depth.

msTeamsTargetsarray<object>NoMS Teams channels to send notifications to.

Nested structure continues below this depth.

slackTargetsarray<object>NoSlack channels to send notifications to.

Nested structure continues below this depth.

typeunknownNoone of: send_messageThe type of action to perform.
assistantIdintegerYesThe unique identifier for the AI Assistant instance this event subscription belongs to.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was created.
descriptionstringNoA description of the event subscription.
disabledbooleanNoWhether the event subscription is disabled.
eventTypestringYesThe type of event to subscribe to. The pair of (assistantId, eventType) must be unique.
idintegerNoread-only (server-generated)The unique identifier for the event subscription.
namestringYesDisplay name of the event subscription.
projectIdintegerYesThe unique identifier for the project the event subscription belongs to.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was last updated.

createProjectEntityAssistantEventSubscriptions — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAssistantEventSubscriptions — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAssistantEventSubscriptions — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAssistantEventSubscriptions — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createProjectEntityAssistantEventSubscriptions — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 404 response

The required eventSubscription does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 409 response

The eventSubscription cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteProjectEntityAssistantEventSubscription — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAssistantEventSubscription — 200 response

Successfully retrieved the specified event subscription.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>YesThe actions to take when the event is triggered.
Properties of actions
PropertyTypeRequiredConstraintsDescription
configobjectNoConfiguration for the action. The structure depends on the action type. This structure can vary based on the action type, but so far, we only have 'send_message' action type.
Properties of config
PropertyTypeRequiredConstraintsDescription
notificationTargetobjectNoThe target to send notifications to.
Properties of notificationTarget
PropertyTypeRequiredConstraintsDescription
directTargetsarray<object>NoDirect rooms to send notifications to.

Nested structure continues below this depth.

msTeamsTargetsarray<object>NoMS Teams channels to send notifications to.

Nested structure continues below this depth.

slackTargetsarray<object>NoSlack channels to send notifications to.

Nested structure continues below this depth.

typeunknownNoone of: send_messageThe type of action to perform.
assistantIdintegerYesThe unique identifier for the AI Assistant instance this event subscription belongs to.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was created.
descriptionstringNoA description of the event subscription.
disabledbooleanNoWhether the event subscription is disabled.
eventTypestringYesThe type of event to subscribe to. The pair of (assistantId, eventType) must be unique.
idintegerNoread-only (server-generated)The unique identifier for the event subscription.
namestringYesDisplay name of the event subscription.
projectIdintegerYesThe unique identifier for the project the event subscription belongs to.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was last updated.

getProjectEntityAssistantEventSubscription — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAssistantEventSubscription — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAssistantEventSubscription — 404 response

The requested eventSubscription does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAssistantEventSubscription — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAssistantEventSubscription — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityAssistantEventSubscription — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAssistantEventSubscription — request

Request body for Update an event subscription.

PropertyTypeRequiredConstraintsDescription
actionsarray<object>YesThe actions to take when the event is triggered.
Properties of actions
PropertyTypeRequiredConstraintsDescription
configobjectNoConfiguration for the action. The structure depends on the action type. This structure can vary based on the action type, but so far, we only have 'send_message' action type.
Properties of config
PropertyTypeRequiredConstraintsDescription
notificationTargetobjectNoThe target to send notifications to.
Properties of notificationTarget
PropertyTypeRequiredConstraintsDescription
directTargetsarray<object>NoDirect rooms to send notifications to.

Nested structure continues below this depth.

msTeamsTargetsarray<object>NoMS Teams channels to send notifications to.

Nested structure continues below this depth.

slackTargetsarray<object>NoSlack channels to send notifications to.

Nested structure continues below this depth.

typeunknownNoone of: send_messageThe type of action to perform.
assistantIdintegerYesThe unique identifier for the AI Assistant instance this event subscription belongs to.
createdAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was created.
descriptionstringNoA description of the event subscription.
disabledbooleanNoWhether the event subscription is disabled.
eventTypestringYesThe type of event to subscribe to. The pair of (assistantId, eventType) must be unique.
idintegerNoread-only (server-generated)The unique identifier for the event subscription.
namestringYesDisplay name of the event subscription.
projectIdintegerYesThe unique identifier for the project the event subscription belongs to.
updatedAtstringNoread-only (server-generated); format: date-timeTimestamp when the event subscription was last updated.

updateProjectEntityAssistantEventSubscription — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAssistantEventSubscription — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAssistantEventSubscription — 404 response

The requested eventSubscription does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAssistantEventSubscription — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAssistantEventSubscription — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateProjectEntityAssistantEventSubscription — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantMsTeamsTeams — 200 response

Successfully retrieved the list of rooms.

A Microsoft Teams team associated with an Assistant instance.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
channelsarray<object>Yes
Properties of channels
PropertyTypeRequiredConstraintsDescription
idstringYesread-only (server-generated)The unique identifier for the channel.
namestringYesread-only (server-generated)The name of the channel.
idstringYesread-only (server-generated)The unique identifier for the Team.
namestringYesread-only (server-generated)The name of the Team.

listProjectEntityAssistantMsTeamsTeams — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantMsTeamsTeams — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantMsTeamsTeams — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantMsTeamsTeams — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantSlackChannels — 200 response

Successfully retrieved the Slack channels.

A Slack channel associated with an Assistant instance.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
idstringYesread-only (server-generated)The unique identifier for the Slack Channel.
namestringYesread-only (server-generated)The name of the Slack Channel.

listProjectEntityAssistantSlackChannels — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantSlackChannels — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantSlackChannels — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

listProjectEntityAssistantSlackChannels — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogDefinition — 200 response

Successful retrieval of custom log definition.

PropertyTypeRequiredConstraintsDescription
customLogDefinitionIdstringNoID of the custom log definition. Must be unique within an Entity Class.
dataStoreConfigurationobjectNoData store configuration of custom log.
Properties of dataStoreConfiguration
PropertyTypeRequiredConstraintsDescription
bulkDataLabelstringNoUnused in this context (leave empty).
cldsConfigobjectNoCLDS configuration. Required only if module type is 'clds'.
Properties of cldsConfig
PropertyTypeRequiredConstraintsDescription
collectionNamestringNoCLDS Log Collection Name. Required only if module type is 'clds'.
moduleInstanceIdstringNoHome App Proxy source path. Required only if module type is 'home_app_proxy'.
moduleTypestringNoone of: clds, home_app_proxyModule type, either 'clds' or 'home_app_proxy'.
displayNamestringNoThe display name of the custom log definition.
numericFieldsarray<object>NoList of numerical field definitions.
Properties of numericFields
PropertyTypeRequiredConstraintsDescription
displayNamestringNoThe display name of the field.
namestringNoThe name of the field.
rangeobjectNoThe range of the field's values.
Properties of range
PropertyTypeRequiredConstraintsDescription
maxnumberNoThe maximum value.
minnumberNoThe minimum value.
unitstringNoThe unit of measure.
stringFieldsarray<object>NoList of string field definitions.
Properties of stringFields
PropertyTypeRequiredConstraintsDescription
displayNamestringNoThe display name of the field
enumDefinitionsarray<object>Noread-only (server-generated)The enumerated human-readable values for the field value
Properties of enumDefinitions
PropertyTypeRequiredConstraintsDescription
namestringNoThe human-readable value for the field value
valuestringNoA field value
namestringNoThe name of the field.

getCustomLogDefinition — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogDefinition — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogDefinition — 404 response

The requested customLog does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogDefinition — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogDefinition — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogDefinition — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getCustomLogData — 200 response

The requested custom log records are returned.

PropertyTypeRequiredConstraintsDescription
beginstringNoread-only (server-generated)The begin time of data entries. The format follows RFC3339.
endstringNoread-only (server-generated)The end time of data entries. The format follows RFC3339.
limitintegerNoread-only (server-generated)The maximum number of data entries to be fetched.
recordsarray<object>Noread-only (server-generated)Log entries. Each entry is a log record object.
Properties of records
PropertyTypeRequiredConstraintsDescription
entryIdstringYesread-only (server-generated)Unique ID of the log record entry.
eventKeystringNoread-only (server-generated)Event key of the log record.
fieldsobjectYesread-only (server-generated)An object of key-value pairs containing the log data.
timestampstringYesread-only (server-generated)Time in RFC3339 format.
skipintegerNoread-only (server-generated)Number of data entries skipped over.
totalintegerNoread-only (server-generated)The total number of data entries for the query.

postCustomLogRecords — request

Request body for Post custom log records.

Represents a custom log record.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
entryIdstringYesread-only (server-generated)Unique ID of the log record entry.
eventKeystringNoread-only (server-generated)Event key of the log record.
fieldsobjectYesread-only (server-generated)An object of key-value pairs containing the log data.
timestampstringYesread-only (server-generated)Time in RFC3339 format.

deleteLogRecordEntry — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLogRecordEntry — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLogRecordEntry — 404 response

The required data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLogRecordEntry — 409 response

The data cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLogRecordEntry — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLogRecordEntry — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLogRecordEntry — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLogRecordEntry — 200 response

The requested custom log record is returned.

PropertyTypeRequiredConstraintsDescription
entryIdstringYesread-only (server-generated)Unique ID of the log record entry.
eventKeystringNoread-only (server-generated)Event key of the log record.
fieldsobjectYesread-only (server-generated)An object of key-value pairs containing the log data.
timestampstringYesread-only (server-generated)Time in RFC3339 format.

getLogRecordEntry — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLogRecordEntry — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLogRecordEntry — 404 response

The requested data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLogRecordEntry — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLogRecordEntry — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLogRecordEntry — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLogRecordEntry — request

Request body for Update log record entry.

PropertyTypeRequiredConstraintsDescription
fieldsobjectYesread-only (server-generated)An object of key-value pairs containing the log data.

updateLogRecordEntry — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLogRecordEntry — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLogRecordEntry — 404 response

The requested data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLogRecordEntry — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLogRecordEntry — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLogRecordEntry — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportCustomLogData — request

Request body for Export custom log data.

PropertyTypeRequiredConstraintsDescription
beginstringYesThe begin time of the search range.
endstringYesThe end time of the search range.
fileNamestringNoOptional parameter to specify the export CSV file name. If omitted, custom log definition ID will be used in the file name.
includeHeaderbooleanNoIf true, the exported CSV file will start with a header.
timeFormatstringNoOptional parameter to specify the timestamp format in the exported CSV. Use "rfc3339Milli" for RFC3339 format with millisecond precision. If omitted, the default format (YYYY/MM/DD HH:MM:SS) is used.

exportCustomLogData — 200 response

The URLs for downloading the exported data are returned.

PropertyTypeRequiredConstraintsDescription
dataUrlstringYesread-only (server-generated)URL of file containing the exported data. This URL is usable only if the export is completed successfully.
statusUrlstringYesread-only (server-generated)URL to a JSON file that reports the status of the export. Clients should poll this URL until a file is returned.

exportCustomLogData — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportCustomLogData — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportCustomLogData — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportCustomLogData — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportCustomLogData — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getProjectEntityCustomLogValueList — 200 response

Successfully retrieved distinct values.

PropertyTypeRequiredConstraintsDescription
countintegerYesThe total number of unique values returned.
valuesarray<object>YesAn array containing the unique values found for the field. Values can be strings, numbers, or booleans.

sendEventEntity — request

Request body for Send event to an entity.

PropertyTypeRequiredConstraintsDescription
eventDataobjectYesEvent-specific data as a JSON hash. Opaque to the cloud service.
eventTypestringYespattern: ^[a-zA-Z](?:[\-_]?[a-zA-Z0-9]+)*$Event type ID. Must begin 1 or more alpha characters; dashes ('-') and underscores ('_') may be used after the first character but must be followed by 1+ alphanumeric characters.
homeIdintegerNoread-only (server-generated)ID of the home associated with this event. MODE adds this at event delivery to listeners. Devices don't need to add this.
originDeviceClassstringNoread-only (server-generated)If the event originates from a device, this property is the device's class ID. MODE adds this at event delivery to listener.
originDeviceIdintegerNoread-only (server-generated)MODE adds this at event delivery to listeners. This property is present if the event originates from a device.
originDeviceIpstringNoread-only (server-generated)IP address of device. This property is present if the event originates from a device. MODE adds this at event delivery to listeners.
originProjectKeyIdstringNoread-only (server-generated)If the event originates from a project API key, this property is the unique key ID. MODE adds this at event delivery to listener.
originProjectKeyNamestringNoread-only (server-generated)If the event originates from a project API key, this property is its display name. MODE adds this at event delivery to listener.
timestampstringNoread-only (server-generated); format: date-timeMoment when event was triggered. MODE adds this at event delivery to listeners. Devices don't need to add this.

sendEventEntity — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

sendEventEntity — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

sendEventEntity — 404 response

The requested event does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

sendEventEntity — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

sendEventEntity — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

sendEventEntity — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFiles — 200 response

Successful query for files associated with an entity instance.

An arbitrary file associated with an entity.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
attributesobjectNoAttributes associated with the entity file, separated as key-value pairs.
contentTypestringNoMIME type of the entity file.
entityIdstringYesread-only (server-generated)Entity that this entity file belongs to.
expirationDatestringNoformat: date-timeTimestamp indicating when the entity file should expire.
fileIdstringNoread-only (server-generated)ID of the entity file.
fileNamestringNoread-only (server-generated)Name of the entity file.
projectIdintegerYesread-only (server-generated)Project that this entity file belongs to.
tagsarrayNoA collection of unique string identifiers associated with the entity file.
timestampstringNoread-only (server-generated); format: date-timeTimestamp of the entity file.
urlstringNoA pre-signed URL for file download.

getEntityFiles — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFiles — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFiles — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFiles — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFiles — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 404 response

The required file does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 409 response

The file cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityFile — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFileMetadata — 200 response

Successful retrieval of entity file metadata.

PropertyTypeRequiredConstraintsDescription
attributesobjectNoAttributes associated with the entity file, separated as key-value pairs.
contentTypestringNoMIME type of the entity file.
entityIdstringYesread-only (server-generated)Entity that this entity file belongs to.
expirationDatestringNoformat: date-timeTimestamp indicating when the entity file should expire.
fileIdstringNoread-only (server-generated)ID of the entity file.
fileNamestringNoread-only (server-generated)Name of the entity file.
projectIdintegerYesread-only (server-generated)Project that this entity file belongs to.
tagsarrayNoA collection of unique string identifiers associated with the entity file.
timestampstringNoread-only (server-generated); format: date-timeTimestamp of the entity file.
urlstringNoA pre-signed URL for file download.

getEntityFileMetadata — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFileMetadata — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFileMetadata — 404 response

The requested file does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFileMetadata — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFileMetadata — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityFileMetadata — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityFileMetadata — request

Request body for Update entity file metadata.

PropertyTypeRequiredConstraintsDescription
attributesobjectNoAttributes associated with the entity file, separated as key-value pairs.
expirationDatestringNoformat: date-timeTimestamp indicating when the entity file should expire.
tagsarrayNoA collection of unique string identifiers associated with the entity file.

updateEntityFileMetadata — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityFileMetadata — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityFileMetadata — 404 response

The requested file does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityFileMetadata — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityFileMetadata — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityFileMetadata — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 404 response

The required location does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 409 response

The location cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocation — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationMetadata — 200 response

Successful retrieval of location metadata.

PropertyTypeRequiredConstraintsDescription
attributeSchemaarrayNoread-only (server-generated)A schema used for visualizing the attributes of location.
collectionIdstringYesread-only (server-generated)A collection ID that the location belongs to.
collectionKeystringYesread-only (server-generated); one of: ancestor, parent, self, homeA type of location collection management pattern.
dataStoreConfigurationobjectYesread-only (server-generated)Data store configuration of location.
Properties of dataStoreConfiguration
PropertyTypeRequiredConstraintsDescription
bulkDataLabelstringNoBulk data label of the module instance.
moduleInstanceIdstringNoModule instance ID for GeoTSDB.
moduleTypestringNoModule type. Must be geotsdb.

getLocationMetadata — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationMetadata — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationMetadata — 404 response

The requested location does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationMetadata — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationMetadata — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationMetadata — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLocation — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLocation — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLocation — 404 response

The requested location does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLocation — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLocation — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateLocation — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 404 response

The required data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 409 response

The data cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteLocationData — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationData — 200 response

The requested location data entries are returned.

PropertyTypeRequiredConstraintsDescription
beginstringNoread-only (server-generated)The begin time of data entries. The format follows RFC3339.
collectionIdstringNoread-only (server-generated)Identifier of the GeoTSDB collection.
dataarray<object>Noread-only (server-generated)Geospatial Time-series data. Each entry contains the timestamp of the value in RFC3339 format and GeoJSON formatted location data.
Properties of data
PropertyTypeRequiredConstraintsDescription
areasarray<object>No
Properties of areas
PropertyTypeRequiredConstraintsDescription
areaClassstringNo
areaIdstringYes
distancenumberYes
attributesobjectNoread-only (server-generated)The attributes that belong to the location, separated as key-value pairs.
createdAtstringNoCreated date time in RFC3339 format.
floorIdnumberYesread-only (server-generated)The floor ID of the location
geometryobjectYesread-only (server-generated)The GeoJSON object of the location.
searchKeystringYesread-only (server-generated)The string attached to the location.
timestampstringYesread-only (server-generated)Time in RFC3339 format.
endstringNoread-only (server-generated)The end time of data entries. The format follows RFC3339.

getLocationData — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationData — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationData — 404 response

The requested data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationData — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationData — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLocationData — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

postLocationData — request

Request body for Post location data.

PropertyTypeRequiredConstraintsDescription
dataarray<object>YesTime-series data. Each entry contains the timestamp of the value in RFC3339 format.
Properties of data
PropertyTypeRequiredConstraintsDescription
areasarray<object>NoThe areas associated with the location
attributesobjectNoThe attributes that belong to the location, separated as key-value pairs.
createdAtstringNoCreated date time in RFC3339 format.
floorIdnumberNoThe floor ID of the location
geometryobjectYesThe GeoJSON object of the location.
timestampstringYesTime in RFC3339 format.

deleteObjectCounterHistory — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteObjectCounterHistory — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteObjectCounterHistory — 404 response

The required data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteObjectCounterHistory — 409 response

The data cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteObjectCounterHistory — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteObjectCounterHistory — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteObjectCounterHistory — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getObjectCounterHistory — 200 response

The requested object counter data entries are returned.

PropertyTypeRequiredConstraintsDescription
counterIdstringNoThe unique identifier of the counter.
dataarray<object>YesTime-series data. Each entry contains the timestamp of the value in RFC3339 format.
Properties of data
PropertyTypeRequiredConstraintsDescription
areaIdstringYesThe area of the count.
countnumberYesThe number of objects in an area.
timestampstringYesTime in RFC3339 format.

getObjectCounterHistory — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getObjectCounterHistory — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getObjectCounterHistory — 404 response

The requested data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getObjectCounterHistory — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getObjectCounterHistory — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getObjectCounterHistory — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

manageEntityMedia — request

Request body for Manage entity media.

PropertyTypeRequiredConstraintsDescription
actionstringYesone of: open-upload, close-upload, deleteAction to be taken.
fileNamestringNoFilename of the icon or image. Needed only if requesting to open an upload.
targetstringYesone of: icon, imageWhich media the action should be applied to.

manageEntityMedia — 200 response

Request to upload an icon or image was successful. The response body is a JSON object that contains a signed upload URL. The client should make a PUT request with that URL to upload the icon or image file.

PropertyTypeRequiredConstraintsDescription
uploadUrlstringNoA signed URL for uploading the media file.

manageEntityMedia — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

manageEntityMedia — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

manageEntityMedia — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

manageEntityMedia — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

manageEntityMedia — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 404 response

The required metric does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 409 response

The metric cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetric — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsDefinition — 200 response

Successful retrieval of metrics definition.

PropertyTypeRequiredConstraintsDescription
dataStoreConfigurationobjectYesData store configuration of metrics.
Properties of dataStoreConfiguration
PropertyTypeRequiredConstraintsDescription
bulkDataLabelstringNoIf Module Type is tsdb or sensor_cloud_tsdb the module instance, this field is the bulk data lable assigned to the TSDB module instance.
moduleInstanceIdstringNoIf Module Type is tsdb or sensor_cloud_tsdb, this field is the TSDB module instance ID. If module type is home_app_proxy, this field is the Home App Proxy path.
moduleTypestringNoModule type. Must be tsdb, tsdbv2, sensor_cloud_tsdb, or home_app_proxy.
sensorCloudTSDBConfigobjectNoRequired if Module Type is sensor_cloud_tsdb
Properties of sensorCloudTSDBConfig
PropertyTypeRequiredConstraintsDescription
attributeForCollectionIdstringNoEntity attribute that holds the TSDB collection ID corresponding to the metrics definition.
tsdbv2ConfigobjectNoRequired if Module Type is tsdbv2
Properties of tsdbv2Config
PropertyTypeRequiredConstraintsDescription
managedbooleanNoWhether BizStack should manage the TSDBv2 schema. If set to true, BizStack will manage the corresponding TSDBv2 schema for the entity metrics definition based on the provided numericMetrics and tagMetrics. This means that BizStack will: - create the schema if it does not exist; - create the numericMetrics and tagMetrics specified in the request; and - delete any numericMetrics and tagMetrics that exist in the TSDBv2 schema but not in the request. If set to false, you are expected to create the TSDBv2 schema yourself and set schemaName accordingly. BizStack will only validate that a schema with schemaName exists. numericMetrics and tagMetrics must be provided if managed=true, and must not be provided if managed=false.
schemaNamestringNoName of TSDBv2 schema used by metrics definition.
displayNamestringNoThe display name for the metrics.
metricsDefinitionIdstringYesread-only (server-generated)ID of the metrics definition. Must be unique within an Entity Class.
metricsTypestringYesread-only (server-generated)Type of metrics. Must be raw or derived.
numericMetricsarrayYesList of numerical field definitions.
tagMetricsarrayNoList of string tag definitions.

getMetricsDefinition — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsDefinition — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsDefinition — 404 response

The requested metric does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsDefinition — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsDefinition — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsDefinition — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateMetric — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateMetric — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateMetric — 404 response

The requested metric does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateMetric — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateMetric — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateMetric — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 404 response

The required data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 409 response

The data cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteMetricsData — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsData — 200 response

The requested metrics data entries are returned.

PropertyTypeRequiredConstraintsDescription
aggregationstringNoread-only (server-generated); one of: avg, min, max, sum, countAggregation method used.
beginstringNoread-only (server-generated)The begin time of data entries. The format follows RFC3339.
dataarrayNoread-only (server-generated)Collection data. Each entry is an array as tuple and the first item is timestamp of the value in RFC3339 format, followed by the selected values and tags. e.g. [["2016-01-01T00:00:00Z", 1.0, 333, "foo"], ["2016-01-02T00:00:00Z", 2.0, 299, "bar"]]
endstringNoread-only (server-generated)The end time of data entries. The format follows RFC3339.
limitintegerNoread-only (server-generated)The maximum number of data entries to be fetched.
resolutionstringNoread-only (server-generated); one of: 1min, 10min, 1hour, 1day, 1week, 1monthAggregation bucket resolution. Its value depends on the time span of the query.
tsstringNoread-only (server-generated)The point in time (in RFC3339) from which data entries were fetched.

getMetricsData — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsData — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsData — 404 response

The requested data does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsData — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsData — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getMetricsData — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

postMetricsData — request

Request body for Post metrics data.

PropertyTypeRequiredConstraintsDescription
recordsarray<object>Yesread-only (server-generated)Time-series data. Each entry contains the timestamp of the value in RFC3339 format.
Properties of records
PropertyTypeRequiredConstraintsDescription
tagsarray<string>Noread-only (server-generated)An array of tags. The items must correspond to the items in tagNames
timestampstringYesread-only (server-generated)Time in RFC3339 format
valuesarray<number>Yesread-only (server-generated)An array of values. The items must correspond to the items in valueNames
tagNamesarray<string>Noread-only (server-generated)List of unique Identifiers of string tags in metrics.
valueNamesarray<string>Yesread-only (server-generated)List of unique Identifiers of numerical fields in metrics.

exportMetricsData — request

Request body for Export metrics data.

PropertyTypeRequiredConstraintsDescription
beginstringYesThe beginning time of the data entries. The format follows RFC3339.
endstringYesThe end time of the data entries. The format follows RFC3339.
fileNamestringNoOptional parameter to specify the export CSV file name. If omitted, metrics definition ID will be used in the file name.
includeHeaderbooleanNoIf true, the exported CSV file will start with a header.
timeFormatstringNoOptional parameter to specify the timestamp format in the exported CSV. Use "rfc3339Milli" for RFC3339 format with millisecond precision. If omitted, the default format (YYYY/MM/DD HH:MM:SS) is used.

exportMetricsData — 200 response

The URLs for downloading the exported data are returned.

PropertyTypeRequiredConstraintsDescription
dataUrlstringYesread-only (server-generated)URL of file containing the exported data. This URL is usable only if the export is completed successfully.
statusUrlstringYesread-only (server-generated)URL to a JSON file that reports the status of the export. Clients should poll this URL until a file is returned.

exportMetricsData — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportMetricsData — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportMetricsData — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportMetricsData — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

exportMetricsData — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReports — 200 response

Successfully retrieved the scheduled reports.

PropertyTypeRequiredConstraintsDescription
dataarray<object>Yes
Properties of data
PropertyTypeRequiredConstraintsDescription
answerEngineobjectYes
Properties of answerEngine
PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesID of the assistant to use for generating answers
maxConcurrentCallsintegerNodefault: 4Maximum number of concurrent calls to the assistant
contentsstringYesYAML configuration for report sections
creationTimestringNoformat: date-timeWhen the report was created
descriptionstringNoDescription of the scheduled report
directDestinationarray<object>NoDirect rooms to send the report to
Properties of directDestination
PropertyTypeRequiredConstraintsDescription
idstringYesDirect room ID
namestringNoDirect room name
enabledbooleanNoWhether the scheduled report is enabled
idintegerYesUnique identifier for the scheduled report
projectIdintegerYesID of the project this report belongs to
reportScheduleobjectYes
Properties of reportSchedule
PropertyTypeRequiredConstraintsDescription
expressionstringYesSchedule expression (e.g., cron expression)
timeZonestringNoTimezone for the schedule
typestringYesType of schedule (e.g., cron)
slackDestinationarray<object>NoSlack channels to send the report to
Properties of slackDestination
PropertyTypeRequiredConstraintsDescription
idstringYesSlack channel ID
namestringNoSlack channel name
teamsDestinationarray<object>NoMS Teams channels to send the report to
Properties of teamsDestination
PropertyTypeRequiredConstraintsDescription
idstringYesMS Teams channel ID
namestringNoMS Teams channel name
titlestringYesTitle of the scheduled report
updateTimestringNoformat: date-timeWhen the report was last updated
metadataobjectYes
Properties of metadata
PropertyTypeRequiredConstraintsDescription
countintegerNoNumber of items returned
limitintegerNoMaximum number of items requested
skipintegerNoNumber of items skipped
totalCountintegerNoTotal number of items available

getEntityScheduledReports — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReports — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReports — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReports — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReports — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityScheduledReport — request

Request body for Create entity scheduled report.

PropertyTypeRequiredConstraintsDescription
answerEngineobjectYes
Properties of answerEngine
PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesID of the assistant to use for generating answers
maxConcurrentCallsintegerNodefault: 4Maximum number of concurrent calls to the assistant
contentsstringYesYAML configuration for report sections including entities and queries
descriptionstringNoDescription of the scheduled report
directDestinationarray<object>NoDirect rooms to send the report to (required for Direct assistants)
Properties of directDestination
PropertyTypeRequiredConstraintsDescription
idstringYesDirect room ID
enabledbooleanNodefault: trueWhether the scheduled report is enabled
projectIdintegerYesID of the project this report belongs to
reportScheduleobjectYes
Properties of reportSchedule
PropertyTypeRequiredConstraintsDescription
expressionstringYesSchedule expression (e.g., cron expression)
timeZonestringNoTimezone for the schedule
typestringYesType of schedule (e.g., cron)
slackDestinationarray<object>NoSlack channels to send the report to (required for Slack assistants)
Properties of slackDestination
PropertyTypeRequiredConstraintsDescription
idstringYesSlack channel ID
teamsDestinationarray<object>NoMS Teams channels to send the report to (required for MS Teams assistants)
Properties of teamsDestination
PropertyTypeRequiredConstraintsDescription
idstringYesMS Teams channel ID
titlestringYesTitle of the scheduled report

createEntityScheduledReport — 201 response

New scheduled report successfully created.

PropertyTypeRequiredConstraintsDescription
answerEngineobjectYes
Properties of answerEngine
PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesID of the assistant to use for generating answers
maxConcurrentCallsintegerNodefault: 4Maximum number of concurrent calls to the assistant
contentsstringYesYAML configuration for report sections
creationTimestringNoformat: date-timeWhen the report was created
descriptionstringNoDescription of the scheduled report
directDestinationarray<object>NoDirect rooms to send the report to
Properties of directDestination
PropertyTypeRequiredConstraintsDescription
idstringYesDirect room ID
namestringNoDirect room name
enabledbooleanNoWhether the scheduled report is enabled
idintegerYesUnique identifier for the scheduled report
projectIdintegerYesID of the project this report belongs to
reportScheduleobjectYes
Properties of reportSchedule
PropertyTypeRequiredConstraintsDescription
expressionstringYesSchedule expression (e.g., cron expression)
timeZonestringNoTimezone for the schedule
typestringYesType of schedule (e.g., cron)
slackDestinationarray<object>NoSlack channels to send the report to
Properties of slackDestination
PropertyTypeRequiredConstraintsDescription
idstringYesSlack channel ID
namestringNoSlack channel name
teamsDestinationarray<object>NoMS Teams channels to send the report to
Properties of teamsDestination
PropertyTypeRequiredConstraintsDescription
idstringYesMS Teams channel ID
namestringNoMS Teams channel name
titlestringYesTitle of the scheduled report
updateTimestringNoformat: date-timeWhen the report was last updated

createEntityScheduledReport — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityScheduledReport — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityScheduledReport — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityScheduledReport — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityScheduledReport — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityScheduledReport — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityScheduledReport — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityScheduledReport — 409 response

The scheduledReport cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityScheduledReport — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityScheduledReport — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityScheduledReport — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReport — 200 response

Successfully retrieved the specified scheduled report.

PropertyTypeRequiredConstraintsDescription
answerEngineobjectYes
Properties of answerEngine
PropertyTypeRequiredConstraintsDescription
assistantIdintegerYesID of the assistant to use for generating answers
maxConcurrentCallsintegerNodefault: 4Maximum number of concurrent calls to the assistant
contentsstringYesYAML configuration for report sections
creationTimestringNoformat: date-timeWhen the report was created
descriptionstringNoDescription of the scheduled report
directDestinationarray<object>NoDirect rooms to send the report to
Properties of directDestination
PropertyTypeRequiredConstraintsDescription
idstringYesDirect room ID
namestringNoDirect room name
enabledbooleanNoWhether the scheduled report is enabled
idintegerYesUnique identifier for the scheduled report
projectIdintegerYesID of the project this report belongs to
reportScheduleobjectYes
Properties of reportSchedule
PropertyTypeRequiredConstraintsDescription
expressionstringYesSchedule expression (e.g., cron expression)
timeZonestringNoTimezone for the schedule
typestringYesType of schedule (e.g., cron)
slackDestinationarray<object>NoSlack channels to send the report to
Properties of slackDestination
PropertyTypeRequiredConstraintsDescription
idstringYesSlack channel ID
namestringNoSlack channel name
teamsDestinationarray<object>NoMS Teams channels to send the report to
Properties of teamsDestination
PropertyTypeRequiredConstraintsDescription
idstringYesMS Teams channel ID
namestringNoMS Teams channel name
titlestringYesTitle of the scheduled report
updateTimestringNoformat: date-timeWhen the report was last updated

getEntityScheduledReport — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReport — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReport — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReport — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityScheduledReport — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityScheduledReport — request

Request body for Update an entity scheduled report.

PropertyTypeRequiredConstraintsDescription
contentsstringNoYAML configuration for report sections including entities and queries
descriptionstringNoDescription of the scheduled report
directDestinationarray<object>NoDirect rooms to send the report to
Properties of directDestination
PropertyTypeRequiredConstraintsDescription
idstringYesDirect room ID
enabledbooleanNoWhether the scheduled report is enabled
reportScheduleobjectNo
Properties of reportSchedule
PropertyTypeRequiredConstraintsDescription
expressionstringNoSchedule expression (e.g., cron expression)
timeZonestringNoTimezone for the schedule
typestringNoType of schedule (e.g., cron)
slackDestinationarray<object>NoSlack channels to send the report to
Properties of slackDestination
PropertyTypeRequiredConstraintsDescription
idstringYesSlack channel ID
teamsDestinationarray<object>NoMS Teams channels to send the report to
Properties of teamsDestination
PropertyTypeRequiredConstraintsDescription
idstringYesMS Teams channel ID
titlestringNoTitle of the scheduled report

updateEntityScheduledReport — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityScheduledReport — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityScheduledReport — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityScheduledReport — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

uploadFile — request

Request body for Upload a file.

PropertyTypeRequiredConstraintsDescription
actionstringYesone of: open-upload, close-uploadAction to be taken.
metadataobjectNoMetadata for the file. Required for the open-upload action.
Properties of metadata
PropertyTypeRequiredConstraintsDescription
attributesstringNoType of the file.
contentTypestringNoType of the entity instance.
expirationDatestringNoName of the file.
fileNameintegerNoSize of the file.
tagsstringNoID of the file.
timestampstringNoID of the entity instance.
numberOfPartsintegerNoOptional number of parts to split the upload into. Defaults to 1.
uploadIdstringNoUpload ID returned from the open-upload action. Required for the close-upload action.

uploadFile — 200 response

For the open-upload action, this represents a successful start of the upload for a file. The response body is a JSON object that contains an array of pre-signed upload URLs. The client should divide up the file in the same number of parts as the number of URLs, and upload each part to its corresponding URL with a PUT request.

PropertyTypeRequiredConstraintsDescription
uploadIdstringNoUpload ID returned from the open-upload action.
urlsarray<string>NoURL to upload the entity file, or, URLs to upload each part of the entity file.

uploadFile — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

uploadFile — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

uploadFile — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

uploadFile — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

uploadFile — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeeds — 200 response

Successful query for video feeds associated with an entity instance.

Represents a video feed

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
displayNamestringNoDisplay name of the video feed
entityIdstringNoread-only (server-generated)Entity that this entity file belongs to.
idstringNoID of the video feed
projectIdintegerNoread-only (server-generated)Project that this entity file belongs to.

getVideoFeeds — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeeds — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeeds — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeeds — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeeds — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createVideoFeed — request

Request body for Create a video feed.

PropertyTypeRequiredConstraintsDescription
displayNamestringNoDisplay name of the video feed.

createVideoFeed — 201 response

Successfully created a new video feed.

PropertyTypeRequiredConstraintsDescription
displayNamestringNoDisplay name of the video feed
entityIdstringNoread-only (server-generated)Entity that this entity file belongs to.
idstringNoID of the video feed
projectIdintegerNoread-only (server-generated)Project that this entity file belongs to.

createVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createVideoFeed — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 404 response

The required videoFeed does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 409 response

The videoFeed cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeed — 200 response

Successfully retrieved the video feed with specified ID.

PropertyTypeRequiredConstraintsDescription
displayNamestringNoDisplay name of the video feed
entityIdstringNoread-only (server-generated)Entity that this entity file belongs to.
idstringNoID of the video feed
projectIdintegerNoread-only (server-generated)Project that this entity file belongs to.

getVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeed — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeed — 404 response

The requested videoFeed does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateVideoFeed — request

Request body for Update a video feed.

PropertyTypeRequiredConstraintsDescription
displayNamestringNoDisplay name of the video feed.

updateVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateVideoFeed — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateVideoFeed — 404 response

The requested videoFeed does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeedFile — 200 response

Successfully retrieved the video feed file.

PropertyTypeRequiredConstraintsDescription
beginstringNoThe capture start timestamp. Format conforms to RFC3339.
endstringNoThe capture end timestamp. Present for video clips, omitted for images. Format conforms to RFC3339.
entityClassstringNoThe entity class of the owning entity.
entityIdstringNoThe entity that owns this file.
fileIdstringNoThe unique identifier of the file.
fileNamestringNoThe name of the file.
homeIdintegerNoThe home that owns this file.
projectIdintegerNoThe project that owns this file.
statusstringNoThe status of the file (e.g. requested, uploaded, external).
storageTypestringNoThe storage backend for the file (e.g. binstore, external).
typestringNoThe MIME type of the file (e.g. image/jpeg, video/mp4).
urlstringNoA presigned URL for downloading the file.
videoFeedIdstringNoThe video feed this file belongs to.

getVideoFeedFile — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeedFile — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeedFile — 404 response

The requested file does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeedFile — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeedFile — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVideoFeedFile — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLiveStreamDataVideoFeed — 200 response

Successfully retrieved the video feed with specified ID.

PropertyTypeRequiredConstraintsDescription
thumbnailUrlstringNoread-only (server-generated)Returns a URL to a thumbnail image of the live stream. This URL can be used to display a preview of the live stream.
urlstringYesread-only (server-generated)Returns a stream URL compatible with the HLS protocol. This URL can be used to play the live stream in a HLS video player.

getLiveStreamDataVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLiveStreamDataVideoFeed — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLiveStreamDataVideoFeed — 404 response

The requested live does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLiveStreamDataVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLiveStreamDataVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getLiveStreamDataVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

openWebRTCSignalingSessionVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

openWebRTCSignalingSessionVideoFeed — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

openWebRTCSignalingSessionVideoFeed — 404 response

The requested signaling does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

openWebRTCSignalingSessionVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

openWebRTCSignalingSessionVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

openWebRTCSignalingSessionVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVODStreamVideoFeed — 200 response

Successfully retrieved the video feed with specified ID.

PropertyTypeRequiredConstraintsDescription
urlstringYesread-only (server-generated)Returns a stream URL compatible with the HLS protocol. This URL can be used to play the VOD stream in a HLS video player.

getVODStreamVideoFeed — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVODStreamVideoFeed — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVODStreamVideoFeed — 404 response

The requested vod does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVODStreamVideoFeed — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVODStreamVideoFeed — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getVODStreamVideoFeed — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflows — 200 response

Successfully retrieved the workflows.

Represents an automation workflow definition attached to an entity instance.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
createdAtstringNoThe time the workflow was created (ISO 8601).
descriptionstringNoAn optional description of the workflow.
enabledbooleanNoWhether the workflow is active and eligible to be triggered.
entityIdstringNoThe unique identifier for the entity the workflow belongs to.
idstringNoThe unique identifier for the workflow (MongoDB ObjectID hex string, auto-generated).
namestringNoThe display name of the workflow.
projectIdintegerNoThe unique identifier for the project the workflow belongs to.
revisionintegerNoMonotonically increasing revision number, updated on every write.
stepsarray<object>NoOrdered list of steps to execute when the workflow runs.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchesobjectNoNamed branches of sub-steps, keyed by branch ID. Used by branching nodes (e.g. condition nodes) to define which steps to run for each outcome. Maximum nesting depth is 1.
idstringNoUnique identifier for the step within this workflow.
inputsobjectNoInput values passed to the node. Supports template expressions referencing previous step outputs.
nodestringNoThe node type to execute for this step. Must be a registered node ID (see GET /workflow/nodes).
triggersarray<object>NoList of triggers that can start this workflow.
Properties of triggers
PropertyTypeRequiredConstraintsDescription
cronobjectNoCron trigger configuration. Required when type is 'cron'.
Properties of cron
PropertyTypeRequiredConstraintsDescription
schedulestringNoA standard 5-field cron expression (e.g. '0 9 * * 1-5').
timeZonestringNoIANA timezone name for the cron schedule (e.g. 'America/Los_Angeles'). Defaults to UTC when omitted.
idstringNoUnique identifier for the trigger within this workflow (alphanumeric, hyphens, or underscores; minimum 3 characters; normalized to lowercase).
typestringNoone of: cronThe trigger type. Currently only 'cron' is supported.
updatedAtstringNoThe time the workflow was last updated (ISO 8601).

getEntityWorkflows — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflows — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflows — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflows — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflows — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityWorkflow — request

Request body for Create an entity workflow.

PropertyTypeRequiredConstraintsDescription
descriptionstringNodefault: ""An optional description of the workflow.
enabledbooleanNodefault: falseWhether the workflow should be active immediately after creation.
namestringYesThe display name of the workflow.
stepsarray<object>NoOrdered list of steps to execute when the workflow runs.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchesobjectNoNamed branches of sub-steps, keyed by branch ID. Maximum nesting depth is 1.
idstringYesUnique identifier for the step within this workflow.
inputsobjectNoInput values passed to the node.
nodestringYesThe node type to execute for this step. Must be a registered node ID (see GET /workflow/nodes).
triggersarray<object>NoList of triggers that can start this workflow.
Properties of triggers
PropertyTypeRequiredConstraintsDescription
cronobjectNoCron trigger configuration. Required when type is 'cron'.
Properties of cron
PropertyTypeRequiredConstraintsDescription
schedulestringYesA standard 5-field cron expression (e.g. '0 9 * * 1-5').
timeZonestringNoIANA timezone name for the cron schedule (e.g. 'America/Los_Angeles'). Defaults to UTC when omitted.
idstringYesUnique identifier for the trigger within this workflow (alphanumeric, hyphens, or underscores; minimum 3 characters; normalized to lowercase).
typestringYesone of: cronThe trigger type. Currently only 'cron' is supported.

createEntityWorkflow — 201 response

Workflow successfully created.

PropertyTypeRequiredConstraintsDescription
createdAtstringNoThe time the workflow was created (ISO 8601).
descriptionstringNoAn optional description of the workflow.
enabledbooleanNoWhether the workflow is active and eligible to be triggered.
entityIdstringNoThe unique identifier for the entity the workflow belongs to.
idstringNoThe unique identifier for the workflow (MongoDB ObjectID hex string, auto-generated).
namestringNoThe display name of the workflow.
projectIdintegerNoThe unique identifier for the project the workflow belongs to.
revisionintegerNoMonotonically increasing revision number, updated on every write.
stepsarray<object>NoOrdered list of steps to execute when the workflow runs.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchesobjectNoNamed branches of sub-steps, keyed by branch ID. Used by branching nodes (e.g. condition nodes) to define which steps to run for each outcome. Maximum nesting depth is 1.
idstringNoUnique identifier for the step within this workflow.
inputsobjectNoInput values passed to the node. Supports template expressions referencing previous step outputs.
nodestringNoThe node type to execute for this step. Must be a registered node ID (see GET /workflow/nodes).
triggersarray<object>NoList of triggers that can start this workflow.
Properties of triggers
PropertyTypeRequiredConstraintsDescription
cronobjectNoCron trigger configuration. Required when type is 'cron'.
Properties of cron
PropertyTypeRequiredConstraintsDescription
schedulestringNoA standard 5-field cron expression (e.g. '0 9 * * 1-5').
timeZonestringNoIANA timezone name for the cron schedule (e.g. 'America/Los_Angeles'). Defaults to UTC when omitted.
idstringNoUnique identifier for the trigger within this workflow (alphanumeric, hyphens, or underscores; minimum 3 characters; normalized to lowercase).
typestringNoone of: cronThe trigger type. Currently only 'cron' is supported.
updatedAtstringNoThe time the workflow was last updated (ISO 8601).

createEntityWorkflow — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityWorkflow — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityWorkflow — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityWorkflow — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createEntityWorkflow — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityWorkflow — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityWorkflow — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityWorkflow — 409 response

The workflow cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityWorkflow — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityWorkflow — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteEntityWorkflow — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflow — 200 response

Successfully retrieved the workflow.

PropertyTypeRequiredConstraintsDescription
createdAtstringNoThe time the workflow was created (ISO 8601).
descriptionstringNoAn optional description of the workflow.
enabledbooleanNoWhether the workflow is active and eligible to be triggered.
entityIdstringNoThe unique identifier for the entity the workflow belongs to.
idstringNoThe unique identifier for the workflow (MongoDB ObjectID hex string, auto-generated).
namestringNoThe display name of the workflow.
projectIdintegerNoThe unique identifier for the project the workflow belongs to.
revisionintegerNoMonotonically increasing revision number, updated on every write.
stepsarray<object>NoOrdered list of steps to execute when the workflow runs.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchesobjectNoNamed branches of sub-steps, keyed by branch ID. Used by branching nodes (e.g. condition nodes) to define which steps to run for each outcome. Maximum nesting depth is 1.
idstringNoUnique identifier for the step within this workflow.
inputsobjectNoInput values passed to the node. Supports template expressions referencing previous step outputs.
nodestringNoThe node type to execute for this step. Must be a registered node ID (see GET /workflow/nodes).
triggersarray<object>NoList of triggers that can start this workflow.
Properties of triggers
PropertyTypeRequiredConstraintsDescription
cronobjectNoCron trigger configuration. Required when type is 'cron'.
Properties of cron
PropertyTypeRequiredConstraintsDescription
schedulestringNoA standard 5-field cron expression (e.g. '0 9 * * 1-5').
timeZonestringNoIANA timezone name for the cron schedule (e.g. 'America/Los_Angeles'). Defaults to UTC when omitted.
idstringNoUnique identifier for the trigger within this workflow (alphanumeric, hyphens, or underscores; minimum 3 characters; normalized to lowercase).
typestringNoone of: cronThe trigger type. Currently only 'cron' is supported.
updatedAtstringNoThe time the workflow was last updated (ISO 8601).

getEntityWorkflow — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflow — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflow — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflow — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflow — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityWorkflow — request

Request body for Update an entity workflow.

PropertyTypeRequiredConstraintsDescription
descriptionstringNoNew description for the workflow.
enabledbooleanNoWhether the workflow should be active.
namestringNoNew display name for the workflow.
stepsarray<object>NoReplacement list of steps. Replaces all existing steps when provided.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchesobjectNoNamed branches of sub-steps, keyed by branch ID. Maximum nesting depth is 1.
idstringYesUnique identifier for the step within this workflow.
inputsobjectNoInput values passed to the node.
nodestringYesThe node type to execute for this step. Must be a registered node ID (see GET /workflow/nodes).
triggersarray<object>NoReplacement list of triggers. Replaces all existing triggers when provided.
Properties of triggers
PropertyTypeRequiredConstraintsDescription
cronobjectNoCron trigger configuration. Required when type is 'cron'.
Properties of cron
PropertyTypeRequiredConstraintsDescription
schedulestringYesA standard 5-field cron expression (e.g. '0 9 * * 1-5').
timeZonestringNoIANA timezone name for the cron schedule (e.g. 'America/Los_Angeles'). Defaults to UTC when omitted.
idstringYesUnique identifier for the trigger within this workflow (alphanumeric, hyphens, or underscores; minimum 3 characters; normalized to lowercase).
typestringYesone of: cronThe trigger type. Currently only 'cron' is supported.

updateEntityWorkflow — 200 response

Successfully updated the workflow. Returns the updated workflow object.

PropertyTypeRequiredConstraintsDescription
createdAtstringNoThe time the workflow was created (ISO 8601).
descriptionstringNoAn optional description of the workflow.
enabledbooleanNoWhether the workflow is active and eligible to be triggered.
entityIdstringNoThe unique identifier for the entity the workflow belongs to.
idstringNoThe unique identifier for the workflow (MongoDB ObjectID hex string, auto-generated).
namestringNoThe display name of the workflow.
projectIdintegerNoThe unique identifier for the project the workflow belongs to.
revisionintegerNoMonotonically increasing revision number, updated on every write.
stepsarray<object>NoOrdered list of steps to execute when the workflow runs.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchesobjectNoNamed branches of sub-steps, keyed by branch ID. Used by branching nodes (e.g. condition nodes) to define which steps to run for each outcome. Maximum nesting depth is 1.
idstringNoUnique identifier for the step within this workflow.
inputsobjectNoInput values passed to the node. Supports template expressions referencing previous step outputs.
nodestringNoThe node type to execute for this step. Must be a registered node ID (see GET /workflow/nodes).
triggersarray<object>NoList of triggers that can start this workflow.
Properties of triggers
PropertyTypeRequiredConstraintsDescription
cronobjectNoCron trigger configuration. Required when type is 'cron'.
Properties of cron
PropertyTypeRequiredConstraintsDescription
schedulestringNoA standard 5-field cron expression (e.g. '0 9 * * 1-5').
timeZonestringNoIANA timezone name for the cron schedule (e.g. 'America/Los_Angeles'). Defaults to UTC when omitted.
idstringNoUnique identifier for the trigger within this workflow (alphanumeric, hyphens, or underscores; minimum 3 characters; normalized to lowercase).
typestringNoone of: cronThe trigger type. Currently only 'cron' is supported.
updatedAtstringNoThe time the workflow was last updated (ISO 8601).

updateEntityWorkflow — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityWorkflow — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityWorkflow — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateEntityWorkflow — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRuns — 200 response

Successfully retrieved the workflow runs.

Represents a single execution record of a workflow, without its step execution records. Returned by the run list endpoint; fetch a single run for its steps.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
createdAtstringNoThe time the run was created (ISO 8601).
entityIdstringNoThe unique identifier for the entity the workflow belongs to.
errorobjectNoError information set when the run fails. Absent on non-failed runs.
Properties of error
PropertyTypeRequiredConstraintsDescription
codestringNoone of: user, internal, expiredMachine-readable error code. 'user': a failure the user can fix (see 'message'). 'internal': an unexpected failure the user cannot fix. 'expired': the run was not picked up before the timeout.
messagestringNoHuman-readable, user-facing description of the failure and how to address it. Present for 'user' errors. Safe to display; contains no internal implementation detail.
finishedAtstringNoThe time the run completed (ISO 8601). Absent while the run is queued or running.
idstringNoThe unique identifier for the workflow run.
projectIdintegerNoThe unique identifier for the project the run belongs to.
statestringNoone of: queued, running, succeeded, failedThe current lifecycle state of the run.
updatedAtstringNoThe time the run was last updated (ISO 8601).
workflowIdstringNoThe unique identifier for the workflow that was executed.

getEntityWorkflowRuns — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRuns — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRuns — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRuns — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRuns — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createRun — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createRun — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createRun — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createRun — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

createRun — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 404 response

The required run does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 409 response

The run cannot be deleted because it is being used by another part of the system.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

deleteRun — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRun — 200 response

Successfully retrieved the workflow run.

PropertyTypeRequiredConstraintsDescription
createdAtstringNoThe time the run was created (ISO 8601).
entityIdstringNoThe unique identifier for the entity the workflow belongs to.
errorobjectNoError information set when the run fails. Absent on non-failed runs.
Properties of error
PropertyTypeRequiredConstraintsDescription
codestringNoone of: user, internal, expiredMachine-readable error code. 'user': a failure the user can fix (see 'message'). 'internal': an unexpected failure the user cannot fix. 'expired': the run was not picked up before the timeout.
messagestringNoHuman-readable, user-facing description of the failure and how to address it. Present for 'user' errors. Safe to display; contains no internal implementation detail.
finishedAtstringNoThe time the run completed (ISO 8601). Absent while the run is queued or running.
idstringNoThe unique identifier for the workflow run.
projectIdintegerNoThe unique identifier for the project the run belongs to.
statestringNoone of: queued, running, succeeded, failedThe current lifecycle state of the run.
stepsarray<object>NoThe step execution records for this run, in the order the steps were started. Empty on runs that have not executed any step yet.
Properties of steps
PropertyTypeRequiredConstraintsDescription
branchIdstringNoThe ID of the parent step's branch this step belongs to. Absent for top-level steps.
finishedAtstringNoThe time the step completed (ISO 8601). Absent while the step is running.
idstringNoThe identifier of the workflow step that was executed.
inputsobjectNoThe resolved input values the step ran with.
nodestringNoThe node type the step executed.
outputsobjectNoThe output values the step produced. Absent unless the step succeeded with output.
parentIdstringNoThe ID of the step this step branched from. Absent for top-level steps.
startedAtstringNoThe time the step started (ISO 8601).
statestringNoone of: running, succeeded, failed, cancelledThe state of the step execution.
triggerobjectNoContextual information about what triggered this run (e.g. cron schedule, manual).
updatedAtstringNoThe time the run was last updated (ISO 8601).
workflowIdstringNoThe unique identifier for the workflow that was executed.

getEntityWorkflowRun — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRun — 403 response

Request failed because of denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRun — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRun — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

getEntityWorkflowRun — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateRun — 401 response

Authorization is required to access this resource.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateRun — 403 response

Request failed because of invalid data or denied permission.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateRun — 404 response

The requested run does not exist or is not accessible.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateRun — 429 response

Request failed because of rate limit.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateRun — 500 response

An unexpected error has occurred.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

updateRun — 503 response

The service is temporarily unavailable.

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.