Models

Preview: The v2 API is in preview and may change without notice before it's generally available.

Schema reference for the objects the v2 API returns.

Alert

Describes an alert type available for querying.

AttributeTypeNullableDescription
idstringNOOpaque identifier for this alert type. Pass this value in the alertIds query parameter of GET /alerts/data to retrieve alert instances.
namestringNOHuman-readable display name of the alert type.
descriptionstringNODescription of the condition this alert type detects.
supportedServerTypesstring arrayNOServer types this alert type applies to (e.g. SqlServer, Machine). See Entity types.

AlertData

An alert instance that was active within the requested time range.

AttributeTypeNullableDescription
alertIdstringNOID of the alert type this instance belongs to (matches AlertDto.Id from GET /alerts).
alertNamestringNODisplay name of the alert type. Empty string when the alert has no name.
statusAlertStatusNOCurrent lifecycle state of the alert instance at the time of the response, regardless of the queried time range. An alert that was active during a past range may appear as Ended if it has since resolved. Does not reflect whether the alert has been cleared.
clearedbooleanNOWhether the alert has been manually cleared. An alert can be cleared regardless of its status.
severityAlertSeverityNOWorst severity reached by the alert instance during its lifetime.
raisedTimestringNOUTC timestamp when the alert was first raised.
endTimestringYESUTC timestamp when the alert ended. null when the alert has not yet ended (i.e. status is Active or Event).
entityIdstringNOOpaque entity ID for the entity the alert was raised against. Pass this value as an entityId in GET /monitored-servers to retrieve the server's details.
entityNamestringNODisplay name of the entity the alert was raised against.
entityTypestringNOType of the entity the alert was raised against. See Entity types.
parentEntityParentEntityYESThe parent entity in the server hierarchy (e.g. the cluster for a SQL Server instance). null for top-level entities with no parent.

JSendError

AttributeTypeNullableDescription
statusobjectNO
messagestringNO

JSendFailure

AttributeTypeNullableDescription
statusobjectNO
dataobjectNO

JSendMessageOnlyError

AttributeTypeNullableDescription
statusobjectNO
messagestringNO

Metric

Describes a metric available for querying.

AttributeTypeNullableDescription
idstringNOOpaque identifier for this metric. Pass this value as metricIds in GET /metrics/data to retrieve sampled data.
namestringNOHuman-readable display name of the metric.
supportedServerTypesstring arrayNOServer types this metric applies to (e.g. Machine, SqlServer). See Entity types.

MetricDataPoint

A single sampled value at a point in time.

AttributeTypeNullableDescription
timestampstringNOUTC timestamp of the sample.
valuenumberNOThe measured value. Units are specified by MetricSeriesDto.DataUnit.

MetricSeries

A time series of data points for one metric and one monitored entity.

AttributeTypeNullableDescription
metricIdstringNOID of the metric this series belongs to (matches MetricV2Dto.Id).
metricNamestringNODisplay name of the metric.
entityTypestringNOType of the entity this series belongs to. See Entity types.
entityIdstringNOOpaque entity ID for the entity directly attached to metric. Pass this value or any entity id in the server hierarchy as entityIds in GET /metrics/data to restrict future queries to this entity.
entityNamestringNODisplay name of the entity.
dataUnitstringNOUnit of measurement for the data values (e.g. Milliseconds, Percent). Dimensionless metrics use Number.
dataPointsMetricDataPoint arrayNOOrdered list of sampled values over the requested time range. Empty when no data exists for the range.
parentEntityParentEntityYESThe parent entity in the server hierarchy (e.g. the host machine for a SQL Server instance). null for top-level entities.

MonitoredServer

Represents a monitored server (server, cluster, or cloud instance).

AttributeTypeNullableDescription
entityIdstringNOOpaque, URL-safe identifier for this server. Pass this value to GET /monitored-servers/{entityId} to retrieve the server directly, or as an entityIds filter on other v2 endpoints (e.g. GET /metrics/data).
namestringNOThe display name of the server.
aliasstringYESOptional user-defined alias for the server. null when no alias has been set.
entityTypestringNOThe type of server (e.g. SqlServer, LinuxMachine). See Entity types.
groupstringNOThe top-level group this server belongs to.
statusMonitoredEntityStatusCategoryNOThe current monitoring status of the server.
tagsstring arrayNOUser-defined tags attached to this server.
parentEntityIdstringYESID of the parent server, if this server is nested (e.g. a SQL Server under a host machine). null for top-level servers.

ParentEntity

Identifies an entity in the server hierarchy, together with an optional chain of parent entities up to the root.

AttributeTypeNullableDescription
entityIdstringNOOpaque entity ID.
entityNamestringNODisplay name of the entity.
entityTypestringNOType of the entity. See Entity types.
parentEntityParentEntityYESFurther ancestor in the hierarchy, if any. null at the top of the hierarchy; the chain terminates when this field is null.

ProblemDetails

AttributeTypeNullableDescription
typestringYES
titlestringYES
statusintegerYES
detailstringYES
instancestringYES

AlertSeverity

The severity level of an alert instance.

Value
Low
Medium
High

AlertStatus

The lifecycle state of an alert instance.

Value
Event
Active
Ended

MonitoredEntityStatusCategory

Value
Monitoring
Suspended
NotMonitoring
CredentialDecryptionFailed

Entity types

The values the entity type fields (Alert.supportedServerTypes, AlertData.entityType, Metric.supportedServerTypes, MetricSeries.entityType, MonitoredServer.entityType, ParentEntity.entityType) and the supportedServerTypes / entityType query parameters can take.

ValueDescription
AmazonRdsHostAmazon RDS host instance for non SQL Server instances
AmazonRdsSqlServerAmazon RDS SQL Server instance
AzureFlexHostA host running an Azure Database Flexible Server deployment
AzureManagedInstanceAzure SQL Managed Instance
AzureSqlDatabaseAn individual Azure SQL Database, hosted under an Azure SQL logical server
AzureSqlServerVirtual SQL Server in Azure used to group Azure SQL Databases
ClusterWindows cluster instance, this will be the machine for a standalone server.
GoogleCloudHostA host for a Google Cloud SQL instance
LinuxMachineLinux machine instance
MachineWindows machine which hosts a SQL Server instance
MongoDbInstanceA MongoDB instance
MySqlInstanceA MySQL instance
OracleDataGuardAn Oracle Data Guard configuration
OracleInstanceAn Oracle Database instance
PostgresServerPostgres server instance
SqlServerSQL Server instance on a Windows machine
SqlServerInstanceSQL Server instance on a Linux machine and Google Cloud SQL instance

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?