The Art of Service Agent API

The agent-api API from The Art of Service — 20 operation(s) for agent-api.

GitHub OpenAPI

Operations 20

GET /api/agent/frameworks Search and list compliance frameworks #
GET /api/agent/frameworks/{name} Get detailed information about a compliance framework #
GET /api/agent/frameworks/{name}/controls Get all controls for a compliance framework #
GET /api/agent/framework-controls Get all controls for a framework, naming it as a query parameter #
GET /api/agent/controls/{code} Get detailed information about a specific control #
GET /api/agent/controls/{code}/cross-references Get cross-framework mappings for a control #
GET /api/agent/cross-map Map controls between two compliance frameworks #
GET /api/agent/coverage/{name} Get cross-framework coverage report for a framework #
GET /api/agent/stats Get platform statistics #
GET /api/agent/pricing Get API pricing and rate limit information #
GET /api/agent/crosswalk What one framework already evidences of another #
GET /api/agent/crosswalk/provenance How do you know this: the grounding behind a crosswalk's claims #
GET /api/agent/crosswalk/pair Everything about one crosswalk pair, including what was rejected #
GET /api/agent/crosswalk/refuted What was claimed and did not hold, with the reason #
GET /api/agent/crosswalk/combined What everything you already hold covers, together #
POST /api/agent/crosswalk/buy Get a checkout link for a crosswalk report #
POST /api/agent/review/buy Get a checkout link for a single document compliance review #
GET /api/agent/crosswalk/pairs Framework pairs with a released coverage crosswalk #
GET /api/agent/.well-known/x402 Discover which endpoints are priced, and at what #

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-agent-api-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-agent-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheArtOfService Knowledge Graph Compliance Platform Agent…
  version: 1.0.0
