Nopaque Limited Comments API

Comments on jobs: start a thread about a run (optionally anchored to a turn or to quoted text from its transcript), reply in it, list the workspace's recent threads, and read every thread on one job. In-app only (a signed-in person's token) — there is no API key route yet.

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 5

GET /comments List this workspace's recent comment threads #
POST /comments Start a comment thread on a job #
GET /comments/targets/{jobType}/{targetId} Every comment thread on one job #
GET /comments/{threadId} One comment thread #
POST /comments/{threadId}/replies Reply to a comment thread #

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-comments-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-comments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nopaque Co Uk Comments 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 Comments 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: Comments
  description: 'Comments on jobs: start a thread about a run (optionally anchored to a turn or to

    quoted text from its transcript), reply in it, list the workspace''s recent threads, and

    read every thread on one job. In-app only (a signed-in person''s token) — there is no

    API key route yet.'
paths:
  /comments:
    get:
      operationId: listRecentCommentThreads
      summary: List this workspace's recent comment threads
      description: 'The caller''s workspace''s threads, most recent activity first. Each carries its first

        comment and its reply count; read one thread for its replies.


        PAGING. Send `nextCursor` back as `cursor` for the next page. The cursor is opaque.'
      tags:
      - Comments
      security:
      - cognitoBearer: []
      parameters:
      - in: query
        name: limit
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 20
        description: Threads per page. Above 50 is clamped to 50; zero, negative and non-integer values are refused.
      - in: query
        name: cursor
        schema:
          type: string
        description: '`nextCursor` from the previous page.'
      responses:
        '200':
          description: A page of threads.
          content:
            application/json:
              schema:
                type: object
                required:
                - threads
                properties:
                  threads:
                    type: array
                    items:
                      $ref: '#/components/schemas/CommentThread'
                  nextCursor:
                    type: string
                    description: Pass back as `cursor`. Absent on the last page.
        '400':
          description: A bad `limit` or a cursor this API did not issue.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credential.
    post:
      operationId: createCommentThread
      summary: Start a comment thread on a job
      description: 'Starts a thread in the caller''s workspace. The run or config is not looked up: a thread

        on an id that names nothing is simply a thread whose link goes nowhere.'
      tags:
      - Comments
      security:
      - cognitoBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - jobType
              - targetKind
              - targetId
              - body
              properties:
                jobType:
                  type: string
                  enum:
                  - mission
                  - standard
                  - mapping
                  - load
                  - sweep
                  - batch
                  - digital
                  - survey
                targetKind:
                  type: string
                  enum:
                  - run
                  - config
                targetId:
                  type: string
                runId:
                  type: string
                configId:
                  type: string
                targetLabel:
                  type: string
                  maxLength: 200
                anchor:
                  $ref: '#/components/schemas/CommentAnchor'
                body:
                  type: string
                  maxLength: 4000
      responses:
        '201':
          description: The new thread.
          content:
            application/json:
              schema:
                type: object
                required:
                - thread
                properties:
                  thread:
                    $ref: '#/components/schemas/CommentThread'
        '400':
          description: A missing or invalid field.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credential.
    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.

        '
  /comments/targets/{jobType}/{targetId}:
    get:
      operationId: listJobCommentThreads
      summary: Every comment thread on one job
      description: 'Every thread on one run or config in the caller''s workspace, oldest first, each with

        all of its replies — the job''s whole conversation. At most 50 threads.'
      tags:
      - Comments
      security:
      - cognitoBearer: []
      parameters:
      - in: path
        name: jobType
        required: true
        schema:
          type: string
          enum:
          - mission
          - standard
          - mapping
          - load
          - sweep
          - batch
          - digital
          - survey
      - in: path
        name: targetId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The job's threads.
          content:
            application/json:
              schema:
                type: object
                required:
                - threads
                properties:
                  threads:
                    type: array
                    items:
                      $ref: '#/components/schemas/CommentThread'
        '400':
          description: An unknown `jobType` or a malformed id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credential.
    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.

        '
  /comments/{threadId}:
    get:
      operationId: getCommentThread
      summary: One comment thread
      description: A thread in the caller's workspace, with every reply in order. Another workspace's thread is a 404, the same as a missing one.
      tags:
      - Comments
      security:
      - cognitoBearer: []
      parameters:
      - in: path
        name: threadId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The thread, with every reply.
          content:
            application/json:
              schema:
                type: object
                required:
                - thread
                properties:
                  thread:
                    $ref: '#/components/schemas/CommentThread'
        '401':
          description: Missing or invalid credential.
        '404':
          description: No such thread in this workspace.
          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.

        '
  /comments/{threadId}/replies:
    post:
      operationId: replyToCommentThread
      summary: Reply to a comment thread
      description: Adds a reply in the caller's workspace and moves the thread to the top of Recent.
      tags:
      - Comments
      security:
      - cognitoBearer: []
      parameters:
      - in: path
        name: threadId
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - body
              properties:
                body:
                  type: string
                  maxLength: 4000
      responses:
        '201':
          description: The reply.
          content:
            application/json:
              schema:
                type: object
                required:
                - comment
                properties:
                  comment:
                    $ref: '#/components/schemas/Comment'
        '400':
          description: A missing or blank `body`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid credential.
        '404':
          description: No such thread in this workspace.
          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:
    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
    Comment:
      type: object
      required:
      - id
      - body
      - authorId
      - createdAt
      properties:
        id:
          type: string
        body:
          type: string
        authorId:
          type: string
          description: The author's user id.
        authorEmail:
          type: string
          description: For display. Absent when the author's token carried no email.
        createdAt:
          type: string
          format: date-time
    CommentAnchor:
      type: object
      description: 'What a thread is about. `job` is the run as a whole; `turn` is one turn of its

        transcript; `selection` is text someone highlighted, copied at create (up to 500

        characters) so the comment still reads right if the transcript is re-processed.

        '
      required:
      - kind
      properties:
        kind:
          type: string
          enum:
          - job
          - turn
          - selection
        turnIndex:
          type: integer
          minimum: 0
          description: Zero-based. Required for `turn`, optional for `selection`.
        role:
          type: string
          maxLength: 32
          description: Who said the turn, as the page labels it.
        quote:
          type: string
          maxLength: 500
          description: Required for `selection`.
    CommentThread:
      type: object
      required:
      - threadId
      - jobType
      - targetKind
      - targetId
      - anchor
      - createdAt
      - lastActivityAt
      - replyCount
      - comments
      properties:
        threadId:
          type: string
        jobType:
          type: string
          enum:
          - mission
          - standard
          - mapping
          - load
          - sweep
          - batch
          - digital
          - survey
          description: The kind of job the thread is on. SMS surveys are `survey`.
        targetKind:
          type: string
          enum:
          - run
          - config
        targetId:
          type: string
          description: The run id, or the config id when `targetKind` is `config`.
        runId:
          type: string
        configId:
          type: string
        targetLabel:
          type: string
          description: The job's name when the thread was started.
        anchor:
          $ref: '#/components/schemas/CommentAnchor'
        createdAt:
          type: string
          format: date-time
        lastActivityAt:
          type: string
          format: date-time
          description: The newest comment's time. Recent is ordered by it.
        replyCount:
          type: integer
          minimum: 0
        comments:
          type: array
          description: The first comment, then each reply in order. A Recent page carries the first only.
          items:
            $ref: '#/components/schemas/Comment'
  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)