SecureAuth (incl. Cloudentity) System Workspace Metrics API
The SystemWorkspaceMetrics API from SecureAuth (incl. Cloudentity) — 2 operation(s) for systemworkspacemetrics.
The SystemWorkspaceMetrics API from SecureAuth (incl. Cloudentity) — 2 operation(s) for systemworkspacemetrics.
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-systemworkspacemetrics-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 Workspace Metrics API
version: latest
servers:
- url: https://localhost:8443/api/analytics/default
tags:
- name: SystemWorkspaceMetrics
paths:
/tenants/{tenantID}/servers/{wid}/access-tokens:
get:
description: Query access token data points.
operationId: systemWorkspaceSingleAccessTokenMetrics
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: Workspace ID
in: path
name: wid
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:
- setup: []
summary: Query access tokens
tags:
- SystemWorkspaceMetrics
/tenants/{tenantID}/servers/{wid}/access-tokens/{group}:
get:
description: Query access token data points by group.
operationId: systemWorkspaceAggregatedAccessTokenMetrics
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: Workspace ID
in: path
name: wid
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:
- setup: []
summary: Query access tokens by group
tags:
- SystemWorkspaceMetrics
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