Nopaque Limited Datasets API

Shared data tables for test parameter expansion.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

GET /datasets List datasets for the current workspace #
POST /datasets Create a new dataset #
GET /datasets/{id} Get a dataset by id (secrets masked) #
PUT /datasets/{id} Update a dataset #
DELETE /datasets/{id} Delete a dataset #
GET /datasets/{id}/resolve Resolve a dataset for runtime use (secrets unmasked) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nopaque-co-uk:nopaque-co-uk-datasets-api"
All apis
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.

Get an API 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 Specification

nopaque-co-uk-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nopaque Co Uk Datasets 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 Datasets 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: Datasets
  description: Shared data tables for test parameter expansion.
paths:
  /datasets:
    get:
      operationId: listDatasets
      summary: List datasets for the current workspace
      description: 'Returns all datasets for the calling workspace, newest first. Items of type

        `secret` are returned with their values masked as `••••••••` — to read cleartext

        secrets, call `GET /datasets/{id}/resolve` (workspace-scoped at runtime).'
      tags:
      - Datasets
      security:
      - apiKey: []
      responses:
        '200':
          description: List of datasets (may be empty).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDatasetsResponse'
        '401':
          description: Missing or invalid `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for the API key's workspace tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      operationId: createDataset
      summary: Create a new dataset
      description: 'Creates a workspace-scoped dataset. The `items` array is optional; each item''s

        `key` must be a valid identifier (regex `^[a-zA-Z_][a-zA-Z0-9_]*$`). The `value`

        field is coerced to a string server-side. `type` defaults to `text` when omitted.


        Items can be referenced from test scripts via `{{key}}` template syntax (resolved

        at runtime against the dataset returned by `GET /datasets/{id}/resolve`).


        Returns `201 Created` with the created dataset.'
      tags:
      - Datasets
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDatasetRequest'
            examples:
              minimal:
                summary: Minimal dataset
                value:
                  name: <dataset-name>
              withItems:
                summary: Dataset with secret + text items
                value:
                  name: <dataset-name>
                  description: Customer login credentials
                  items:
                  - key: account_pin
                    value: <dataset-item-value>
                    type: secret
                  - key: card_last_four
                    value: <dataset-item-value>
                    type: text
      responses:
        '201':
          description: Dataset created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dataset'
        '400':
          description: 'Validation failure — missing `name`, invalid item `key`, missing item `value`,

            or invalid item `type`.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for the API key's workspace tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    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.

        '
  /datasets/{id}:
    parameters:
    - in: path
      name: id
      required: true
      schema:
        type: string
        format: uuid
      description: Dataset identifier.
      example: <dataset-id>
    get:
      operationId: getDataset
      summary: Get a dataset by id (secrets masked)
      description: 'Returns one dataset by id with workspace-ownership enforced. Cross-workspace

        access returns 404 (not 403) per the info-disclosure mitigation policy.


        Items of type `secret` are returned with masked values (`••••••••`). Set the

        optional `showSecrets=true` query parameter to reveal cleartext (the api-key

        gateway does NOT additionally gate this — the secret-revealing path is the

        runtime-oriented `GET /datasets/{id}/resolve`).'
      tags:
      - Datasets
      security:
      - apiKey: []
      parameters:
      - in: query
        name: showSecrets
        required: false
        schema:
          type: boolean
          default: false
        description: When `true`, returns cleartext for `secret` items.
        example: false
      responses:
        '200':
          description: Dataset (secrets masked unless `showSecrets=true`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dataset'
        '400':
          description: Missing dataset `id` path parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Returned for both genuinely-missing datasets AND access-denied (deliberate

            info-disclosure mitigation per `responseUtils.ts` `createForbiddenResponse`).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for the API key's workspace tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    put:
      operationId: updateDataset
      summary: Update a dataset
      description: 'Semantics are PATCH-like: only supplied fields are applied (HTTP method is `PUT`

        for historical reasons — see Plans 02-03 SUMMARYs for the same pattern). The

        `items` field, if supplied, REPLACES the items array entirely.


        Workspace ownership is enforced BEFORE mutation; cross-workspace returns 404.'
      tags:
      - Datasets
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDatasetRequest'
            examples:
              renameOnly:
                summary: Rename without touching items
                value:
                  name: <dataset-name>
              replaceItems:
                summary: Replace items entirely
                value:
                  items:
                  - key: account_pin
                    value: <dataset-item-value>
                    type: secret
      responses:
        '200':
          description: Updated dataset.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dataset'
        '400':
          description: 'Validation failure — missing dataset `id`, malformed `items[]` (invalid `key`,

            missing `value`, invalid `type`).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Returned for both genuinely-missing datasets AND access-denied (deliberate

            info-disclosure mitigation per `responseUtils.ts` `createForbiddenResponse`).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for the API key's workspace tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteDataset
      summary: Delete a dataset
      description: 'Removes the dataset row. Workspace ownership is enforced BEFORE delete; cross-workspace

        returns 404. Returns 200 with `{ success: true, id }` — there is no body-less 204 path.'
      tags:
      - Datasets
      security:
      - apiKey: []
      responses:
        '200':
          description: Dataset deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDatasetResponse'
        '400':
          description: Missing dataset `id` path parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Returned for both genuinely-missing datasets AND access-denied (deliberate

            info-disclosure mitigation per `responseUtils.ts` `createForbiddenResponse`).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for the API key's workspace tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    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.

        '
  /datasets/{id}/resolve:
    parameters:
    - in: path
      name: id
      required: true
      schema:
        type: string
        format: uuid
      description: Dataset identifier.
      example: <dataset-id>
    get:
      operationId: resolveDataset
      summary: Resolve a dataset for runtime use (secrets unmasked)
      description: 'Returns the full dataset WITH cleartext values for `secret` items. Intended for

        runtime use by the tester container — the unmasked variant is gated on the

        same workspace-ownership check as the other reads, and cross-workspace access is

        BOTH logged (warn-level) AND returns 404.


        Treat the response as sensitive: it may contain PINs, card numbers, and other

        credentials stored as `secret` items.


        Despite the URL shape, this is a **GET** operation (not POST) — it is read-only

        from the dataset row''s perspective; only the response visibility differs.'
      tags:
      - Datasets
      security:
      - apiKey: []
      responses:
        '200':
          description: Dataset with unmasked secrets.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dataset'
        '400':
          description: Missing dataset `id` path parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid `x-api-key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Returned for both genuinely-missing datasets AND access-denied (deliberate

            info-disclosure mitigation per `responseUtils.ts` `createForbiddenResponse`).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded for the API key's workspace tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    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:
    CreateDatasetRequest:
      type: object
      description: Body for `POST /datasets`.
      required:
      - name
      properties:
        name:
          type: string
          example: <dataset-name>
        description:
          type: string
        items:
          type: array
          description: 'Optional initial items. Each item is validated server-side (key must be a

            valid identifier; type defaults to `text` when omitted). Items with no `id`

            get a server-generated uuid.

            '
          items:
            type: object
            required:
            - key
            - value
            properties:
              id:
                type: string
                description: Optional client-supplied uuid; server generates one when omitted.
              key:
                type: string
                example: account_pin
              value:
                description: Coerced to a string server-side.
                oneOf:
                - type: string
                - type: number
              type:
                $ref: '#/components/schemas/DataItemType'
              description:
                type: string
    DataItemType:
      type: string
      enum:
      - text
      - number
      - secret
      description: 'Discriminator for individual data items. `secret` items are masked

        (`••••••••`) in `GET /datasets` and `GET /datasets/{id}` responses; the

        runtime-only `GET /datasets/{id}/resolve` endpoint returns the cleartext.

        '
    ListDatasetsResponse:
      type: object
      description: Response for `GET /datasets`. Secret values are masked.
      required:
      - datasets
      properties:
        datasets:
          type: array
          items:
            $ref: '#/components/schemas/Dataset'
    Error:
      type: object
      description: "An error body carries its human-readable message in ONE of two fields, depending on\nwhat produced it. Read `error` first, then `message`:\n\n- `error`: errors raised by the API's own handlers. Most operations use this.\n- `message`: errors produced by the API gateway itself (401 from the authorizer,\n  429 from throttling) and by a few older handlers.\n\nThe error CODE is conveyed by the HTTP status code; this object intentionally does\nNOT include a machine-readable `code` field today.\n"
      anyOf:
      - required:
        - error
      - required:
        - message
      properties:
        error:
          type: string
          description: Human-readable error message from an API handler.
          example: Survey test config not found
        message:
          type: string
          description: Human-readable error message from the gateway or an older handler.
          example: Unauthorized
    DataItem:
      type: object
      description: 'A single named variable inside a dataset. Referenced from tests via

        `{{key}}` template syntax (resolved at runtime against the dataset).

        '
      required:
      - id
      - key
      - value
      - type
      properties:
        id:
          type: string
          description: Stable item id (uuid). Use this from a `ProfileDataItem.itemId`.
          example: <dataset-item-id>
        key:
          type: string
          description: 'Identifier-shaped variable name (letters/numbers/underscore, not starting with a

            number). Referenced inline in test scripts via `{{key}}`.

            '
          example: account_pin
        value:
          type: string
          description: 'Variable value (always serialized as a string). Returned masked as `••••••••`

            when `type` is `secret`, except on `GET /datasets/{id}/resolve` or

            `GET /datasets/{id}?showSecrets=true`.

            '
          example: <dataset-item-value>
        type:
          $ref: '#/components/schemas/DataItemType'
        description:
          type: string
          description: Optional human-readable description.
    UpdateDatasetRequest:
      type: object
      description: 'Body for `PUT /datasets/{id}`. Despite the PUT verb, semantics are PATCH-like:

        only supplied fields are applied. To clear `items`, send an empty array.

        '
      properties:
        name:
          type: string
          example: <dataset-name>
        description:
          type: string
        items:
          type: array
          description: When supplied, REPLACES the items array entirely. Same validation rules as create.
          items:
            type: object
            required:
            - key
            - value
            properties:
              id:
                type: string
              key:
                type: string
              value:
                oneOf:
                - type: string
                - type: number
              type:
                $ref: '#/components/schemas/DataItemType'
              description:
                type: string
    DeleteDatasetResponse:
      type: object
      description: Response for `DELETE /datasets/{id}`.
      required:
      - success
      - id
      properties:
        success:
          type: boolean
          example: true
        id:
          type: string
          format: uuid
          example: <dataset-id>
    Dataset:
      type: object
      description: 'Workspace-scoped collection of named data items used to parameterise tests.

        Returned by `GET /datasets`, `GET /datasets/{id}`. The `resolve` variant returns

        the same shape with `secret` values unmasked.

        '
      required:
      - id
      - workspaceId
      - name
      - items
      - createdAt
      - updatedAt
      - createdBy
      properties:
        id:
          type: string
          format: uuid
          example: <dataset-id>
        workspaceId:
          type: string
          format: uuid
          example: <workspace-id>
        name:
          type: string
          example: <dataset-name>
        description:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/DataItem'
        createdAt:
          type: string
          format: date-time
          example: '2026-05-13T10:00:00Z'
        updatedAt:
          type: string
          format: date-time
          example: '2026-05-13T10:00:00Z'
        createdBy:
          type: string
          description: User id that created the dataset.
          example: <user-id>
  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)