API ReferenceSpending

Get monthly spending

GET
/api/v1/spending/monthly-spending

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/spending/monthly-spending" \  -H "authorization: string"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "data_points": [
      {
        "month": "string",
        "amount": 0
      }
    ]
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}