All Namespace Summary
API usage counts across all namespaces visible to the admin — for platform-level monitoring and tenant usage overview.
{
"start_date": "2024-05-01",
"end_date": "2024-05-31"
}
curl -X GET "{baseurl}/api/vault/reports/all-namespace-summary?start_date=2024-05-01&end_date=2024-05-31" \
-H "Authorization: Bearer <ADMIN_USER_AUTH_KEY>"
import requests
response = requests.get(
"{baseurl}/api/vault/reports/all-namespace-summary",
headers={
"Authorization": "Bearer <ADMIN_USER_AUTH_KEY>"
},
params={
"start_date": "2024-05-01",
"end_date": "2024-05-31"
}
)
print(response.json())
{
"data": {
"rows": [
{
"namespace": "production",
"start_time": "2024-05-01 00:00:00",
"end_time": "2024-05-31 23:59:59",
"count": 482931
},
{
"namespace": "staging",
"start_time": "2024-05-01 00:00:00",
"end_time": "2024-05-31 23:59:59",
"count": 14820
}
],
"next_page_token": null
},
"success": true,
"error": { "message": "" }
}
Returns usage counts across all namespaces visible to the admin. Commonly used by platform or super admins to monitor tenant-level activity.
Endpoint
| Method | Endpoint |
|---|---|
GET | {baseurl}/api/vault/reports/all-namespace-summary |
Query parameters
Start of the reporting window. Format: YYYY-MM-DD.
End of the reporting window. Format: YYYY-MM-DD.
Pagination token for large result sets.
Response fields
Namespace name in each data.rows item.
Reporting window start timestamp in each data.rows item.
Reporting window end timestamp in each data.rows item.
Total API calls in this namespace during the window. This field appears in each data.rows item.
Pagination token for the next page of data.rows items.