curl --request POST \
--url https://api.aireserve.com/v1/admin/get_analytics_dashboard \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"includeShared": true,
"preset": 1,
"from": "<string>",
"to": "<string>"
}
'import requests
url = "https://api.aireserve.com/v1/admin/get_analytics_dashboard"
payload = {
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"includeShared": True,
"preset": 1,
"from": "<string>",
"to": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
clientId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
teamId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
userIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
includeShared: true,
preset: 1,
from: '<string>',
to: '<string>'
})
};
fetch('https://api.aireserve.com/v1/admin/get_analytics_dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "executed",
"ok": true,
"summary": "<string>",
"message": "<string>",
"data": "<unknown>",
"secret": "<string>",
"sensitive": true
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"status": "executed",
"ok": true,
"summary": "<string>",
"message": "<string>",
"data": "<unknown>",
"secret": "<string>",
"sensitive": true
}{
"error": "<string>",
"error_description": "<string>"
}Compact analytics summary for a custom date range or an org/team/member scope (get-usage-summary already covers quick preset views)
Compact analytics summary for a custom date range or an org/team/member scope (get-usage-summary already covers quick preset views). Runs as the token’s owner within their role; the portal’s own authorization and audit log apply.
curl --request POST \
--url https://api.aireserve.com/v1/admin/get_analytics_dashboard \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"includeShared": true,
"preset": 1,
"from": "<string>",
"to": "<string>"
}
'import requests
url = "https://api.aireserve.com/v1/admin/get_analytics_dashboard"
payload = {
"clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"includeShared": True,
"preset": 1,
"from": "<string>",
"to": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
clientId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
teamId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
userIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
includeShared: true,
preset: 1,
from: '<string>',
to: '<string>'
})
};
fetch('https://api.aireserve.com/v1/admin/get_analytics_dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "executed",
"ok": true,
"summary": "<string>",
"message": "<string>",
"data": "<unknown>",
"secret": "<string>",
"sensitive": true
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"error": "<string>",
"error_description": "<string>"
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"status": "refused",
"code": "unknown_op",
"error": "<string>"
}{
"status": "executed",
"ok": true,
"summary": "<string>",
"message": "<string>",
"data": "<unknown>",
"secret": "<string>",
"sensitive": true
}{
"error": "<string>",
"error_description": "<string>"
}Authorizations
A management token: minted by the OAuth flow (aireserve login, or an MCP client's Authenticate step) or on the portal Keys page under Management Keys. Inference API keys are refused.
Body
Target organization id — platform admins only; omit otherwise
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Narrow to one team's subtree (team id from get-org-directory)
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Narrow to specific members; a non-empty list wins over teamId
25^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Include user-less team/org API-key traffic (default true)
Trailing window in days; 1 = last 24 hours. Ignored when from/to are set
1 Custom range start, UTC day (YYYY-MM-DD)
^\d{4}-\d{2}-\d{2}$Custom range end, UTC day (YYYY-MM-DD)
^\d{4}-\d{2}-\d{2}$Response
Executed successfully (ok: true).
executed Whether the operation succeeded.
The consent line describing what was done, built from resolved labels.
Human-readable result line.
Operation payload (reads) or detail worth relaying (writes).
A one-time secret the operation minted (API key, credential). Shown once; store it now.
Present exactly when secret is: redact this response from logs.
true