API ReferenceSavings

Get Savings Audit summary

GET
/api/v1/savings/summary

Authorization

BearerAuth
AuthorizationBearer <token>

API key with l4_live_ or l4_test_ prefix

In: header

Header Parameters

authorization*string

Response Body

application/json

application/json

curl -X GET "https://api.levelfour.ai/api/v1/savings/summary" \  -H "authorization: string"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "total_monthly_savings": 0,
    "total_monthly_savings_percentage": 0,
    "total_annual_savings": 0,
    "payback": 0,
    "average_roi": 0,
    "total_savings": 0,
    "providers": [
      {
        "provider_id": "string",
        "provider": "string",
        "total_savings": 0
      }
    ]
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}