PromptSwing Assess API

The Assess API from PromptSwing — 1 operation(s) for assess.

GitHub OpenAPI

Operations 1

POST /api/assess Check a site you just built, before you publish it anywhere #

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/promptswing-com:promptswing-com-assess-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

promptswing-com-assess-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PromptSwing public commerce Assess API
  version: 1.0.0
  description: 'Endpoints an agent can call with no client, no account and no authorisation: check a site you have just built before publishing it anywhere, search products across hosted PromptSwing stores, and price an order from one of them. Nothing here creates an account, holds a basket, takes a payment, or keeps anything you send.'
  contact:
    url: https://www.promptswing.com/contact
servers:
- url: https://api.promptswing.com
  description: Production
tags:
- name: Assess
paths:
  /api/assess:
    post:
      operationId: assessSite
      summary: Check a site you just built, before you publish it anywhere
      description: 'Send the files of a site you have built and get back what happens when it goes live: which of the documented signal calls are absent, whether the checkout has policy links, whether contrast pairs fall below the floor, and whether prices are written into the page rather than read from a catalogue.


        **Free. No account, no authorisation, no payment.**


        Nothing is fetched — you send the files, we never retrieve a site. Nothing is published, nothing is provisioned, and **nothing you send is kept**: the files are read to answer this and are stored nowhere, not in a corpus and not as a sample.


        **It is not an opinion on whether the site is good.** PromptSwing does not look at that, and a check that could not run is reported as not-run rather than as a pass. No model composes the verdict.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssessRequest'
      responses:
        '200':
          description: Findings, each marked ok, missing or not_run.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessResult'
        '400':
          description: No files were sent.
        '413':
          description: More than 60 files or 800KB. Nothing was assessed — a partial answer presented as a whole one is not an answer.
        '429':
          description: Too many assessments from one address this hour. Nothing was assessed.
      tags:
      - Assess
components:
  schemas:
    AssessRequest:
      type: object
      required:
      - files
      properties:
        files:
          type: array
          maxItems: 60
          items:
            type: object
            required:
            - path
            - content
            properties:
              path:
                type: string
              content:
                type: string
    AssessResult:
      type: object
      properties:
        looked_at:
          type: integer
        findings:
          type: array
          items:
            type: object
            properties:
              check:
                type: string
              verdict:
                type: string
                enum:
                - ok
                - missing
                - not_run
              detail:
                type: string
              see:
                type: string
        summary:
          type: string
        not_a_quality_verdict:
          type: string
        retained:
          type: boolean
          description: Always false. Your files are not stored.
        hosting:
          type: object
          description: Where a site like this could be hosted and what it costs. A statement, not a finding — it does not change with the results.