tags:
- name: agent-api
paths:
  /api/agent/frameworks:
    get:
      tags:
      - agent-api
      summary: Search and list compliance frameworks
      description: Search the compliance knowledge graph for frameworks by name, keyword, or jurisdiction. Returns framework metadata including name, description, jurisdiction, domain count, control count, and mapping-partner count. Without a query, returns all frameworks. Use this as the starting point to discover available frameworks.
      operationId: agent_search_frameworks
      parameters:
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search query to filter by name or keyword (e.g. 'ISO 27001', 'privacy', 'Australian')
          title: Q
        description: Search query to filter by name or keyword (e.g. 'ISO 27001', 'privacy', 'Australian')
      - name: jurisdiction
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by jurisdiction (e.g. 'International', 'Australia', 'United States', 'European Union')
          title: Jurisdiction
        description: Filter by jurisdiction (e.g. 'International', 'Australia', 'United States', 'European Union')
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          description: Maximum frameworks to return
          default: 50
          title: Limit
        description: Maximum frameworks to return
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          description: How many to skip, for paging through the whole catalogue. The limit caps at 200, so an agent that wants every framework pages with offset=0, 200, 400 until it gets fewer than it asked for.
          default: 0
          title: Offset
        description: How many to skip, for paging through the whole catalogue. The limit caps at 200, so an agent that wants every framework pages with offset=0, 200, 400 until it gets fewer than it asked for.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/frameworks/{name}:
    get:
      tags:
      - agent-api
      summary: Get detailed information about a compliance framework
      description: 'Returns comprehensive details about a specific compliance framework: description, jurisdiction, version, domains with control counts, and cross-framework mapping statistics. Use the exact framework name as returned by agent_search_frameworks.'
      operationId: agent_get_framework
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/frameworks/{name}/controls:
    get:
      tags:
      - agent-api
      summary: Get all controls for a compliance framework
      description: 'Returns all controls belonging to a framework, optionally filtered by domain. Each control includes: code, title, description, and domain. For large frameworks (e.g. NIST SP 800-53 Rev 5), use the domain filter to narrow results.'
      operationId: agent_get_framework_controls
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: domain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter controls by domain name
          title: Domain
        description: Filter controls by domain name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/framework-controls:
    get:
      tags:
      - agent-api
      summary: Get all controls for a framework, naming it as a query parameter
      description: 'Identical to agent_get_framework_controls, taking the framework name as a query parameter instead of a path segment.


        Use this whenever the framework name contains a forward slash. 84 of the frameworks in the graph do, including CCPA/CPRA, AML/CTF Act 2006 and BSA/AML, and the path form cannot reach any of them: the server decodes %2F back to a real separator before routing, so the request 404s no matter how it is encoded. This route has no such problem and works for every framework.


        Free, no authentication.'
      operationId: agent_get_framework_controls_by_name
      parameters:
      - name: name
        in: query
        required: true
        schema:
          type: string
          description: Exact framework name, e.g. 'CCPA/CPRA'
          title: Name
        description: Exact framework name, e.g. 'CCPA/CPRA'
      - name: domain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter controls by domain name
          title: Domain
        description: Filter controls by domain name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/controls/{code}:
    get:
      tags:
      - agent-api
      summary: Get detailed information about a specific control
      description: 'Returns full details for a single control by its code identifier: title, description, domain, and framework. Control codes are framework-specific (e.g. ''A.5.1'' for ISO 27001, ''AC-1'' for NIST 800-53).'
      operationId: agent_get_control
      parameters:
      - name: code
        in: path
        required: true
        schema:
          type: string
          title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/controls/{code}/cross-references:
    get:
      tags:
      - agent-api
      summary: Get cross-framework mappings for a control
      description: 'Returns all controls in other frameworks that map to the given control via MAPS_TO relationships. This is the core cross-framework mapping capability: use it to find equivalent controls across different compliance frameworks (e.g. NIST 800-53 equivalents of ISO 27001 controls).'
      operationId: agent_get_control_cross_references
      parameters:
      - name: code
        in: path
        required: true
        schema:
          type: string
          title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/cross-map:
    get:
      tags:
      - agent-api
      summary: Map controls between two compliance frameworks
      description: 'PAID PER CALL, $0.015 over x402 (USDC on Base); a Professional API key is served free instead. Free without payment or key: agent_crosswalk_pairs, agent_search_frameworks. Returns the complete control-to-control mapping between a source and target framework. Each mapping shows which source control maps to which target control(s). This enables multi-framework compliance: satisfy one control to cover requirements in both frameworks. Use exact framework names as returned by agent_search_frameworks.'
      operationId: agent_cross_framework_map
      security:
      - HTTPBearer: []
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
          description: Source framework name (e.g. 'ISO 27001:2022')
          title: Source
        description: Source framework name (e.g. 'ISO 27001:2022')
      - name: target
        in: query
        required: true
        schema:
          type: string
          description: Target framework name (e.g. 'NIST Cybersecurity Framework 2.0')
          title: Target
        description: Target framework name (e.g. 'NIST Cybersecurity Framework 2.0')
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/coverage/{name}:
    get:
      tags:
      - agent-api
      summary: Get cross-framework coverage report for a framework
      description: 'PAID PER CALL, $0.015 over x402 (USDC on Base); a Professional API key is served free instead. Free without payment or key: agent_crosswalk_pairs, agent_search_frameworks. Returns a coverage analysis showing how many controls in the given framework map to controls in every other framework. Includes total controls, mapped control counts, and coverage percentages per target framework. Use this to understand which frameworks overlap most and plan multi-framework strategies.'
      operationId: agent_coverage_report
      security:
      - HTTPBearer: []
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/search:
    post:
      tags:
      - agent-api
      summary: Full-text search across controls and frameworks
      description: Search the compliance knowledge graph using full-text search. Type 'controls' searches control titles and descriptions. Type 'frameworks' searches framework names and descriptions. Use specific compliance terms for best results (e.g. 'access control', 'encryption at rest', 'data breach notification').
      operationId: agent_search
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/api__routes__agent_routes__SearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/stats:
    get:
      tags:
      - agent-api
      summary: Get platform statistics
      description: 'Returns current platform statistics: total framework count, control count, cross-framework mapping count, and domain count. No authentication required.'
      operationId: agent_platform_stats
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/agent/pricing:
    get:
      tags:
      - agent-api
      summary: Get API pricing and rate limit information
      description: Returns current API pricing tiers, monthly call limits, and (if authenticated) your current month's usage. Use this to understand costs before making API calls.
      operationId: agent_pricing_info
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/agent/crosswalk:
    get:
      tags:
      - agent-api
      summary: What one framework already evidences of another
      description: 'Given a framework you already hold and one you are working toward, returns which of the target''s controls your existing evidence already covers, which remain as gaps, and the reasoning for every claim.


        Example: source=''SOC 2'', target=''ISO 27001:2022''.


        Mappings are derived judgements, not text lifted from either standard, and each has survived an adversarial verification pass. Where no mappings exist between the pair, the response says so explicitly rather than reporting zero coverage, because an absence of data is not a coverage of zero.


        PAID PER CALL, $0.015 over x402 (USDC on Base). Called without payment it answers 402 with a PAYMENT-REQUIRED challenge carrying the amount, asset and address; a Professional API key is served free instead. Free without payment or key: agent_crosswalk_pairs lists every released pair, agent_search_frameworks and agent_get_framework cover the catalogue.'
      operationId: agent_coverage_crosswalk
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
          description: Framework you already hold, e.g. 'SOC 2'
          title: Source
        description: Framework you already hold, e.g. 'SOC 2'
      - name: target
        in: query
        required: true
        schema:
          type: string
          description: Framework you are working toward, e.g. 'ISO 27001:2022'
          title: Target
        description: Framework you are working toward, e.g. 'ISO 27001:2022'
      - name: min_confidence
        in: query
        required: false
        schema:
          type: string
          description: high, medium or low
          default: high
          title: Min Confidence
        description: high, medium or low
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/crosswalk/provenance:
    get:
      tags:
      - agent-api
      summary: 'How do you know this: the grounding behind a crosswalk''s claims'
      description: 'For any released framework pair, return the reasoning and the provenance behind its mappings: what document each control was verified against, when, who judged the mapping, on what date, and whether it survived an adversarial pass that argued against it.


        PAID PER CALL, $0.015 over x402 (USDC on Base); a Professional API key is served free instead. A claim you cannot check is worth nothing, so the checking is not the paid part.'
      operationId: agent_crosswalk_provenance
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
          title: Source
      - name: target
        in: query
        required: true
        schema:
          type: string
          title: Target
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 25
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/crosswalk/pair:
    get:
      tags:
      - agent-api
      summary: Everything about one crosswalk pair, including what was rejected
      description: 'One framework pair in full: the coverage percentage and how it was arrived at, a sample of the claims that held with the reasoning behind each, and a sample of the claims that were proposed and refuted with the reason each failed.


        The rejected claims are part of the answer, not an appendix. A coverage number quoted without them is a number nobody argued with.


        PAID PER CALL, $0.015 over x402 (USDC on Base). Called without payment it answers 402 with a PAYMENT-REQUIRED challenge carrying the amount, asset and address; a Professional API key is served free instead. Free without payment or key: agent_crosswalk_pairs lists every released pair, agent_search_frameworks and agent_get_framework cover the catalogue.'
      operationId: agent_crosswalk_pair
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
          title: Source
      - name: target
        in: query
        required: true
        schema:
          type: string
          title: Target
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 8
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/crosswalk/refuted:
    get:
      tags:
      - agent-api
      summary: What was claimed and did not hold, with the reason
      description: 'PAID PER CALL, $0.015 over x402 (USDC on Base); a Professional API key is served free instead. Free without payment or key: agent_crosswalk_pairs, agent_search_frameworks. The mappings that were proposed for a pair and then refuted, each with why it failed. Refuted mappings are kept in the graph rather than deleted, so what was rejected is as inspectable as what survived.


        This is the check worth running on any coverage claim: a crosswalk that never rejects anything is not being judged.'
      operationId: agent_crosswalk_refuted
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
          title: Source
      - name: target
        in: query
        required: true
        schema:
          type: string
          title: Target
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 25
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/crosswalk/combined:
    get:
      tags:
      - agent-api
      summary: What everything you already hold covers, together
      description: 'PAID PER CALL, $0.015 over x402 (USDC on Base); a Professional API key is served free instead. Free without payment or key: agent_crosswalk_pairs, agent_search_frameworks. Give the frameworks an organisation already holds and one it needs. Returns what they cover TOGETHER, what each one adds that the others do not, and what none of them reaches.


        No organisation holds one certification, and the marginal number is the one worth knowing: a second and third certification often add far less than expected.'
      operationId: agent_combined_coverage
      parameters:
      - name: holds
        in: query
        required: true
        schema:
          type: string
          title: Holds
      - name: target
        in: query
        required: true
        schema:
          type: string
          title: Target
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/crosswalk/buy:
    post:
      tags:
      - agent-api
      summary: Get a checkout link for a crosswalk report
      description: 'Returns a payment link for the crosswalk between two frameworks. Released pairs are delivered immediately on payment; any other pair is built to order at the same price.


        This returns a LINK, it does not take payment. An agent hands the link to whoever it is acting for. No card details pass through the agent.'
      operationId: agent_buy_crosswalk
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/review/buy:
    post:
      tags:
      - agent-api
      summary: Get a checkout link for a single document compliance review
      description: 'Returns a payment link for a Single Document Compliance Review against one framework. On payment the buyer is emailed a single-use link that opens the same automated pipeline a Professional subscriber uses: upload one PDF or Word document, get back a gap analysis naming every control the document addresses and every one it does not, and a rewritten version drafted against those gaps.


        This returns a LINK, it does not take payment. An agent hands the link to whoever it is acting for. No card details pass through the agent.


        It produces draft policy language and a gap list. It does not make anyone compliant, and no tool can: that judgement is an assessor''s.'
      operationId: agent_buy_review
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Body
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/agent/crosswalk/pairs:
    get:
      tags:
      - agent-api
      summary: Framework pairs with a released coverage crosswalk
      description: 'Lists the framework pairs that have a reviewed, signed-off coverage crosswalk, with the coverage figure for each. Call this before agent_coverage_crosswalk to find out which pairs return a number.


        A pair that is not listed here has not been through review. Asking for it returns an honest ''not released'' rather than an unreviewed percentage. Any pair across the any framework pair in the graph can be built to order, one pair being one unit of work.


        No authentication required.'
      operationId: agent_list_crosswalk_pairs
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/agent/.well-known/x402:
    get:
      tags:
      - agent-api
      summary: Discover which endpoints are priced, and at what
      description: Machine-readable list of the metered resources on this API, their price and the payment rail. An agent that can pay should read this rather than discovering the price by being refused. Free, no authentication.
      operationId: agent_x402_discovery
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    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
    api__routes__agent_routes__SearchRequest:
      properties:
        query:
          type: string
          title: Query
          description: Search query (e.g. 'access control', 'encryption at rest')
        type:
          type: string
          title: Type
          description: 'Search type: ''controls'' for control titles/descriptions, ''frameworks'' for framework names/descriptions'
          default: controls
        limit:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Limit
          description: Maximum results to return
          default: 20
      type: object
      required:
      - query
      title: SearchRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer