SecureAuth (incl. Cloudentity) System Tenant Metrics API
The SystemTenantMetrics API from SecureAuth (incl. Cloudentity) — 9 operation(s) for systemtenantmetrics.
The SystemTenantMetrics API from SecureAuth (incl. Cloudentity) — 9 operation(s) for systemtenantmetrics.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/secureauth:secureauth-systemtenantmetrics-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'SecureAuth Analytics API
The SecureAuth Analytics APIs provide a robust solution for capturing and analyzing metrics related to various operational aspects including access token minting, policy validations, OTP validations, authorizer validations, and HTTP metrics, among others.'
title: SecureAuth System Tenant Metrics API
version: latest
servers:
- url: https://localhost:8443/api/analytics/default
tags:
- name: SystemTenantMetrics
paths:
/tenants/{tenantID}/access-tokens:
get:
description: Query access token data points.
operationId: systemTenantSingleAccessTokenMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
- count_recovery
- recovery_friction
- unique
- unique_clients
- unique_users
default: count
responses:
'200':
$ref: '#/components/responses/DataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query access tokens
tags:
- SystemTenantMetrics
/tenants/{tenantID}/access-tokens/{group}:
get:
description: Query access token data points by group.
operationId: systemTenantAggregatedAccessTokenMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
- count_recovery
- recovery_friction
- unique
- unique_clients
- unique_users
default: count
- description: Group by
in: path
name: group
required: true
schema:
type: string
enum:
- grant_type
default: grant_type
responses:
'200':
$ref: '#/components/responses/AggregatedDataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query access tokens by group
tags:
- SystemTenantMetrics
/tenants/{tenantID}/authentications:
get:
description: Query authentications data points.
operationId: systemTenantSingleAuthenticationMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
default: count
responses:
'200':
$ref: '#/components/responses/DataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query authentications
tags:
- SystemTenantMetrics
/tenants/{tenantID}/authentications/{group}:
get:
description: Query authentications data points by group.
operationId: systemTenantAggregatedAuthenticationMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: Filter by result (works only for grouping by method)
in: query
name: result
schema:
type: string
- description: Filter by method (works only for grouping by result)
in: query
name: method
schema:
type: string
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
default: count
- description: Group by
in: path
name: group
required: true
schema:
type: string
enum:
- result
- method
- device_type
- device_os
- device_browser
- grid_1_0
- grid_5_0
default: result
responses:
'200':
$ref: '#/components/responses/AggregatedDataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query authentications by group
tags:
- SystemTenantMetrics
/tenants/{tenantID}/faas:
get:
description: Query faas data points.
operationId: systemTenantSingleFaasMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
- sum
- p50
- p75
- p95
- p99
- le1
- le10
- le50
- le100
- le500
- le1000
- leinf
default: count
responses:
'200':
$ref: '#/components/responses/DataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query faas duration
tags:
- SystemTenantMetrics
/tenants/{tenantID}/faas/{group}:
get:
description: Query faas data points by group.
operationId: systemTenantAggregatedFaasMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
- sum
- p50
- p75
- p95
- p99
- le1
- le10
- le50
- le100
- le500
- le1000
- leinf
default: count
- description: Group by
in: path
name: group
required: true
schema:
type: string
enum:
- function
default: function
responses:
'200':
$ref: '#/components/responses/AggregatedDataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query faas duration by group
tags:
- SystemTenantMetrics
/tenants/{tenantID}/http-requests:
get:
description: Query http request data points.
operationId: systemTenantSingleHttpRequestMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
- count_external_errors
- sum
- p50
- p75
- p95
- p99
- le1
- le10
- le50
- le100
- le500
- le1000
- leinf
default: count
responses:
'200':
$ref: '#/components/responses/DataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query http requests
tags:
- SystemTenantMetrics
/tenants/{tenantID}/http-requests/{group}:
get:
description: Query http request data points by group.
operationId: systemTenantAggregatedHttpRequestMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count
- count_external_errors
- sum
- p50
- p75
- p95
- p99
- le1
- le10
- le50
- le100
- le500
- le1000
- leinf
default: count
- description: Group by
in: path
name: group
required: true
schema:
type: string
enum:
- api
- code
- category
default: api
responses:
'200':
$ref: '#/components/responses/AggregatedDataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query http requests by group
tags:
- SystemTenantMetrics
/tenants/{tenantID}/users:
get:
description: Query users data points.
operationId: systemTenantSingleUsersMetrics
parameters:
- description: From
in: query
name: from
schema:
type: string
- description: To
in: query
name: to
schema:
type: string
- description: Bucket
in: query
name: bucket
schema:
type: string
enum:
- auto
- all
- 1m
- 5m
- 15m
- 30m
- 1h
- 3h
- 6h
- 12h
- 1d
- 1w
- 1M
- 3M
- 6M
- 1Y
default: auto
- description: Origin
in: query
name: origin
schema:
type: string
format: date-time
- description: Tenant ID
in: path
name: tenantID
required: true
schema:
type: string
default: default
- description: A server will only return requested resources if the resource matches one of the listed ETag value
in: header
name: if-match
schema:
type: string
format: etag
- description: Unique identifier included in audit events for request tracking
in: header
name: x-correlation-id
schema:
type: string
- description: Key used to safely retry failed requests without duplicate processing
in: header
name: x-idempotency-key
schema:
type: string
- description: Function
in: query
name: function
schema:
type: string
enum:
- count_all
- count_standard
- count_jit
default: count_all
responses:
'200':
$ref: '#/components/responses/DataPoints'
'400':
$ref: '#/components/responses/badRequestHTTPError'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- admin: []
summary: Query users metrics
tags:
- SystemTenantMetrics
components:
schemas:
DataPoints:
properties:
bucket:
type: string
data:
items:
$ref: '#/components/schemas/SingleDataPoint'
type: array
type: object
AggregatedDataPoints:
properties:
bucket:
type: string
data:
items:
$ref: '#/components/schemas/AggregatedDataPoint'
type: array
type: object
SingleDataPoint:
properties:
timestamp:
format: date-time
type: string
value:
format: double
type: number
type: object
Error:
description: HTTP error response
properties:
details:
type: object
error:
type: string
error_code:
type: string
status_code:
format: int64
type: integer
type: object
AggregatedDataPoint:
properties:
timestamp:
format: date-time
type: string
values:
additionalProperties:
format: double
type: number
type: object
type: object
responses:
forbiddenHTTPError:
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
text/csv:
schema:
$ref: '#/components/schemas/Error'
unauthorizedHTTPError:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
text/csv:
schema:
$ref: '#/components/schemas/Error'
DataPoints:
description: Data points
headers:
etag:
description: 'The ETag HTTP header is an identifier for a specific version of a resource
in:header'
schema:
type: string
format: etag
x-external-error:
description: 'Indicates that a 5xx error was caused by tenant-provided code
in:header'
schema:
type: string
x-trace-id:
description: 'OpenTelemetry trace identifier
in:header'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/DataPoints'
text/csv:
schema:
$ref: '#/components/schemas/DataPoints'
AggregatedDataPoints:
description: Aggregated data points
headers:
etag:
description: 'The ETag HTTP header is an identifier for a specific version of a resource
in:header'
schema:
type: string
format: etag
x-external-error:
description: 'Indicates that a 5xx error was caused by tenant-provided code
in:header'
schema:
type: string
x-trace-id:
description: 'OpenTelemetry trace identifier
in:header'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/AggregatedDataPoints'
text/csv:
schema:
$ref: '#/components/schemas/AggregatedDataPoints'
tooManyRequestsHTTPError:
description: Too many requests
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
text/csv:
schema:
$ref: '#/components/schemas/Error'
badRequestHTTPError:
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
text/csv:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
admin:
type: oauth2
flows:
clientCredentials:
scopes: {}
tokenUrl: /default/admin/oauth2/token