Skip to main content

Console Advanced Features

Beyond basic API and tenant management, the Console provides dashboards and operational tools for platform administrators.

Tenant Dashboard​

Each tenant has a dedicated dashboard showing real-time metrics sourced from Prometheus.

Metrics Displayed​

MetricSourceDescription
Request ratestoa_http_requests_totalRequests per second
Error ratestoa_http_requests_total{status=~"5.."}5xx errors per second
P95 latencystoa_http_request_duration_seconds95th percentile response time
Active subscriptionsControl Plane APICount of approved subscriptions
Published APIsControl Plane APICount of APIs in catalog

Time Range​

Select from 1h, 6h, or 24h ranges. Data refreshes automatically every 15 seconds.

Accessing​

Navigate to Tenants in the sidebar, select a tenant, then click Dashboard.

Operations Dashboard​

Platform-wide operational view available to cpi-admin users.

Overview Cards​

CardThresholds
Error rateGood: 0-1%, Warning: 1-5%, Critical: above 5%
P95 latencyGood: 0-500ms, Warning: 500ms-2s, Critical: above 2s
Requests/minInformational (no threshold)
Active alertsCount from Alertmanager
UptimePercentage over selected window

Recent Deployments​

Shows the latest deployments across all components with:

  • Component name and version
  • Deployment timestamp
  • Sync status (for ArgoCD-managed components)
  • Health status

Accessing​

Navigate to Operations in the sidebar (visible to cpi-admin only).

Gateway Management​

Gateway List​

View all registered gateway instances with their status:

ColumnDescription
NameGateway display name
Typestoa, kong, gravitee, webmethods
Statusonline, offline, degraded
APIs syncedNumber of APIs deployed to this gateway
Last health checkTimestamp of last successful check

Gateway Registration​

Register a new gateway instance:

  1. Navigate to Gateways in the sidebar
  2. Click Register Gateway
  3. Select the gateway type
  4. Enter the base URL and admin credentials
  5. Click Test Connection to verify
  6. Click Register

The gateway appears in the list after a successful health check.

Gateway Modes​

For STOA Gateway instances, view and manage the active mode:

  • Edge MCP β€” Production mode with full MCP protocol support
  • Sidecar β€” Policy enforcement alongside existing gateways
  • Proxy β€” API transformation and routing
  • Shadow β€” Traffic observation for API discovery

See Gateway Modes for configuration details.

Error Snapshots​

Capture and analyze API errors for debugging.

What's Captured​

When an API returns an error (4xx or 5xx), the Console can capture:

  • Request method, path, and headers
  • Response status code and body
  • Upstream response time
  • Tenant and API context

Viewing Snapshots​

  1. Navigate to Error Snapshots in the sidebar
  2. Filter by API, status code, or time range
  3. Click a snapshot to see full request/response details

Retention​

Error snapshots are stored for 7 days by default. Adjust retention in the platform configuration.

API Discovery (Shadow Mode)​

When a STOA Gateway runs in Shadow mode, it passively observes API traffic and discovers undocumented endpoints.

Discovery Audit​

The Shadow Discovery page shows:

  • Discovered endpoints not yet in the API catalog
  • Traffic patterns (method, path, frequency)
  • Suggested OpenAPI fragments based on observed payloads
  • Recommendations for adding endpoints to the catalog

This is useful for brownfield environments where existing APIs lack documentation.

Request Explorer​

Inspect individual API requests for debugging:

  1. Navigate to Request Explorer in the sidebar
  2. Select an API and time range
  3. Browse request/response pairs
  4. Filter by status code, latency, or consumer

Available to cpi-admin and tenant-admin roles.

Observability Dashboard​

The Console embeds Grafana dashboards for deep-dive monitoring:

  • Click Observability in the sidebar
  • Access pre-built STOA dashboards (request rates, latency histograms, error breakdowns)
  • Requires Grafana OIDC integration with Keycloak (see Monitoring)

Webhook Management​

Manage webhook endpoints for event-driven integrations between STOA and external systems.

Creating a Webhook​

  1. Navigate to Webhooks in the Console sidebar
  2. Click Create Webhook
  3. Enter the target URL (HTTPS required in production)
  4. Select event types to subscribe to
  5. Enter a signing secret (minimum 32 characters)
  6. Click Save

Delivery History​

View the delivery status of each webhook event:

StatusBadgeMeaning
successGreenEndpoint returned 2xx
pendingYellowDelivery in progress or scheduled retry
failedRedAll retry attempts exhausted

Click a delivery to see full request/response details including headers and body.

Testing & Retry​

  • Click Test on any webhook to send a synthetic event (payload includes "test": true)
  • Click Retry on a failed delivery to re-send immediately

See Webhooks for the webhook API reference and signature verification examples.

Credential Mappings​

Map consumer credentials to backend authentication schemes. This enables the gateway to translate consumer API keys into backend-specific authentication without exposing internal credentials.

Supported Auth Types​

TypeUse Case
api_keyBackend expects an API key in header or query param
bearerBackend expects a Bearer token
basicBackend expects Basic auth (username:password)

Creating a Mapping​

  1. Navigate to Credentials in the Console sidebar
  2. Click Create Mapping
  3. Select the auth type
  4. Configure source (consumer credential) and target (backend credential)
  5. Click Save

Managing Mappings​

  • Edit: Update target credentials when backend rotates keys
  • Delete: Remove the mapping (consumers lose backend access)
  • Test: Verify the mapping works with a dry-run request

Contracts / UAC Management​

Universal API Contracts (UAC) define multi-protocol API bindings β€” the foundation of STOA's "Define Once, Expose Everywhere" approach.

Contract List​

View all contracts with their protocol bindings and status:

ColumnDescription
NameContract display name
ProtocolsActive bindings (REST, MCP, GraphQL, gRPC, Kafka)
StatusDraft, Published, Deprecated
APIs boundNumber of APIs using this contract

Creating a Contract​

  1. Navigate to Contracts in the Console sidebar
  2. Click Create Contract
  3. Enter name, description, and version
  4. Add protocol bindings:
    • REST: OpenAPI spec URL or upload
    • MCP: Tool definitions and capabilities
    • GraphQL: Schema definition
    • gRPC: Proto file upload
    • Kafka: Topic and schema registry config
  5. Click Save as Draft or Publish

Contract Detail​

View and manage a single contract:

  • Bindings: Add, edit, or remove protocol bindings
  • History: Version history with diff viewer
  • Consumers: APIs and subscriptions using this contract

See UAC Concepts for the architectural rationale.

RBAC Visibility​

Featurecpi-admintenant-admindevopsviewer
Tenant DashboardAll tenantsOwn tenantOwn tenantOwn tenant
Operations DashboardYesNoNoNo
Gateway ManagementYesNoNoNo
WebhooksAll tenantsOwn tenantNoNo
Credential MappingsAll tenantsOwn tenantNoNo
Contracts / UACAll tenantsOwn tenantOwn tenant (read)Own tenant (read)
Error SnapshotsAll tenantsOwn tenantOwn tenantOwn tenant (read)
Request ExplorerAll tenantsOwn tenantOwn tenantNo