curl --request GET \
--url https://api.getdialed.ai/v1/tenants/{tenancy_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getdialed.ai/v1/tenants/{tenancy_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getdialed.ai/v1/tenants/{tenancy_id}', 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.getdialed.ai/v1/tenants/{tenancy_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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://api.getdialed.ai/v1/tenants/{tenancy_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.getdialed.ai/v1/tenants/{tenancy_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getdialed.ai/v1/tenants/{tenancy_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"buckets": {
"Upload": {
"caps": {
"60": 20,
"3600": 400,
"86400": 2000
},
"effective": {
"60": 16,
"3600": 320,
"86400": 1600
},
"label": "Uploading (batch)",
"margin_pct": 80,
"max_records_per_request": 50000,
"min_interval_ms": 250,
"observed_at": "2026-08-22T18:00:00Z",
"source": "live"
}
},
"counters_synced_at": "2026-08-22T18:00:00Z",
"created_at": "2026-08-22T17:00:00Z",
"id": "ten_9f2c1a7b3d4e5f60",
"is_manual": false,
"label": "Acme Corp",
"org_id": "org_a1b2c3d4",
"platform_id": "five9",
"status": "active",
"sync_status": "live",
"updated_at": "2026-08-22T18:00:00Z"
}{
"detail": "Authentication required"
}{
"detail": "Tenant not found"
}{
"detail": "is_manual=true and platform_id disagree"
}{
"detail": "Rate limit exceeded: 100 per 1 minute"
}Get a tenant
Fetch one tenant, including its per-bucket raw provider caps, the margin_pct safety margin and the effective budget computed from both. is_manual is true for a tenant you named yourself rather than one discovered from a vendor; such a tenant has no provider-published caps, so its budget is empty. Readable by any organization member. Cross-tenant access returns 404, never 403.
curl --request GET \
--url https://api.getdialed.ai/v1/tenants/{tenancy_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getdialed.ai/v1/tenants/{tenancy_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getdialed.ai/v1/tenants/{tenancy_id}', 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.getdialed.ai/v1/tenants/{tenancy_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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://api.getdialed.ai/v1/tenants/{tenancy_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.getdialed.ai/v1/tenants/{tenancy_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getdialed.ai/v1/tenants/{tenancy_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"buckets": {
"Upload": {
"caps": {
"60": 20,
"3600": 400,
"86400": 2000
},
"effective": {
"60": 16,
"3600": 320,
"86400": 1600
},
"label": "Uploading (batch)",
"margin_pct": 80,
"max_records_per_request": 50000,
"min_interval_ms": 250,
"observed_at": "2026-08-22T18:00:00Z",
"source": "live"
}
},
"counters_synced_at": "2026-08-22T18:00:00Z",
"created_at": "2026-08-22T17:00:00Z",
"id": "ten_9f2c1a7b3d4e5f60",
"is_manual": false,
"label": "Acme Corp",
"org_id": "org_a1b2c3d4",
"platform_id": "five9",
"status": "active",
"sync_status": "live",
"updated_at": "2026-08-22T18:00:00Z"
}{
"detail": "Authentication required"
}{
"detail": "Tenant not found"
}{
"detail": "is_manual=true and platform_id disagree"
}{
"detail": "Rate limit exceeded: 100 per 1 minute"
}Authorizations
Path Parameters
Response
Successful Response
One tenant: the record that anchors a credential and its rate budget.
A tenant is the thing your credentials belong to — a vendor account discovered from the credentials themselves (a Five9 Domain, for example), or a tenant you named yourself when the platform has nothing to discover. N credentials against the same tenant share ONE rate budget.
Each rate bucket reports the provider's raw caps per time window, the
operator's margin_pct safety margin, and the effective budget computed
from both. min_interval_ms is the minimum spacing enforced between two
consecutive calls on the bucket — a floor applied on top of the window
budget, so a bucket can be well inside its hourly cap and still be paced;
null means no explicit floor. The margin is deliberately NOT applied to it
(it multiplies call counts, and shortening a duration would loosen the
budget rather than tighten it). is_manual is true for a tenant you named
rather than one
discovered from a vendor, and such a tenant has no provider-published caps,
so its budget is empty. sync_status reports whether the caps are
provider-observed (live), catalog defaults (catalog_default), or
unchanged after a refresh returned unusable counters (stale).
Show child attributes
Show child attributes