Skip to content
AvailableUpdated 2026-11-28

Read monitoring and compliance data

Machine-readable workspace activity and control inventory for scoped API keys.

These two endpoints are read-only and let an external system observe the workspace without a member session. The same key can also write projects, pages, deployments and domains through the workspace API.

Create a key with the right scope

  • monitoring:read for GET /v1/workspace/monitoring
  • compliance:read for GET /v1/workspace/compliance
  • workspace:read for GET /v1/workspace/me

Monitoring

Returns the project count, deployments in the last seven days with ready and failed counts, the ten most recent deployments, QA scans in the last seven days, and pending publishing approvals.

bash
curl -H "Authorization: Bearer odk_..." \
  https://api.example.com/v1/workspace/monitoring
Poll the monitoring snapshot

Compliance inventory

Returns workspace identity, the on/off state of each control, verified domains, active key prefixes and a positional role count. It never returns secrets, member emails or full API keys.

FieldMeaning
controls.ssoWhether OIDC is enabled and which issuer
controls.scimWhether a provisioning token is active
controls.ipAllowlistWhether enforcement is on and how many networks exist
controls.publishingApprovalsWhether approval is required and how many approvers exist
controls.apiKeysActive key count and prefixes only
certificationsAlways empty until an audit actually exists
dataResidencyNull; region choice is not implemented

Was this page helpful?