Summarize Briefings by tenant
Returns one row per tenant that has at least one Briefing: how many it has, how many are active, and its most recent run. Only organization Admins can call this. Use it for an overview, then List Briefings with scope=tenants and tenantId to open one tenant.
Authorization
BearerAuth AuthorizationBearer <token>
A project-scoped access token. Generate one via the Token API with your project ID and project secret.
In: header
Query Parameters
status?string
Only Briefings with this status. Case does not matter.
Value in
"ACTIVE" | "PAUSED" | "DISABLED"Response Body
application/json
application/json
application/json
application/json
curl -X get "https://semaphor.cloud/api/v1/briefings/tenant-summaries"{
"tenants": [
{
"tenantId": "string",
"tenantName": "string",
"briefingCount": 0,
"activeBriefingCount": 0,
"hasActiveRun": true,
"latestRunAt": "2019-08-24T14:15:22Z",
"latestRunStatus": "string"
}
]
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}