Nopaque Limited Audit API
The workspace's activity log: who changed what, when, and how (in the app, with an API key, or by nopaque staff). Read-only. Reading it with an API key is an Enterprise feature.
The workspace's activity log: who changed what, when, and how (in the app, with an API key, or by nopaque staff). Read-only. Reading it with an API key is an Enterprise feature.
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/nopaque-co-uk:nopaque-co-uk-audit-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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:
title: Nopaque Co Uk Audit API
version: 0.3.0
contact:
name: Nopaque support
email: support@nopaque.co.uk
url: https://www.nopaque.co.uk/docs
license:
name: Proprietary
url: https://www.nopaque.co.uk/terms
termsOfService: https://www.nopaque.co.uk/terms
description: 'Operations tagged Audit across 2 of this provider''s published API definitions: nopaque-co-uk-openapi.json, nopaque-co-uk-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.nopaque.co.uk
description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`
header on every request. Workspace-scoped operations are isolated to the workspace the API
key was created in.
'
- url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set
`Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool
sign-in. NOTE: this gateway does NOT have a custom domain today.
'
tags:
- name: Audit
description: 'The workspace''s activity log: who changed what, when, and how (in the app, with an API
key, or by nopaque staff). Read-only. Reading it with an API key is an Enterprise feature.'
paths:
/audit/events:
get:
operationId: listAuditEvents
summary: Read the workspace's activity log
description: 'Who changed what in this workspace, newest first: API keys, members, billing, tests and
their schedules, phone numbers, alert rules and more. Entries hold ids, not names.
WHO MAY READ IT. With an API key: Enterprise workspaces only, and the key must carry
the `audit:read` scope by name (`audit:*` also works; a key with full access, `*`, does
not include it, and a key with no scopes is refused). The key reads what the role of
the person who created it may read: an owner''s or admin''s key reads every category, a
billing admin''s key reads `billing` only. In the app: owners, admins and billing
admins.
HOW FAR BACK. The plan''s window (`window` in the response). Older entries are not
returned.
api-key gateway: use `x-api-key: nq_...`.'
tags:
- Audit
security:
- apiKey: []
- cognitoBearer: []
parameters:
- in: query
name: category
schema:
type: string
enum:
- access
- keys
- billing
- workspace
- testing
- numbers
- assistant
description: Only this category.
- in: query
name: action
schema:
type: string
description: Only this action, e.g. `api_key.created`.
- in: query
name: actor
schema:
type: string
description: Only actions by this user id or API key id.
- in: query
name: target
schema:
type: string
description: Only actions on this record, as `type:id`, e.g. `test:3f2a...`.
- in: query
name: from
schema:
type: string
format: date-time
description: Start of the range. Earlier than the plan's window counts as the window's start.
- in: query
name: to
schema:
type: string
format: date-time
description: End of the range. A date alone means the whole of that day.
- in: query
name: cursor
schema:
type: string
description: '`nextCursor` from the previous page. Send `from` = the previous `window.from` with it.'
- in: query
name: limit
schema:
type: integer
minimum: 1
maximum: 100
description: Entries per page, at most 100.
responses:
'200':
description: A page of the activity log.
content:
application/json:
schema:
$ref: '#/components/schemas/AuditEventsPage'
'400':
description: A bad query.
content:
application/json:
schema:
type: object
properties:
error:
type: string
'401':
description: Missing or invalid credential.
'403':
description: 'Not allowed: the workspace is not on Enterprise (with a key), the key lacks
`audit:read`, or the role (the key''s creator''s role, for a key) cannot read the log
or the category asked for.
'
content:
application/json:
schema:
type: object
properties:
error:
type: string
'502':
description: The activity log could not be read. Try again.
'503':
description: The caller's role (or, for a key, the plan) could not be read. Try again.
servers:
- url: https://api.nopaque.co.uk
description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`
header on every request. Workspace-scoped operations are isolated to the workspace the API
key was created in.
'
- url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set
`Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool
sign-in. NOTE: this gateway does NOT have a custom domain today.
'
components:
schemas:
AuditEventsPage:
type: object
required:
- entries
- window
- windowApplied
properties:
entries:
type: array
items:
$ref: '#/components/schemas/AuditLogEntry'
nextCursor:
type: string
description: Pass back as `cursor`, with `from` set to `window.from`, for the next page.
window:
type: object
required:
- days
- from
description: How far back the workspace's plan shows the log.
properties:
days:
type: integer
example: 395
from:
type: string
format: date-time
windowApplied:
type: boolean
description: True when the plan's window set the start of the range.
AuditLogEntry:
type: object
description: 'One action in the activity log. Entries hold ids, never names: look a person up by
their user id, a key by its id. A nopaque staff actor has no `id`, and neither does a
target that is a member of nopaque staff.
'
required:
- id
- action
- category
- workspaceId
- actor
- via
- target
- details
- startedAt
- outcome
properties:
id:
type: string
description: The action's id.
action:
type: string
description: What happened, e.g. `api_key.created`, `test.updated`, `number.ordered`.
example: test.updated
category:
type: string
enum:
- access
- keys
- billing
- workspace
- testing
- numbers
- assistant
workspaceId:
type: string
nullable: true
actor:
type: object
required:
- type
properties:
type:
type: string
enum:
- user
- staff
- api_key
- system
id:
type: string
description: A user id, an API key id, or a system name. Absent for nopaque staff.
via:
type: string
enum:
- app
- api_key
- mcp
- quinn
- platform_manager
- stripe
- system
description: How the action was taken.
target:
type: object
required:
- type
properties:
type:
type: string
description: What was acted on, e.g. `workspace`, `member`, `api_key`, `test`, `number`.
id:
type: string
description: The record's id. Never a phone number or an email address.
details:
type: object
description: 'A few fields that depend on the action: ids, values from a fixed list, counts and
booleans (and lists of codes). Never free text.
'
additionalProperties:
oneOf:
- type: string
- type: number
- type: boolean
- type: array
items:
type: string
startedAt:
type: string
format: date-time
finishedAt:
type: string
format: date-time
description: When the result arrived. Absent while pending or not recorded.
outcome:
type: string
enum:
- success
- failure
- refused
- pending
- not_recorded
securitySchemes:
apiKey:
type: apiKey
in: header
name: x-api-key
description: 'Workspace-scoped API key. Create via `POST /workspaces/{workspaceId}/api-keys`
(on the auth gateway). Rate-limited per workspace tier.
'
cognitoBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Cognito-issued JWT bearer token. Used by the first-party web app; not typically
used by external integrators (use `apiKey` instead).
'
x-refined-from:
- nopaque-co-uk-openapi.json
- nopaque-co-uk-openapi.json
x-provenance:
method: harvested
publisher: Nopaque Limited
source: https://www.nopaque.co.uk/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)