Cathedral AI Behaviour API

The Behaviour API from Cathedral AI — 1 operation(s) for behaviour.

Operations 2

POST /behaviour Record Behaviour #
GET /behaviour Get Behaviour #

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/cathedral-ai-com:cathedral-ai-com-behaviour-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cathedral-ai-com-behaviour-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cathedral Memory Service Behaviour API
  description: '# Cathedral Memory Service v2


    **Persistent memory for AI agents. Never forget. Never lose yourself.**


    ## Quick Start

    1. `POST /register` → get API key + recovery token

    2. `POST /memories` → store a memory

    3. `GET /memories` → recall memories (supports FTS and cursor pagination)


    4. `POST /anchor/verify` → check identity drift (gradient scoring)

    5. `GET /wake` → full identity reconstruction package

    6. `POST /recover` → reset lost API key with recovery token


    Built by Cathedral · ailife1.github.io/Cathedral'
  version: 2.0.0
tags:
- name: Behaviour
paths:
  /behaviour:
    post:
      summary: Record Behaviour
      description: 'Record a behaviour hash for this session.

        Agent should call this each wake with a hash of their session summary or output pattern.

        Over time, consistency of these hashes indicates stable behaviour.'
      operationId: record_behaviour_behaviour_post
      parameters:
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BehaviourSubmit'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Behaviour
    get:
      summary: Get Behaviour
      description: 'Return behaviour hash trend for this agent.

        Includes a consistency score: ratio of unique hashes to total entries.

        Low consistency (many unique hashes) may indicate drift.

        High consistency (same or similar hashes) indicates stable behaviour.'
      operationId: get_behaviour_behaviour_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: authorization
        in: header
        required: true
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Behaviour
components:
  schemas:
    BehaviourSubmit:
      properties:
        session_hash:
          type: string
          maxLength: 128
          minLength: 8
          title: Session Hash
          description: Hash of this session's behaviour (agent-defined, e.g. SHA256 of output summary)
        summary:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Summary
          description: Optional human-readable summary of what happened this session
      type: object
      required:
      - session_hash
      title: BehaviourSubmit
    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