FruxonDocs
Agent NetworkGraph

The Application's calendar month so far, in dollars and credits, projected to the month's end.

The agent cost card's forecast for the whole Application: the same projection over four weeks of daily history, in the same shape. Production runs only, and no budget line — an Application has no cap of its own.

GET
/v1/tenants/{tenant}/networks/{network}/spend/forecast
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

network*string

The Application (Network) id.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/networks/497f6eca-6276-4993-bfeb-53cbbbba6f08/spend/forecast"
{
  "monthStartMs": 0,
  "resetsAtMs": 0,
  "days": [
    {
      "dayStartMs": 0,
      "cost": 0,
      "credits": 0
    }
  ],
  "cost": {
    "spent": 0,
    "budget": 0,
    "atMonthEnd": {
      "low": 0,
      "likely": 0,
      "high": 0
    },
    "days": [
      {
        "dayStartMs": 0,
        "atMs": 0,
        "low": 0,
        "likely": 0,
        "high": 0
      }
    ],
    "basis": {
      "paceDays": 0,
      "weeklyPattern": false,
      "weekdayFactors": [
        0
      ],
      "dailyRate": 0
    },
    "budgetReachedEarliestAtMs": 0
  },
  "credits": {
    "spent": 0,
    "budget": 0,
    "atMonthEnd": {
      "low": 0,
      "likely": 0,
      "high": 0
    },
    "days": [
      {
        "dayStartMs": 0,
        "atMs": 0,
        "low": 0,
        "likely": 0,
        "high": 0
      }
    ],
    "basis": {
      "paceDays": 0,
      "weeklyPattern": false,
      "weekdayFactors": [
        0
      ],
      "dailyRate": 0
    },
    "budgetReachedEarliestAtMs": 0
  }
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}