Reference
Get realized savings audit detail
Returns the parent realized_savings_audit row plus all per-usage_type line items. Powers the Savings Audit drill-down side panel.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
audit_id*Audit Id
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/recommendations/audit/realized/0"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": {
"id": 0,
"savings_id": "string",
"recommendation_id": "string",
"approved_by": "string",
"applied_via": "string",
"implementation_method": "string",
"first_view_at": "string",
"first_view_channel": "string",
"view_count_at_audit": 0,
"verification": "pending",
"technical_details": {
"cloud_event_id": "string",
"cloud_event_name": "string",
"cloud_event_time": "string",
"actor_principal": "string",
"actor_type": "string",
"actor_ip": "string",
"evidence": {}
},
"implemented_at": "string",
"execution_logs": [
{}
],
"execution_steps": [
{}
],
"provider": "string",
"cloud_event_id": "string",
"cloud_event_name": "string",
"cloud_event_time": "string",
"actor_principal": "string",
"actor_type": "string",
"actor_ip": "string",
"cloud_resource_id": "string",
"service": "string",
"account_id": "string",
"region": "string",
"environment": "string",
"dashboard_viewer": "string",
"dashboard_view_id": 0,
"billing_period": "string",
"billing_period_start": "string",
"billing_period_end": "string",
"days_active_in_period": 0,
"estimated_savings_usd": 0,
"realized_savings_usd": 0,
"realized_savings_in_progress_usd": 0,
"settled_at": "string",
"realized_savings_7d_usd": 0,
"realized_savings_30d_usd": 0,
"snapshot_7d_at": "string",
"snapshot_30d_at": "string",
"realized_basis": "string",
"calculator_version": "string",
"frozen_at": "string",
"evidence": {},
"detected_at": "string",
"updated_at": "string",
"lines": [
{
"id": 0,
"usage_type": "string",
"usage_quantity": 0,
"usage_unit": "string",
"unit_price_usd": 0,
"savings_usd": 0,
"operation": "string"
}
]
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}