Commitment Orchestrator Events APIs
This contains APIs to fetch commitment orchestrator events data.
Obtains list of events and the count of their occurences grouped by date
Account Identifier for the Entity
Account Identifier for the Entity
Start time of the period
2021-10-19End time of the period
2021-10-19Service to fetch the details for.
Amazon Elastic Compute Cloud - ComputePossible values: successful operation
Response timestamp
Specifies if the operation is successful
Specifies the error if the operation failed
Invalid status value
POST /gateway/accounts/{account_id}/v1/events/chart?accountIdentifier=text&start_date=2021-10-19&end_date=2021-10-19 HTTP/1.1
Host: app.harness.io
Content-Type: */*
Accept: */*
Content-Length: 88
{
"events": [
"text"
],
"group_by": "text",
"service": "Amazon Elastic Compute Cloud - Compute"
}{
"ts": 1,
"success": true,
"errors": "text",
"response": {
"total": 1,
"pages": 1,
"events": [
{
"date": "2023-07-14T00:59:00.619568Z",
"count": 1,
"event_type": "text"
}
]
}
}Returns auto-renewal activities (upcoming and completed) for the account, filtered by date range and optional cloud account, regions, and AWS service. Used to annotate charts such as Compute Coverage when savings or coverage dip around RI/SP renewals. If start_date and end_date are omitted, the server defaults to the last 30 days (UTC).
Account Identifier for the Entity
When non-empty, only renewal events for these cloud accounts are returned
Start of filter range (YYYY-MM-DD). Defaults to 30 days before today (UTC) when omitted.
2025-01-01End of filter range (YYYY-MM-DD). Defaults to today (UTC) when omitted.
2025-01-31When non-empty, only events whose region matches one of these values
AWS service type; defaults to Amazon Elastic Compute Cloud - Compute when omitted
Amazon Elastic Compute Cloud - ComputePossible values: successful operation
Response timestamp
Specifies if the operation is successful
Specifies the error if the operation failed
Invalid request (e.g. invalid date format or end_date before start_date)
POST /gateway/accounts/{account_id}/v1/events/renewal_events HTTP/1.1
Host: app.harness.io
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"cloud_account_ids": [
"text"
],
"start_date": "2025-01-01",
"end_date": "2025-01-31",
"regions": [
"text"
],
"service": "Amazon Elastic Compute Cloud - Compute"
}{
"ts": 1,
"success": true,
"errors": "text",
"response": {
"events": [
{
"id": 1,
"cloud_account_id": "text",
"region": "text",
"status": "text",
"expiry_date": "2026-01-01",
"renewal_scheduled_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z",
"description": "text"
}
]
}
}Returns the configured minimum interval between RI recommendation engine runs and when the next run becomes eligible, based on the latest completed approval transaction for the account and service.
Account Identifier for the Entity
AWS Service type
Amazon Elastic Compute Cloud - ComputePossible values: successful operation
Response timestamp
Specifies if the operation is successful
Specifies the error if the operation failed
Invalid parameters
GET /gateway/accounts/{account_id}/v1/events/ri_recommendation_schedule HTTP/1.1
Host: app.harness.io
Accept: */*
{
"ts": 1,
"success": true,
"errors": "text",
"response": {
"minIntervalDays": 1,
"lastTransactionAt": "2026-01-01T00:00:00.000Z",
"nextEligibleAt": "2026-01-01T00:00:00.000Z",
"isEligibleNow": true,
"lastRunCompletedAt": "2026-01-01T00:00:00.000Z",
"recommendationsGenerated": 1,
"noNewRecommendationsReason": "text",
"noNewRecommendationsReasonMessage": "text"
}
}Last updated
Was this helpful?