Get a list of Insights Reports
GET /api
Also reachable at /api.
Returns a paginated list of the Insights Reports in the supplied Octopus Deploy Space.
Path Parameters
spaceIdstring (required)
The ID of the space containing the resource(s).
Query Parameters
skipinteger
Number of items to skip. Defaults to zero. Minimum0.takeinteger
Number of items to take. Defaults to 30. Minimum0.
Response
200 — Success
Idstring
Gets or sets a unique identifier for this resource.ItemTypestringItemsarray of objectAllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectIconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
ItemsPerPageintegerLastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.LastPageNumberintegerLinksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.NumberOfPagesintegerTotalResultsinteger
Example Response
{
"Id": "string",
"ItemType": "string",
"Items": [
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}
],
"ItemsPerPage": 0,
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"LastPageNumber": 0,
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"NumberOfPages": 0,
"TotalResults": 0
}Create an Insights Report
POST /api
Also reachable at /api.
Creates a new Insights Report.
Path Parameters
spaceIdstring (required)
Request Body
AllTenantsboolean
If true, all tenants in the space will be included in the report.ChannelIdsarray of string (required)
The channels for the report.Descriptionstring
The description for the report.EnvironmentGroupsarray of object (required)
The environment groups for the report.Environmentsarray of string (required)Namestring (required)
Minimum length 1.
Namestring (required)
The name of the report. Minimum length 1. Maximum length 200.ProjectGroupIdsarray of string (required)
The project groups for the report.ProjectIdsarray of string (required)
The projects for the report.SpaceIdstring (required)TenantIdsarray of string (required)
The tenants for the report.TenantModeenum
The kind of deployments that will be included in this report.
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of string (required)
The tenant tags the report.TimeZonestring (required)
The timezone of the report.
Response
200 — Success
AllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectEnvironmentsarray of stringNamestring
Minimum length 1.
IconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
Example Request
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Example Response
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Create an Insights Report
POST /api
Also reachable at /api.
Creates a new Insights Report.
Path Parameters
spaceIdstring (required)
Request Body
AllTenantsboolean
If true, all tenants in the space will be included in the report.ChannelIdsarray of string (required)
The channels for the report.Descriptionstring
The description for the report.EnvironmentGroupsarray of object (required)
The environment groups for the report.Environmentsarray of string (required)Namestring (required)
Minimum length 1.
Namestring (required)
The name of the report. Minimum length 1. Maximum length 200.ProjectGroupIdsarray of string (required)
The project groups for the report.ProjectIdsarray of string (required)
The projects for the report.SpaceIdstring (required)TenantIdsarray of string (required)
The tenants for the report.TenantModeenum
The kind of deployments that will be included in this report.
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of string (required)
The tenant tags the report.TimeZonestring (required)
The timezone of the report.
Response
200 — Success
ReportobjectAllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectIconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
Example Request
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Example Response
{
"Report": {
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}
}GET /api/{spaceId}/insights/reports/
GET /api
Also reachable at /api.
Path Parameters
idstring (required)spaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Success
AllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectEnvironmentsarray of stringNamestring
Minimum length 1.
IconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
Example Response
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Update an existing Insights Report
PUT /api
Also reachable at /api.
Updates an existing Insights Report
Path Parameters
idstring (required)
The Id of the Insights Report.spaceIdstring (required)
The ID of the space containing the resource(s).
Request Body
AllTenantsboolean (required)
If true, all tenants in the space will be included in the report.ChannelIdsarray of string (required)
The channels for the report.Descriptionstring
The description for the report.EnvironmentGroupsarray of object (required)
The environment groups for the report.Environmentsarray of string (required)Namestring (required)
Minimum length 1.
Idstring (required)
The Id of the Insights Report.Namestring (required)
The name of the report. Minimum length 1. Maximum length 200.ProjectGroupIdsarray of string (required)
The project groups for the report.ProjectIdsarray of string (required)
The projects for the report.SpaceIdstring (required)
The ID of the space containing the resource(s).TenantIdsarray of string (required)
The tenants for the report.TenantModeenum (required)
The kind of deployments that will be included in this report.
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of string (required)
The tenant tags for the report.TimeZonestring (required)
The timezone of the report.
Response
200 — Success
AllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectEnvironmentsarray of stringNamestring
Minimum length 1.
IconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
Example Request
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"Id": "InsightsReports-1",
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Example Response
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Delete an Insights Report by ID
DELETE /api
Also reachable at /api.
Deletes an existing Insights Report.
Path Parameters
idstring (required)
ID of the Insights Report to delete.spaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Success
GET /api/{spaceId}/insights/reports/{id}/v1
GET /api
Also reachable at /api.
Path Parameters
idstring (required)spaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Success
ReportobjectAllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectIconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
Example Response
{
"Report": {
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}
}Update an existing Insights Report
PUT /api
Also reachable at /api.
Updates an existing Insights Report
Path Parameters
idstring (required)
The Id of the Insights Report.spaceIdstring (required)
The ID of the space containing the resource(s).
Request Body
AllTenantsboolean (required)
If true, all tenants in the space will be included in the report.ChannelIdsarray of string (required)
The channels for the report.Descriptionstring
The description for the report.EnvironmentGroupsarray of object (required)
The environment groups for the report.Environmentsarray of string (required)Namestring (required)
Minimum length 1.
Idstring (required)
The Id of the Insights Report.Namestring (required)
The name of the report. Minimum length 1. Maximum length 200.ProjectGroupIdsarray of string (required)
The project groups for the report.ProjectIdsarray of string (required)
The projects for the report.SpaceIdstring (required)
The ID of the space containing the resource(s).TenantIdsarray of string (required)
The tenants for the report.TenantModeenum (required)
The kind of deployments that will be included in this report.
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of string (required)
The tenant tags for the report.TimeZonestring (required)
The timezone of the report.
Response
200 — Success
ReportobjectAllTenantsbooleanChannelIdsarray of stringDescriptionstringEnvironmentGroupsarray of objectIconColorstringIconIdstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.Namestring
Minimum length 1.ProjectGroupIdsarray of stringProjectIdsarray of stringSpaceIdstringTenantIdsarray of stringTenantModeenum
Allowed values:Untenanted,TenantedAndUntenanted,Tenanted.TenantTagsarray of stringTimeZonestring
Example Request
{
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"Id": "InsightsReports-1",
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}Example Response
{
"Report": {
"AllTenants": true,
"ChannelIds": [
"Channels-1",
"..."
],
"Description": "string",
"EnvironmentGroups": [
{
"Environments": [
"Environments-1",
"..."
],
"Name": "string"
}
],
"IconColor": "string",
"IconId": "string",
"Id": "InsightsReports-1",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"Name": "string",
"ProjectGroupIds": [
"ProjectGroups-1",
"..."
],
"ProjectIds": [
"Projects-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
],
"TenantMode": "Untenanted",
"TenantTags": [
"string"
],
"TimeZone": "string"
}
}Delete an Insights Report by ID
DELETE /api
Also reachable at /api.
Deletes an existing Insights Report.
Path Parameters
idstring (required)
ID of the Insights Report to delete.spaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Success
Example Response
{}Request Insights Deployments for a Report
GET /api
Also reachable at /api, /api, /api.
Path Parameters
reportIdstring (required)
ID of the Insights Report.spaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — The requested Insights Deployments
ReportNamestring
Minimum length 1.Streamsarray of objectChannelIdstringChannelNamestringDeploymentsarray of objectEnvironmentIdstringEnvironmentNamestringProjectIdstringProjectNamestringTenantIdstringTenantNamestring
Example Response
{
"ReportName": "string",
"Streams": [
{
"ChannelId": "Channels-1",
"ChannelName": "string",
"Deployments": [
{}
],
"EnvironmentId": "Environments-1",
"EnvironmentName": "string",
"ProjectId": "Projects-1",
"ProjectName": "string",
"TenantId": "Tenants-1",
"TenantName": "string"
}
]
}GET /api/{spaceId}/insights/reports/{reportId}/logo
GET /api
Also reachable at /api, /api.
Path Parameters
reportIdstring (required)spaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Success
Example Response
"string"Update the logo associated with the report
POST /api
Also reachable at /api.
Path Parameters
reportIdstring (required)
The ID of the Insights report.spaceIdstring (required)
Response
200 — Success
Modify the logo of an insights report to be a specified icon
POST /api
Also reachable at /api.
Path Parameters
reportIdstring (required)
The ID of the insights report to change logo for.spaceIdstring (required)
The ID of the space containing the resource(s).
Request Body
IconColorstring (required)
Color of the icon in hex format. Example: ‘#0D80D8’. Minimum length 1. Must match^#.[0-9a-fA-F]{6}$ IconIdstring (required)
ID of the icon. Example: ‘octopus-deploy’. Minimum length 1.ReportIdstring (required)
The ID of the insights report to change logo for.SpaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Confirmation that the Insights Report Icon has been modified
Example Request
{
"IconColor": "string",
"IconId": "string",
"ReportId": "InsightsReports-1",
"SpaceId": "Spaces-1"
}Example Response
{}Modify the logo of an insights report to be a specified icon
POST /api
Also reachable at /api.
Path Parameters
reportIdstring (required)
The ID of the insights report to change logo for.spaceIdstring (required)
The ID of the space containing the resource(s).
Request Body
IconColorstring (required)
Color of the icon in hex format. Example: ‘#0D80D8’. Minimum length 1. Must match^#.[0-9a-fA-F]{6}$ IconIdstring (required)
ID of the icon. Example: ‘octopus-deploy’. Minimum length 1.ReportIdstring (required)
The ID of the insights report to change logo for.SpaceIdstring (required)
The ID of the space containing the resource(s).
Response
200 — Confirmation that the Insights Report Icon has been modified
Example Request
{
"IconColor": "string",
"IconId": "string",
"ReportId": "InsightsReports-1",
"SpaceId": "Spaces-1"
}Example Response
{}Get Insights metrics series for the Insights Report
GET /api
Also reachable at /api.
Returns the aggregated insights metrics for this insights report for the chosen granularity and time period grouped by the chosen split
Path Parameters
reportIdstring (required)
ID of the Insights Report.spaceIdstring (required)
The ID of the space containing the resource(s).
Query Parameters
granularityenum
The data grouping granularity, defaults to weekly if not supplied.
Allowed values:Monthly,Weekly,Daily.splitenum (required)
How to split the metrics.
Allowed values:None,Project,ProjectGroup,Environment,EnvironmentGroup,Tenant,TenantTagSet.tenantTagSetIdstring
If TenantTagSet is chosen for Split, this is required, otherwise it is ignored. It is the tag set to split on.timeRangeenum
The time period to get data for, defaults to last quarter if not supplied.
Allowed values:LastMonth,LastQuarter,LastYear.
Response
200 — Success
Seriesarray of objectIntervalsarray of objectNamestring
Minimum length 1.
Example Response
{
"Series": [
{
"Intervals": [
{}
],
"Name": "string"
}
]
}Get Insights metrics series for the Insights Report
GET /api
Also reachable at /api.
Returns the aggregated insights metrics for this insights report for the chosen granularity and time period grouped by the chosen split
Path Parameters
reportIdstring (required)
ID of the Insights Report.spaceIdstring (required)
The ID of the space containing the resource(s).
Query Parameters
granularityenum
The data grouping granularity, defaults to weekly if not supplied.
Allowed values:Monthly,Weekly,Daily.splitenum (required)
How to split the metrics.
Allowed values:None,Project,ProjectGroup,Environment,EnvironmentGroup,Tenant,TenantTagSet.tenantTagSetIdstring
If TenantTagSet is chosen for Split, this is required, otherwise it is ignored. It is the tag set to split on.timeRangeenum
The time period to get data for, defaults to last quarter if not supplied.
Allowed values:LastMonth,LastQuarter,LastYear.
Response
200 — Success
Seriesarray of objectIntervalsarray of objectNamestring
Minimum length 1.
Example Response
{
"Series": [
{
"Intervals": [
{}
],
"Name": "string"
}
]
}Get Insights Deployments for a Project
GET /api
Also reachable at /api, /api, /api.
Path Parameters
projectIdstring (required)
ID of the Project.spaceIdstring (required)
The ID of the space containing the resource(s).
Query Parameters
channelIdstring (required)
ID of the Channel.environmentIdstring (required)
ID of the Environment.tenantFilterenum
How to filter for tenants, defaults to untenanted and all tenants if not supplied.
Allowed values:UntenantedAndAllTenants,Untenanted,SingleTenant.tenantIdstring
ID of the Tenant.
Response
200 — The requested Insights Deployments
ProjectNamestring
Minimum length 1.Streamsarray of objectChannelIdstringChannelNamestringDeploymentsarray of objectEnvironmentIdstringEnvironmentNamestringProjectIdstringProjectNamestringTenantIdstringTenantNamestring
Example Response
{
"ProjectName": "string",
"Streams": [
{
"ChannelId": "Channels-1",
"ChannelName": "string",
"Deployments": [
{}
],
"EnvironmentId": "Environments-1",
"EnvironmentName": "string",
"ProjectId": "Projects-1",
"ProjectName": "string",
"TenantId": "Tenants-1",
"TenantName": "string"
}
]
}Get Insights metrics series for the project
GET /api
Also reachable at /api.
Returns the aggregated insights metrics for this project for the chosen granularity and time period
Path Parameters
projectIdstring (required)
ID of the Project.spaceIdstring (required)
The ID of the space containing the resource(s).
Query Parameters
channelIdstring (required)
ID of the Channel.environmentIdstring (required)
ID of the Environment.granularityenum
The data grouping granularity, defaults to weekly if not supplied.
Allowed values:Monthly,Weekly,Daily.tenantFilterenum
How to filter for tenants, defaults to untenanted and all tenants (combined) if not supplied.
Allowed values:UntenantedAndAllTenants,Untenanted,SingleTenant.tenantIdstring
ID of the Tenant.timeRangeenum
The time period to get data for, defaults to last quarter if not supplied.
Allowed values:LastMonth,LastQuarter,LastYear.timeZonestring
The IANA timezone to use when grouping data, defaults to UTC if not supplied.
Response
200 — Success
Seriesarray of objectIntervalsarray of objectNamestring
Minimum length 1.
Example Response
{
"Series": [
{
"Intervals": [
{}
],
"Name": "string"
}
]
}Get Insights metrics series for the project
GET /api
Also reachable at /api.
Returns the aggregated insights metrics for this project for the chosen granularity and time period
Path Parameters
projectIdstring (required)
ID of the Project.spaceIdstring (required)
The ID of the space containing the resource(s).
Query Parameters
channelIdstring (required)
ID of the Channel.environmentIdstring (required)
ID of the Environment.granularityenum
The data grouping granularity, defaults to weekly if not supplied.
Allowed values:Monthly,Weekly,Daily.tenantFilterenum
How to filter for tenants, defaults to untenanted and all tenants (combined) if not supplied.
Allowed values:UntenantedAndAllTenants,Untenanted,SingleTenant.tenantIdstring
ID of the Tenant.timeRangeenum
The time period to get data for, defaults to last quarter if not supplied.
Allowed values:LastMonth,LastQuarter,LastYear.timeZonestring
The IANA timezone to use when grouping data, defaults to UTC if not supplied.
Response
200 — Success
Seriesarray of objectIntervalsarray of objectNamestring
Minimum length 1.
Example Response
{
"Series": [
{
"Intervals": [
{}
],
"Name": "string"
}
]
}