Skip to main content
GET
/
api
/
governance
/
budgets
List budgets
curl --request GET \
  --url http://localhost:8080/api/governance/budgets
{
  "budgets": [
    {
      "id": "<string>",
      "max_limit": 123,
      "reset_duration": "<string>",
      "last_reset": "2023-11-07T05:31:56Z",
      "current_usage": 123,
      "config_hash": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 123
}

Query Parameters

from_memory
boolean
default:false

If true, returns budgets from in-memory cache instead of database

Response

Successful response

List budgets response

budgets
object[]
count
integer