Proxy Mail QA Runs API

The Runs API from Proxy Mail QA — 5 operation(s) for runs.

GitHub OpenAPI

Operations 6

GET /v1/runs List the project’s runs, newest first #
POST /v1/runs Start a run #
GET /v1/runs/{run} Read a run and its evidence #
POST /v1/runs/{run}/notes Add a line of your own to a run #
POST /v1/runs/{run}/tests Add a test result to a run #
POST /v1/runs/{run}/finish Finish a run #

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/proxymail-qa:proxymail-qa-runs-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

proxymail-qa-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Proxy Mail QA Runs API
  version: 1.0.0
  description: 'Create disposable test inboxes and get the verification code or link from the email that arrives, in one call that waits for it. Every request uses an API key, created in Project settings → API keys and sent as `Authorization: Bearer qa_…` or in an `X-API-Key` header; a key works within one project. Codes and links come back on their own: the email’s text and HTML are only returned by /messages when asked for, since they are written by the sender.'
  contact:
    name: Proxy Mail QA
    url: https://proxymail.qa
    email: hello@proxymail.qa
servers:
- url: https://api.proxymail.qa
  description: Proxy Mail QA, for API keys made in Project settings → API keys.
security:
- apiKey: []
- apiKeyHeader: []
tags:
- name: Runs
paths:
  /v1/runs:
    get:
      summary: List the project’s runs, newest first
      operationId: listRuns
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      responses:
        '200':
          description: Runs, without their evidence
          content:
            application/json:
              schema:
                type: object
                properties:
                  runs:
                    type: array
                    items:
                      $ref: '#/components/schemas/Run'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      tags:
      - Runs
    post:
      summary: Start a run
      description: 'Groups a CI job or an agent session as one run, with a report for a pull request. Send its `id` in the `Proxy-Mail-QA-Run` header of later calls and each adds what it saw: addresses made, emails that arrived and how long after `since`, the code, a link''s site and path (never its query or anything that looks like a token), email checks, counts, and emails that never came or came when none should. Then finish it. Runs are kept 90 days, and the project''s people can open them in the app. The GitHub Action (https://proxymail.qa/docs/ci) does all of this for you.'
      operationId: startRun
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 120
                  default: Run
                  example: Sign-up tests
                source:
                  type: string
                  enum:
                  - ci
                  - agent
                  - api
                  description: 'Where it runs. Default: agent for keys from an MCP sign-in, api for the rest.'
                meta:
                  type: object
                  additionalProperties: false
                  properties:
                    repository:
                      type: string
                      maxLength: 200
                      example: acme/web
                    branch:
                      type: string
                      maxLength: 200
                    commit:
                      type: string
                      pattern: ^[0-9a-fA-F]{7,64}$
                      maxLength: 64
                      description: A commit hash.
                    pull_request:
                      type: integer
                      minimum: 1
                    workflow:
                      type: string
                      maxLength: 200
                    job_url:
                      type: string
                      format: uri
                      maxLength: 500
                      description: An https:// link to the job.
                    agent:
                      type: string
                      maxLength: 200
                      example: Claude Code
      responses:
        '201':
          description: The run
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Run'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '413':
          $ref: '#/components/responses/ContentTooLarge'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      tags:
      - Runs
  /v1/runs/{run}:
    get:
      summary: Read a run and its evidence
      description: 'As JSON, or with `format=markdown` the report for a pull request comment or a job summary. Both compare it with the last 10 finished runs of the same name (`comparison` in JSON: how many runs, and a list of changes, each a `kind` and its `text` in parts), and say where the emails it checked would land (`deliverability` in JSON: `checked`, `likely_spam`, `may_spam` and `harmful_attachments`, an estimate from each email''s spam_risk check).'
      operationId: getRun
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
          maxLength: 36
      - name: format
        in: query
        schema:
          type: string
          enum:
          - json
          - markdown
          default: json
      responses:
        '200':
          description: The run
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Run'
            text/markdown:
              schema:
                type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      tags:
      - Runs
  /v1/runs/{run}/notes:
    post:
      summary: Add a line of your own to a run
      description: 'Such as a test that failed for a reason of its own. `failed: true` fails the run.'
      operationId: addRunNote
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
          maxLength: 36
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - text
              properties:
                text:
                  type: string
                  minLength: 1
                  maxLength: 500
                failed:
                  type: boolean
                  default: false
                address:
                  type: string
                  format: email
                  maxLength: 320
      responses:
        '204':
          description: Added
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/ContentTooLarge'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      tags:
      - Runs
  /v1/runs/{run}/tests:
    post:
      summary: Add a test result to a run
      description: 'From a test runner''s reporter: a failed or flaky test (its `name`, `status`, `duration_ms` and the start of its `error`), or the suite''s `totals`. A failed test fails the run. Send failed and flaky tests one by one, then the totals; the report shows the totals at the top and each failed test with what its emails did.'
      operationId: addTestResult
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
          maxLength: 36
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - type: object
                required:
                - name
                - status
                properties:
                  name:
                    type: string
                    maxLength: 200
                  status:
                    type: string
                    enum:
                    - passed
                    - failed
                    - flaky
                    - skipped
                  duration_ms:
                    type: number
                  error:
                    type: string
                    description: Its first three lines are kept, up to 300 characters, without terminal colours.
              - type: object
                required:
                - totals
                properties:
                  totals:
                    type: object
                    properties:
                      passed:
                        type: integer
                        minimum: 0
                        maximum: 1000000
                      failed:
                        type: integer
                        minimum: 0
                        maximum: 1000000
                      skipped:
                        type: integer
                        minimum: 0
                        maximum: 1000000
                      flaky:
                        type: integer
                        minimum: 0
                        maximum: 1000000
      responses:
        '204':
          description: Added
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/ContentTooLarge'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      tags:
      - Runs
  /v1/runs/{run}/finish:
    post:
      summary: Finish a run
      description: 'Passed, unless an email was missing, one came when none should have, an email check failed, a note or a test failed it, or `failed: true` says your tests failed. Finishing a finished run changes nothing.'
      operationId: finishRun
      parameters:
      - name: run
        in: path
        required: true
        schema:
          type: string
          format: uuid
          maxLength: 36
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                failed:
                  type: boolean
                  default: false
      responses:
        '200':
          description: The run
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Run'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/ContentTooLarge'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      tags:
      - Runs
