budgetManagement

Get budgets

get/v1/budgets

Request

  • Base URL
    https://api.au.sumologic.com/api
  • URL
    https://api.au.sumologic.com/api/v1/budgets
  • Auth
    HTTP basic

Query parameters

limitinteger

Limit the number of budgets returned in the response. The number of budgets returned may be less than the limit.

tokenstring

Continuation token to get the next page of results. A page object with the next continuation token is returned in the response body. Subsequent GET requests should specify the continuation token to get the next page of results.

Response

Budgets assigned to the org.

nextstring

Next continuation token.

Example response

{
  "data": [
    {
      "unit": "GB",
      "budgetType": "ScanBudget",
      "scope": {
        "includedUsers": [
          "00000000000001DF",
          "00000000000002D2"
        ],
        "excludedUsers": [
          "00000000000001DF",
          "00000000000002D2"
        ],
        "includedRoles": [
          "00000000000001DF",
          "00000000000002D2"
        ],
        "excludedRoles": [
          "00000000000001DF",
          "00000000000002D2"
        ]
      },
      "window": "Query",
      "applicableOn": "PerEntity",
      "groupBy": "User",
      "action": "Warn",
      "callerModules": [
        "api",
        "mcp"
      ],
      "status": "active",
      "resetTime": "23:30",
      "resetTimeZone": "America/Los_Angeles"
    }
  ]
}

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      the ////// response's property pattern was changed from ^(StopForeGroundScan|Warn)$ to ^(StopScan|StopForeGroundScan|Warn)$ for the status