List budgets
curl --request GET \
--url https://api-v2.requesty.ai/v1/manage/budget \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-v2.requesty.ai/v1/manage/budget"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-v2.requesty.ai/v1/manage/budget', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-v2.requesty.ai/v1/manage/budget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-v2.requesty.ai/v1/manage/budget"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-v2.requesty.ai/v1/manage/budget")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-v2.requesty.ai/v1/manage/budget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"budgets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entity_type": "BUDGET_ENTITY_TYPE_ORGANIZATION",
"group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"api_key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"service_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"frequency": "BUDGET_FREQUENCY_DAILY",
"amount": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"spend": {
"resets_at": "2023-11-07T05:31:56Z",
"spent": 123,
"members": [
{
"user_id": "<string>",
"spent": 123
}
]
}
}
]
}{
"error": {
"origin": "router",
"message": "<string>"
}
}{
"error": {
"origin": "router",
"message": "<string>"
}
}{
"error": {
"origin": "router",
"message": "<string>"
}
}{
"error": {
"origin": "router",
"message": "<string>"
}
}List Budgets
List the budgets in the organization, with each budget’s spend in its current period. Filter by entity type or by the IDs of the entity a budget is set on; filters combine with AND. Requires an API key with read manage permissions.
GET
/
v1
/
manage
/
budget
List budgets
curl --request GET \
--url https://api-v2.requesty.ai/v1/manage/budget \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-v2.requesty.ai/v1/manage/budget"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-v2.requesty.ai/v1/manage/budget', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-v2.requesty.ai/v1/manage/budget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-v2.requesty.ai/v1/manage/budget"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-v2.requesty.ai/v1/manage/budget")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-v2.requesty.ai/v1/manage/budget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"budgets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entity_type": "BUDGET_ENTITY_TYPE_ORGANIZATION",
"group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"api_key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"service_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "<string>",
"frequency": "BUDGET_FREQUENCY_DAILY",
"amount": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"spend": {
"resets_at": "2023-11-07T05:31:56Z",
"spent": 123,
"members": [
{
"user_id": "<string>",
"spent": 123
}
]
}
}
]
}{
"error": {
"origin": "router",
"message": "<string>"
}
}{
"error": {
"origin": "router",
"message": "<string>"
}
}{
"error": {
"origin": "router",
"message": "<string>"
}
}{
"error": {
"origin": "router",
"message": "<string>"
}
}List the budgets in your organization. Each budget includes its
id, which you pass to Get Budget, Update Budget Amount or Delete Budget, and its spend in the current period.
Filter with entity_type (for example BUDGET_ENTITY_TYPE_API_KEY), group_id, api_key_id, service_account_id or user_id. Filters combine, so group_id with entity_type=BUDGET_ENTITY_TYPE_GROUP_MEMBER returns the member budgets of one group.
Budgets docs →Query Parameters
Only return budgets of this entity type.
What a budget is set on. ORGANIZATION and GROUP limit the combined spend of everyone in them. ORGANIZATION_PER_MEMBER and GROUP_PER_MEMBER set the default limit for each member. ORGANIZATION_MEMBER and GROUP_MEMBER set one user's own limit, replacing the per-member default for that user. SERVICE_ACCOUNT and API_KEY limit one service account or API key.
Available options:
BUDGET_ENTITY_TYPE_ORGANIZATION, BUDGET_ENTITY_TYPE_ORGANIZATION_PER_MEMBER, BUDGET_ENTITY_TYPE_ORGANIZATION_MEMBER, BUDGET_ENTITY_TYPE_GROUP, BUDGET_ENTITY_TYPE_GROUP_PER_MEMBER, BUDGET_ENTITY_TYPE_GROUP_MEMBER, BUDGET_ENTITY_TYPE_SERVICE_ACCOUNT, BUDGET_ENTITY_TYPE_API_KEY Last modified on December 3, 2026
Was this page helpful?