components:
  schemas:
    Run:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        source:
          type: string
          enum:
          - ci
          - agent
          - api
        status:
          type: string
          enum:
          - running
          - passed
          - failed
        meta:
          type: object
        started_at:
          type: string
          format: date-time
        finished_at:
          type:
          - string
          - 'null'
          format: date-time
        url:
          type: string
          format: uri
          description: The run in the app.
        project:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
        events:
          type: array
          description: What the run saw, oldest first. Not in lists.
          items:
            type: object
            properties:
              at:
                type: string
                format: date-time
              kind:
                type: string
                enum:
                - address
                - email
                - missing
                - none
                - count
                - checks
                - note
                - checkout
                - test
                - unsubscribe
                - offers
                - coupon
              address:
                type:
                - string
                - 'null'
              failed:
                type: boolean
              detail:
                type: object
                description: 'email: type, subtype, service, received_at, after_seconds, and code (with a coupon''s discount) or link and goes_to ({ site, path }). missing: what was waited for and hint. none: arrived, since, until, and the email (type, subtype, category). count: count. checks: the email (type, subtype, category), passed, failed, warnings, notes and spam_score. checkout: tags and until. test: name, status, duration_ms and error, or totals. unsubscribe: action, sender and watches. offers: sender, reused and variants (never the codes). coupon: code, result, message, discount_applied and verdict. note: text.'
        deliverability:
          type: object
          description: 'Only in a single run, when it checked any email with spam checks on in Labs: how many emails were checked, how many look likely to be rejected or filed as spam, may go to spam, carry a harmful attachment, and the highest spam score out of 10.'
          properties:
            checked:
              type: integer
            likely_spam:
              type: integer
            may_spam:
              type: integer
            harmful_attachments:
              type: integer
            highest_spam_score:
              type:
              - number
              - 'null'
        comparison:
          type:
          - object
          - 'null'
          description: 'Only in a single run: how it differs from up to 10 finished runs before it with the same name; null without any.'
          properties:
            runs:
              type: integer
              description: How many earlier runs it was compared with.
            changes:
              type: array
              items:
                type: object
                properties:
                  kind:
                    type: string
                    enum:
                    - new_failure
                    - not_run
                    - fixed
                    - slower
                    - count
                    - flaky
                    - new_step
                    - sender
                    - site
                  text:
                    type: array
                    description: Words, { code } for a value, or { quote } for text from an email or client.
                    items: {}
  responses:
    TooManyRequests:
      description: 'Too many requests. With a Retry-After header, a per-minute limit was reached: the key’s requests (60 a minute on Free, 600 on Team), password reveals (30 a minute per person), or keys that aren’t valid from one network (120 a minute). Without one, `error` says which longer limit: `daily_limit`, the space’s new addresses for today (50 on Free), until midnight UTC; `account_held`, 10 addresses a day while a Free account’s recent use is looked at; or `rate_limited` when something is full, such as a project’s 50 custom fields.'
      headers:
        Retry-After:
          description: Seconds to wait before trying again. Sent with per-minute limits only.
          schema:
            type: integer
            minimum: 1
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).
              message:
                type: string
                description: What went wrong and what to do, in words.
    Error:
      description: An error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).
              message:
                type: string
                description: What went wrong and what to do, in words.
    Unauthorized:
      description: 'No API key, or one that isn’t valid: it may have been revoked, or its creator no longer has access to the project.'
      headers:
        WWW-Authenticate:
          description: '`Bearer realm="proxymail-qa"`, with `error="invalid_token"` when a key was sent but isn’t valid.'
          schema:
            type: string
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).
              message:
                type: string
                description: What went wrong and what to do, in words.
    ContentTooLarge:
      description: The request body is over 64 KB, or 256 KB for POST /v1/form-values.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: What went wrong, as a code, such as bad_request (400), unauthorized (401), plan_required (402), forbidden (403), not_found (404), method_not_allowed (405), conflict (409), content_too_large (413), rate_limited, daily_limit or account_held (429), or server_error (500).
              message:
                type: string
                description: What went wrong and what to do, in words.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'An API key: qa_…, sent as `Authorization: Bearer qa_…`.'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: The same API key in an X-API-Key header, for clients that can’t set Authorization. When both are sent, Authorization is used.
externalDocs:
  description: Guide
  url: https://proxymail.qa/docs/api