The Art of Service Readiness API

The readiness API from The Art of Service — 12 operation(s) for readiness.

GitHub OpenAPI

Operations 12

POST /api/readiness/start Start Readiness #
POST /api/readiness/submit Submit Answers #
POST /api/readiness/checkout Readiness Checkout #
GET /api/readiness/report/{session_id} Download Report #
GET /api/readiness/session/{session_id} Get Session Status #
POST /api/readiness/analyze-document Analyze Document #
GET /api/readiness/analysis/{session_id} Get Analysis #
GET /api/readiness/analysis/{session_id}/pdf Download Analysis Pdf #
POST /api/readiness/analysis/{session_id}/rewrite Rewrite Document #
GET /api/readiness/analysis/{session_id}/rewrite/pdf Download Rewrite Pdf #
GET /api/readiness/analysis/{session_id}/rewrite/docx Download Rewrite Docx #
GET /api/readiness/analysis/{session_id}/rewrite/text Download Rewrite Text #

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/theartofservice-com:theartofservice-com-readiness-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

theartofservice-com-readiness-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheArtOfService Knowledge Graph Compliance Platform…
  version: 1.0.0
tags:
- name: Readiness
paths:
  /api/readiness/start:
    post:
      tags:
      - Readiness
      summary: Start Readiness
      description: Start a readiness assessment session. Returns questions to answer.
      operationId: start_readiness_api_readiness_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/submit:
    post:
      tags:
      - Readiness
      summary: Submit Answers
      description: Submit answers and get scored results (preview).
      operationId: submit_answers_api_readiness_submit_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/checkout:
    post:
      tags:
      - Readiness
      summary: Readiness Checkout
      description: Create a Stripe one-time payment session for the readiness report.
      operationId: readiness_checkout_api_readiness_checkout_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api__routes__readiness_routes__CheckoutRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/report/{session_id}:
    get:
      tags:
      - Readiness
      summary: Download Report
      description: Download the readiness report PDF. Only available after payment.
      operationId: download_report_api_readiness_report__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/session/{session_id}:
    get:
      tags:
      - Readiness
      summary: Get Session Status
      description: Check session status (paid, scores available, etc.).
      operationId: get_session_status_api_readiness_session__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analyze-document:
    post:
      tags:
      - Readiness
      summary: Analyze Document
      description: 'Upload a PDF/DOCX policy document and get AI gap analysis against a framework.


        Open to Professional tier subscribers, OR to anyone holding a single-use token from a

        paid Single Document Compliance Review.


        The token is an alternative proof of entitlement, not a bypass. Without either, the

        caller gets the same tier error as before. This exists because the $499 SKU sells

        exactly this deliverable and was being fulfilled by hand, while the automated version

        of it sat behind a $149/month subscription.'
      operationId: analyze_document_api_readiness_analyze_document_post
      parameters:
      - name: framework
        in: query
        required: true
        schema:
          type: string
          title: Framework
      - name: review_token
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Review Token
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_analyze_document_api_readiness_analyze_document_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analysis/{session_id}:
    get:
      tags:
      - Readiness
      summary: Get Analysis
      description: Retrieve cached document analysis results.
      operationId: get_analysis_api_readiness_analysis__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analysis/{session_id}/pdf:
    get:
      tags:
      - Readiness
      summary: Download Analysis Pdf
      description: Download gap analysis results as a PDF report.
      operationId: download_analysis_pdf_api_readiness_analysis__session_id__pdf_get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analysis/{session_id}/rewrite:
    post:
      tags:
      - Readiness
      summary: Rewrite Document
      description: 'Rewrite the uploaded document to address the gaps the analysis found.


        Produces draft policy language for each gap control. It does not make the organisation

        compliant and does not say that it does: this description is published in the OpenAPI

        schema, so it is a claim made directly to every agent that reads the spec.'
      operationId: rewrite_document_api_readiness_analysis__session_id__rewrite_post
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analysis/{session_id}/rewrite/pdf:
    get:
      tags:
      - Readiness
      summary: Download Rewrite Pdf
      description: Download rewritten document as PDF.
      operationId: download_rewrite_pdf_api_readiness_analysis__session_id__rewrite_pdf_get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analysis/{session_id}/rewrite/docx:
    get:
      tags:
      - Readiness
      summary: Download Rewrite Docx
      description: Download rewritten document as DOCX.
      operationId: download_rewrite_docx_api_readiness_analysis__session_id__rewrite_docx_get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/readiness/analysis/{session_id}/rewrite/text:
    get:
      tags:
      - Readiness
      summary: Download Rewrite Text
      description: Download rewritten document as plain text.
      operationId: download_rewrite_text_api_readiness_analysis__session_id__rewrite_text_get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SubmitRequest:
      properties:
        session_id:
          type: string
          title: Session Id
        answers:
          additionalProperties:
            type: integer
          type: object
          title: Answers
      type: object
      required:
      - session_id
      - answers
      title: SubmitRequest
    StartResponse:
      properties:
        session_id:
          type: string
          title: Session Id
        framework:
          type: string
          title: Framework
        questions:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Questions
        question_count:
          type: integer
          title: Question Count
      type: object
      required:
      - session_id
      - framework
      - questions
      - question_count
      title: StartResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    StartRequest:
      properties:
        framework:
          type: string
          title: Framework
        email:
          type: string
          format: email
          title: Email
        name:
          type: string
          title: Name
          default: ''
        org_name:
          type: string
          title: Org Name
          default: ''
        utm_source:
          type: string
          title: Utm Source
          default: ''
        utm_medium:
          type: string
          title: Utm Medium
          default: ''
        utm_campaign:
          type: string
          title: Utm Campaign
          default: ''
        utm_content:
          type: string
          title: Utm Content
          default: ''
        utm_term:
          type: string
          title: Utm Term
          default: ''
        referrer:
          type: string
          title: Referrer
          default: ''
      type: object
      required:
      - framework
      - email
      title: StartRequest
    api__routes__readiness_routes__CheckoutRequest:
      properties:
        session_id:
          type: string
          title: Session Id
        tier:
          type: string
          title: Tier
          default: basic
      type: object
      required:
      - session_id
      title: CheckoutRequest
    Body_analyze_document_api_readiness_analyze_document_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_analyze_document_api_readiness_analyze_document_post
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer