Get usage summary
curl --request GET \
--url https://api.runaether.dev/orgs/{orgID}/usage/summary \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/orgs/{orgID}/usage/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/orgs/{orgID}/usage/summary', 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.runaether.dev/orgs/{orgID}/usage/summary",
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.runaether.dev/orgs/{orgID}/usage/summary"
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.runaether.dev/orgs/{orgID}/usage/summary")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/usage/summary")
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{
"data_notes": {
"cache_tokens_available": true,
"cost_available": true,
"hardware_breakdown_available": true,
"reasoning_tokens_available": true,
"running_runtime_intervals_included": true,
"spend_coverage_start": "2023-11-07T05:31:56Z"
},
"device_runtime_series_by_kind": [
{
"credits_per_hour": 1,
"credits_used": 1,
"date": "<string>",
"device_seconds": 1,
"kind": "android",
"kind_label": "<string>",
"task_count": 1
}
],
"generated_at": "2023-11-07T05:31:56Z",
"group_by": "none",
"group_series": [
{
"key": "<string>",
"label": "<string>",
"series": [
{
"agent_run_count": 1,
"credits_used": 1,
"date": "<string>",
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
}
],
"sublabel": "<string>"
}
],
"groups": [
{
"agent_run_count": 1,
"credits_used": 1,
"key": "<string>",
"label": "<string>",
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1,
"sublabel": "<string>"
}
],
"range": {
"bucket": "day",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"series": [
{
"agent_run_count": 1,
"credits_used": 1,
"date": "<string>",
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
}
],
"totals": {
"agent_run_count": 1,
"credits_used": 1,
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
},
"vm_runtime_series_by_tier": [
{
"billing_model": "reserved",
"credits_per_hour": 1,
"credits_used": 1,
"date": "<string>",
"hardware": {
"cpu_kind": "shared",
"cpus": 8,
"gpu_kind": "a10",
"memory_mb": 16512,
"volume_size_gb": 250
},
"task_count": 1,
"vm_size": "small",
"vm_size_label": "<string>",
"vm_uptime_seconds": 1
}
],
"totals_previous": {
"agent_run_count": 1,
"credits_used": 1,
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
}
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Usage
Get usage summary
Summarizes what the org’s tasks used between from and to: totals of tasks, agent runs, tokens, VM uptime, credits and spend, daily series, and groups by one dimension.
Use this tool when you need to:
- Report what the org’s tasks used and spent over a period
- Break usage down by project, agent, model, VM size, status, member or payer
- Compare a period with the one before it
Examples:
- GET /orgs//usage/summary?from=2026-10-01&to=2026-10-26&group_by=model
- GET /orgs//usage/summary?from=2026-10-01T00:00:00Z&to=2026-10-08T00:00:00Z&project_id=6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21&compare=true
Hints:
- from and to are required, RFC 3339 timestamps or YYYY-MM-DD dates in UTC; to must be after from and the range at most 366 days.
- Filters are optional and comma-separated: project_id and user_id (uuids), agent_type, model, status (running, awaiting_input, approved, awaiting_ci, merged, unmerged, errored, archived) and vm_size (small, medium, large, xl).
- group_by is none, project (the default), agent, model, vm_size, status, user or payer (per turn, by what paid); compare true adds totals_previous for the equally long window just before from.
- Use listUsageTasks instead to page through the individual tasks under the same range and filters.
- Owners, admins and members of the org; a viewer or billing member is refused with 403 org_role_insufficient.
- Refused with 400 for a bad range, an unknown agent_type, status or vm_size, or a user_id filter or group_by user on a personal org, and 422 for a project_id or user_id that is not a uuid.
GET
/
orgs
/
{orgID}
/
usage
/
summary
Get usage summary
curl --request GET \
--url https://api.runaether.dev/orgs/{orgID}/usage/summary \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/orgs/{orgID}/usage/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/orgs/{orgID}/usage/summary', 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.runaether.dev/orgs/{orgID}/usage/summary",
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.runaether.dev/orgs/{orgID}/usage/summary"
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.runaether.dev/orgs/{orgID}/usage/summary")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/usage/summary")
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{
"data_notes": {
"cache_tokens_available": true,
"cost_available": true,
"hardware_breakdown_available": true,
"reasoning_tokens_available": true,
"running_runtime_intervals_included": true,
"spend_coverage_start": "2023-11-07T05:31:56Z"
},
"device_runtime_series_by_kind": [
{
"credits_per_hour": 1,
"credits_used": 1,
"date": "<string>",
"device_seconds": 1,
"kind": "android",
"kind_label": "<string>",
"task_count": 1
}
],
"generated_at": "2023-11-07T05:31:56Z",
"group_by": "none",
"group_series": [
{
"key": "<string>",
"label": "<string>",
"series": [
{
"agent_run_count": 1,
"credits_used": 1,
"date": "<string>",
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
}
],
"sublabel": "<string>"
}
],
"groups": [
{
"agent_run_count": 1,
"credits_used": 1,
"key": "<string>",
"label": "<string>",
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1,
"sublabel": "<string>"
}
],
"range": {
"bucket": "day",
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z"
},
"series": [
{
"agent_run_count": 1,
"credits_used": 1,
"date": "<string>",
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
}
],
"totals": {
"agent_run_count": 1,
"credits_used": 1,
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
},
"vm_runtime_series_by_tier": [
{
"billing_model": "reserved",
"credits_per_hour": 1,
"credits_used": 1,
"date": "<string>",
"hardware": {
"cpu_kind": "shared",
"cpus": 8,
"gpu_kind": "a10",
"memory_mb": 16512,
"volume_size_gb": 250
},
"task_count": 1,
"vm_size": "small",
"vm_size_label": "<string>",
"vm_uptime_seconds": 1
}
],
"totals_previous": {
"agent_run_count": 1,
"credits_used": 1,
"spend": {
"api_key_estimate_microdollars": 1,
"money_microdollars": 1,
"subscription_tokens": 1,
"unpriced_slices": 1
},
"task_count": 1,
"tokens_in": 1,
"tokens_out": 1,
"total_tokens": 1,
"vm_uptime_seconds": 1
}
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "bad_gateway",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Authorizations
Query Parameters
Response
OK