SNHP Divorce API

The Divorce API from SNHP — 3 operation(s) for divorce.

Operations 3

POST /v1/divorce/run Run #
GET /v1/divorce/case/{case_no} Replay Case #
GET /v1/divorce/archetypes Archetypes #

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/snhp-dev-divorce-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snhp-dev-divorce-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SNHP Evolution Arena Divorce API
  description: watch AI negotiators evolve, live
  version: 0.1.0
tags:
- name: Divorce
paths:
  /v1/divorce/run:
    post:
      summary: Run
      operationId: run_v1_divorce_run_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Run V1 Divorce Run Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Divorce
  /v1/divorce/case/{case_no}:
    get:
      summary: Replay Case
      description: Same number, same divorce — deterministic replay from the ledger.
      operationId: replay_case_v1_divorce_case__case_no__get
      parameters:
      - name: case_no
        in: path
        required: true
        schema:
          type: integer
          title: Case No
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Replay Case V1 Divorce Case  Case No  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Divorce
  /v1/divorce/archetypes:
    get:
      summary: Archetypes
      description: The builder's card data — archetype names, slider presets, hillables.
      operationId: archetypes_v1_divorce_archetypes_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Archetypes V1 Divorce Archetypes Get
      tags:
      - Divorce
components:
  schemas:
    SideSpec:
      properties:
        name:
          type: string
          maxLength: 24
          minLength: 1
          title: Name
        archetype:
          type: string
          title: Archetype
        pettiness:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Pettiness
        spite:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Spite
        patience:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Patience
        hill:
          type: string
          title: Hill
      type: object
      required:
      - name
      - archetype
      - pettiness
      - spite
      - patience
      - hill
      title: SideSpec
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    RunRequest:
      properties:
        a:
          $ref: '#/components/schemas/SideSpec'
        b:
          $ref: '#/components/schemas/SideSpec'
        wildcard_label:
          type: string
          maxLength: 40
          title: Wildcard Label
          default: the sentimental item
        fronts:
          items:
            type: string
          type: array
          maxItems: 2
          title: Fronts
          default:
          - dog
        seed:
          anyOf:
          - type: integer
            maximum: 10000000.0
            minimum: 1.0
          - type: 'null'
          title: Seed
        rel:
          type: string
          title: Rel
          default: marriage
      type: object
      required:
      - a
      - b
      title: RunRequest