tektolo-com rules history API

The rules history API from tektolo-com — 4 operation(s) for rules history.

Operations 4

GET /v1/rules/history Every value a rule has had #
GET /v1/rules/changes What changed since a date #
GET /v1/rules/cites Every rule citing a source #
GET /v1/rules/as-of What we said on a date about the law on another #

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/tektolo-com:tektolo-com-rules-history-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

tektolo-com-rules-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tektolo Capabilities rules history API
  summary: 'Source-cited capabilities for humans, developers and agents: the same findings under the same ruleset always give the same answer.'
  description: 'Rules-based tools for the US rental move-out. Property turnover prices the make-ready work from inspection findings, scaled to the ZIP code''s labor market. Deposit settlement applies each state''s security deposit statute (and covered cities'' ordinances): the return deadline, each deduction assessed, interest, the refund and a draft itemized statement. Every result carries its citations, assumptions and the ruleset version that produced it. No account is needed. The same operations are MCP tools at /mcp/rental-property, and /catalog.json lists each one with its schemas and examples.'
  termsOfService: https://tektolo.com/terms
  contact:
    name: Tektolo
    url: https://tektolo.com/contact
    email: hello@tektolo.com
  version: 0.1.0
servers:
- url: https://tektolo.com
tags:
- name: rules history
paths:
  /v1/rules/history:
    get:
      tags:
      - rules history
      summary: Every value a rule has had
      description: 'Each distinct value of the rule (or of every rule under the prefix), oldest first,

        with the ruleset version that brought it, the commit and the dates it held

        (``known_until`` null means it still holds), and that version''s changelog summary.'
      operationId: rule_history_v1_rules_history_get
      parameters:
      - name: rule
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          description: A rule ID (deposit-settlement/states/CA#return) or a prefix of one (deposit-settlement/states/CA covers every rule area of California's row).
          title: Rule
        description: A rule ID (deposit-settlement/states/CA#return) or a prefix of one (deposit-settlement/states/CA covers every rule area of California's row).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/rules/changes:
    get:
      tags:
      - rules history
      summary: What changed since a date
      description: 'Rules added, changed or removed on or after ``since``, one item per ruleset version,

        oldest first. The first version indexed is the starting point, not a change.'
      operationId: rule_changes_v1_rules_changes_get
      parameters:
      - name: since
        in: query
        required: true
        schema:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
          description: The first day to include (YYYY-MM-DD).
          title: Since
        description: The first day to include (YYYY-MM-DD).
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^[A-Za-z]{2}$
          - type: 'null'
          description: A two-letter state code. Rules that apply in every state are included and marked all_states.
          title: State
        description: A two-letter state code. Rules that apply in every state are included and marked all_states.
      - name: capability
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 80
          - type: 'null'
          description: A ruleset id (deposit-settlement) or capability.
          title: Capability
        description: A ruleset id (deposit-settlement) or capability.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/rules/cites:
    get:
      tags:
      - rules history
      summary: Every rule citing a source
      description: The rules that cite a statute or other source, as the rules stand now.
      operationId: rule_cites_v1_rules_cites_get
      parameters:
      - name: source
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          description: A source id (ca.civ.1950.5) or a fragment of its id or URL (1950.5, leginfo.legislature.ca.gov).
          title: Source
        description: A source id (ca.civ.1950.5) or a fragment of its id or URL (1950.5, leginfo.legislature.ca.gov).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/rules/as-of:
    get:
      tags:
      - rules history
      summary: What we said on a date about the law on another
      description: 'The ruleset we served at ``known`` and the rule''s value in it; with ``valid``, also

        the dated version of the rule in force that day (from the rule''s amendment history).

        ``ruleset`` is null when nothing indexed was served at ``known``.'
      operationId: rule_as_of_v1_rules_as_of_get
      parameters:
      - name: rule
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 200
          description: A rule ID (deposit-settlement/states/CA#return) or a prefix of one (deposit-settlement/states/CA covers every rule area of California's row).
          title: Rule
        description: A rule ID (deposit-settlement/states/CA#return) or a prefix of one (deposit-settlement/states/CA covers every rule area of California's row).
      - name: known
        in: query
        required: true
        schema:
          type: string
          maxLength: 40
          description: 'When we answered: a date (the end of that day, UTC) or an ISO time.'
          title: Known
        description: 'When we answered: a date (the end of that day, UTC) or an ISO time.'
      - name: valid
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          - type: 'null'
          description: The day the law applied to (YYYY-MM-DD).
          title: Valid
        description: The day the law applied to (YYYY-MM-DD).
      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
    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