curl --request GET \
--url https://app.miget.com/api/v1/workspace/limits \
--header 'Authorization: <api-key>'import requests
url = "https://app.miget.com/api/v1/workspace/limits"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.miget.com/api/v1/workspace/limits', 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://app.miget.com/api/v1/workspace/limits",
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: <api-key>"
],
]);
$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://app.miget.com/api/v1/workspace/limits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.miget.com/api/v1/workspace/limits")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.miget.com/api/v1/workspace/limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"key": "<string>",
"name": "<string>",
"description": "<string>",
"value": 123,
"unit": "<string>",
"usage": 123,
"adjustable": true,
"increase_requested": true
}
]List the workspace's limits
Every limit the workspace runs into, with its value, how much of it is in use and whether it can be raised, so a limit can be read before a request is refused with 422 for crossing it. replicas_per_process caps the replicas, or the autoscaling maximum, of one process on Usage Billing or scaling beyond its resource’s plan. mounts_per_volume caps how many applications mount one shared storage. databases_per_workspace caps the PostgreSQL, MySQL and Valkey databases, read replicas included, and buckets_per_workspace the buckets. These four follow the workspace plan: Team’s are 20 replicas, 10 mounts, 40 databases and 100 buckets, Personal has half, Organization one and a half times and Enterprise twice; a value Miget set for the workspace, on request or not, replaces its plan’s and stays when the plan changes. charge_threshold is the unbilled usage at which usage is charged part-way through the cycle; it is not listed on an enterprise contract. The process and volume ceilings cap one workload on Usage Billing or placed in the workspace pool, and cannot be raised. Every member of the workspace may read it.
curl --request GET \
--url https://app.miget.com/api/v1/workspace/limits \
--header 'Authorization: <api-key>'import requests
url = "https://app.miget.com/api/v1/workspace/limits"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.miget.com/api/v1/workspace/limits', 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://app.miget.com/api/v1/workspace/limits",
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: <api-key>"
],
]);
$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://app.miget.com/api/v1/workspace/limits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.miget.com/api/v1/workspace/limits")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.miget.com/api/v1/workspace/limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"key": "<string>",
"name": "<string>",
"description": "<string>",
"value": 123,
"unit": "<string>",
"usage": 123,
"adjustable": true,
"increase_requested": true
}
]Authorizations
Response
List the workspace's limits

