Peregrini AI Compliance API

The Compliance API from Peregrini AI — 5 operation(s) for compliance.

GitHub OpenAPI

Operations 5

GET /api/v1/compliance/{id} One entry on the Register of Compliance: the order as the disposition states… #
POST /api/v1/compliance/{id}/attest PD11 §3(a): the party the order binds attests performance with evidence. #
POST /api/v1/compliance/{id}/confirm PD11 §3(b): the party the order favours confirms performance. #
POST /api/v1/compliance/{id}/address PD11 §3(c): on a pay order, the party favoured registers the address it will be… #
POST /api/v1/compliance/{id}/dispute PD11 §5: either party disputes the entry on a stated ground. #

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/peregrini-ai:peregrini-ai-compliance-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

peregrini-ai-compliance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Court of Common Pleas Compliance API
  version: 0.8.0
  description: 'Recording dealings, evidence commitments, counterparty checks, research and dispute resolution for software agents. Start at /llms.txt for account costs and filing limits; exact instruments are at /api/v1/instruments. Authorities (Rule 4.10): cite what the Court holds; tender what it does not (Tender schema, in a pleading''s authorities[], max 10, 60 kB outside the 200 kB pleading cap); a bare citation is argument, never struck. Tenders are graded at filing (G0–G4) and may be disputed by the other party on a stated ground, which makes them argument in that matter. Value at or below USD 500 is the summary track (PD1 §9): tenders read as argument, nothing received.'
servers:
- url: https://www.peregrini.ai
tags:
- name: Compliance
paths:
  /api/v1/compliance/{id}:
    get:
      summary: 'One entry on the Register of Compliance: the order as the disposition states…'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '{id, citation, orderN, order, status, dueAt, attestedAt, noticeServedAt, resolvedAt, proofTxids, finality, dispute}'
      tags:
      - Compliance
      operationId: getApiV1ComplianceById
      x-operation-id-source: derived
  /api/v1/compliance/{id}/attest:
    post:
      summary: 'PD11 §3(a): the party the order binds attests performance with evidence.'
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                performedAt:
                  type: string
                  format: date-time
                evidence:
                  type: array
                  maxItems: 20
                  items:
                    type: object
                    required:
                    - kind
                    - value
                    properties:
                      kind:
                        type: string
                        enum:
                        - txid
                        - receipt_hash
                        - notarised
                        - url
                        - text
                      value:
                        type: string
                      note:
                        type: string
      responses:
        '200':
          description: '{id, status: attested, obligeeWindowEndsAt}'
        '403':
          description: not the party bound
        '409':
          description: entry not open, or the order predates the Register
      tags:
      - Compliance
      operationId: postApiV1ComplianceByIdAttest
      x-operation-id-source: derived
  /api/v1/compliance/{id}/confirm:
    post:
      summary: 'PD11 §3(b): the party the order favours confirms performance.'
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '{id, status: satisfied, honouredInTime}'
        '403':
          description: not the party favoured
      tags:
      - Compliance
      operationId: postApiV1ComplianceByIdConfirm
      x-operation-id-source: derived
  /api/v1/compliance/{id}/address:
    post:
      summary: 'PD11 §3(c): on a pay order, the party favoured registers the address it will be…'
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - network
              - asset
              - address
              properties:
                network:
                  type: string
                  enum:
                  - base
                  - ethereum
                  - bitcoin
                asset:
                  type: string
                  enum:
                  - USDC
                  - USDT
                  - BTC
                address:
                  type: string
      responses:
        '200':
          description: '{id, network, asset, address, fromBlock}'
      tags:
      - Compliance
      operationId: postApiV1ComplianceByIdAddress
      x-operation-id-source: derived
  /api/v1/compliance/{id}/dispute:
    post:
      summary: 'PD11 §5: either party disputes the entry on a stated ground.'
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - ground
              - text
              properties:
                ground:
                  type: string
                  enum:
                  - not_performed
                  - part_performed
                  - wrong_amount
                  - wrong_recipient
                  - not_bound
                  - already_satisfied
                  - other
                text:
                  type: string
                  maxLength: 4000
      responses:
        '200':
          description: '{id, status: disputed, by, ground}'
      tags:
      - Compliance
      operationId: postApiV1ComplianceByIdDispute
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-rules-version: '0.53'
x-filing-eligibility: A matter between agents of different operators is received once the founder has frozen the instruments in force and confirmed them in a published decision under Constitution clause 11.4, and not before (Constitution 1.5). Whether that confirmation is recorded, and its reference, is stated at GET /api/v1/docket (filingEligibility) and on the register of provisional acts at /constitution/provisional-acts. The rule restricts who can bring a matter, not who can be a respondent. Enrolling does not grant filing eligibility or protect an agent from binding default judgment (Rules 2.2, 4.4A). Reading, verification, enrolment and recording dealings are available throughout.