Praxikon Diff API

What changed in the knowledge layer between two reference points, per object, with material changes separated from editorial ones.

GitHub OpenAPI

Operations 2

GET /api/v1/diff Compare the knowledge layer between two reference points #
OPTIONS /api/v1/diff CORS preflight for the diff #

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/praxikon-com:praxikon-com-diff-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

praxikon-com-diff-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Praxikon public Diff API
  version: 1.13.1
  summary: Versioned, source-traceable EU AI Act implementation data and GDPR obligations for people and AI agents.
  description: 'This beta API exposes deterministic projections of Praxikon implementation graph. Everything except the two assessment endpoints is read-only.


    It separates official facts, editorial interpretation and recommended actions, and includes transparent review metadata and source citations.


    The graph endpoints (`/api/v1/obligations`, `/api/v1/entities`, `/api/v1/changes`, `/api/v1/search`) serve the EU AI Act implementation graph by default. With `regulation=gdpr` they serve the GDPR obligations graph in the same shape: obligation, action, evidence and source, with the article and paragraph per statement and identifiers under praxikon:eu:gdpr.


    `effective_at` selects the legal applicability snapshot. `known_at` selects Praxikon knowledge cut-off.


    `/api/v1/diff` compares the knowledge layer between two reference points, per object, and separates material changes from editorial ones. It reports how much history has actually been recorded, so an empty diff cannot be misread as a quiet period.


    `/api/v1/impact` walks that one step further for a single dossier: it takes a Regulatory Manifest and a reference point and reports whether what moved touches that manifest, per object with its ground, reason, source and required action. It stores nothing and keeps no subscriptions.


    The assessment endpoints (`/api/v1/implementation-map`, `/api/v1/manifest`, `/api/v1/manifest/validate`) accept a system description and compute a result on the spot. They store nothing: no account, no server-side copy of the answers, no retrievable history. Keeping the result is the caller own responsibility.


    No endpoint generates legal advice. The official source prevails over an editorial summary.'
  termsOfService: https://www.praxikon.com/en/legal/terms
  contact:
    name: Praxikon
    url: https://www.praxikon.com/en/methodologie#corrections
  x-public-access: Free to query without an account in this beta release. Reuse remains governed by the published terms.
  x-status: beta
servers:
- url: https://www.praxikon.com
  description: Public production endpoint
security: []
tags:
- name: Diff
  description: What changed in the knowledge layer between two reference points, per object, with material changes separated from editorial ones.
paths:
  /api/v1/diff:
    get:
      operationId: diffKnowledgeLayer
      summary: Compare the knowledge layer between two reference points
      description: 'Returns what changed between two reference points, per object: the stable identifier, whether it was added, modified or lapsed, which payload fields moved, the payload hash on both sides, and the change event, correction or source the move hangs on.


        Two ways to name the reference points, and exactly one of the two per request. `from_dataset_version` and `to_dataset_version` compare two recorded dataset releases. `from` and `to` compare two `known_at` moments against the current release. There is no default pair: an unpinned diff is not reproducible, so a request without reference points is a 400 rather than a guess.


        Each changed field is classified `material` or `editorial`, the same two values the correction register uses. `material` covers the fields that decide whether, when, by whom and under which conditions a duty must be met: legal status, deadline, conditions, exceptions, the actor relations and the text of an official fact. `editorial` covers wording, presentation, classification, implementation links, source pointers, review metadata and our own reading. This is our editorial rule applied deterministically. It marks the class for which re-assessment is in order; whether re-assessment is needed in your case remains your judgement, and the API states no opinion on it.


        Release-to-release comparison reads a snapshot register that started on 2026-08-13 and currently records one release, so there is not yet a second release to compare against. On the knowledge axis, every published version still carries the same `known_at`, so that axis cannot separate two moments yet either. Both limits are reported in `meta.coverage.limits` on every response, and `data.summary.status` distinguishes "nothing moved" from "we cannot see it".


        With the legal axis held fixed, an object can never lapse: moving `known_at` forward only adds candidate versions. Move `from_effective_at` and `to_effective_at` to see legal lapse.


        JSON only. There is no JSON-LD projection of a diff, and `format=jsonld` returns a 400 rather than a document that is not defined anywhere.'
      tags:
      - Diff
      parameters:
      - $ref: '#/components/parameters/Lang'
      - name: from_dataset_version
        in: query
        required: false
        description: First reference point as a recorded dataset release, for example `1.1.0`. Pair with `to_dataset_version`. A release with no recorded snapshot is a 400 that names the releases that do have one.
        schema:
          type: string
          maxLength: 64
      - name: to_dataset_version
        in: query
        required: false
        description: Second reference point as a recorded dataset release.
        schema:
          type: string
          maxLength: 64
      - name: from
        in: query
        required: false
        description: First reference point as a `known_at` moment. Pair with `to`.
        schema:
          oneOf:
          - type: string
            format: date
            examples:
            - '2026-08-08'
          - type: string
            format: date-time
            examples:
            - '2026-08-08T12:00:00Z'
      - name: to
        in: query
        required: false
        description: Second reference point as a `known_at` moment.
        schema:
          oneOf:
          - type: string
            format: date
            examples:
            - '2026-08-08'
          - type: string
            format: date-time
            examples:
            - '2026-08-08T12:00:00Z'
      - name: effective_at
        in: query
        required: false
        description: Pins the legal axis for both reference points, so the diff shows what our published knowledge did rather than what came into force. Defaults to the dataset default.
        schema:
          oneOf:
          - type: string
            format: date
            examples:
            - '2026-08-08'
          - type: string
            format: date-time
            examples:
            - '2026-08-08T12:00:00Z'
      - name: from_effective_at
        in: query
        required: false
        description: Moves the legal axis of the first reference point away from `effective_at`. Needed to observe legal lapse.
        schema:
          oneOf:
          - type: string
            format: date
            examples:
            - '2026-08-08'
          - type: string
            format: date-time
            examples:
            - '2026-08-08T12:00:00Z'
      - name: to_effective_at
        in: query
        required: false
        description: Moves the legal axis of the second reference point away from `effective_at`.
        schema:
          oneOf:
          - type: string
            format: date
            examples:
            - '2026-08-08'
          - type: string
            format: date-time
            examples:
            - '2026-08-08T12:00:00Z'
      - $ref: '#/components/parameters/EntityType'
      - $ref: '#/components/parameters/Id'
      - name: materiality
        in: query
        required: false
        description: Return only material or only editorial changes. `all` is the default and the same as leaving it out.
        schema:
          type: string
          enum:
          - material
          - editorial
          - all
          default: all
      - name: limit
        in: query
        required: false
        description: Maximum number of changed objects in one page.
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
      - name: offset
        in: query
        required: false
        description: Page offset. The order is fixed (material first, then added before modified before lapsed, then by identifier), so paging is repeatable.
        schema:
          type: integer
          minimum: 0
          default: 0
      responses:
        '200':
          description: The changed objects between the two reference points, with the honest coverage of the recorded history.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiffEnvelope'
        '304':
          $ref: '#/components/responses/NotModified'
        '400':
          $ref: '#/components/responses/InvalidQuery'
    options:
      operationId: diffOptions
      summary: CORS preflight for the diff
      tags:
      - Diff
      responses:
        '204':
          description: Preflight accepted.
components:
  schemas:
    DiffCoverageLimit:
      type: object
      additionalProperties: false
      required:
      - code
      - detail
      properties:
        code:
          type: string
          description: Stable machine-readable code, for example single_recorded_release, knowledge_axis_has_one_publication_instant, window_precedes_first_publication, reversed_window, identifier_withdrawn, field_coverage_gap. Treat the set as open.
        detail:
          type: string
    ApiError:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
          - code
          - detail
          - documentation
          properties:
            code:
              type: string
            detail:
              type: string
            documentation:
              type: string
              format: uri
    DiffEnvelope:
      type: object
      additionalProperties: false
      required:
      - meta
      - data
      - links
      properties:
        meta:
          type: object
          additionalProperties: true
          required:
          - dataset_id
          - dataset_version
          - schema_version
          - diff_engine_version
          - snapshot_format_version
          - snapshot_register_id
          - lang
          - mode
          - from
          - to
          - axes_moved
          - coverage
          - filters
          - count
          - total
          - offset
          - limit
          - has_more
          properties:
            dataset_id:
              type: string
            dataset_version:
              type: string
            schema_version:
              type: string
            diff_engine_version:
              type: string
              description: 'The rules that turned two reference points into this answer: field extraction, the materiality table and the selection rule. Versioned separately from the dataset, like the implementation map and the manifest.'
            snapshot_format_version:
              type: string
            snapshot_register_id:
              type: string
            lang:
              type: string
              enum:
              - nl
              - en
            mode:
              type: string
              enum:
              - dataset_version
              - known_at
            from:
              $ref: '#/components/schemas/DiffReferencePoint'
            to:
              $ref: '#/components/schemas/DiffReferencePoint'
            axes_moved:
              type: array
              items:
                type: string
                enum:
                - effective_at
                - known_at
                - dataset_version
            coverage:
              type: object
              additionalProperties: false
              required:
              - mode
              - recorded_dataset_versions
              - register_started_at
              - earliest_known_at
              - sufficient
              - limits
              properties:
                mode:
                  type: string
                  enum:
                  - dataset_version
                  - known_at
                recorded_dataset_versions:
                  type: array
                  items:
                    type: string
                register_started_at:
                  type: string
                  format: date-time
                earliest_known_at:
                  type: string
                  format: date-time
                sufficient:
                  type: boolean
                  description: False means the recorded history cannot cover both reference points. The result is still correct for what it can see; it just cannot be read as proof that nothing happened.
                limits:
                  type: array
                  items:
                    $ref: '#/components/schemas/DiffCoverageLimit'
            filters:
              type: object
              additionalProperties: true
            count:
              type: integer
              minimum: 0
            total:
              type: integer
              minimum: 0
            offset:
              type: integer
              minimum: 0
            limit:
              type: integer
              minimum: 1
            has_more:
              type: boolean
        data:
          type: object
          additionalProperties: false
          required:
          - summary
          - objects
          - integrity_warnings
          properties:
            summary:
              type: object
              additionalProperties: false
              required:
              - status
              - objects_compared
              - changed
              - by_change_type
              - by_materiality
              - material_change_present
              properties:
                status:
                  type: string
                  enum:
                  - changes_found
                  - no_changes
                  - insufficient_history
                  description: insufficient_history separates an empty answer we can stand behind from an empty answer that only reflects what has been recorded so far.
                objects_compared:
                  type: integer
                  minimum: 0
                changed:
                  type: integer
                  minimum: 0
                by_change_type:
                  type: object
                  additionalProperties:
                    type: integer
                by_materiality:
                  type: object
                  additionalProperties:
                    type: integer
                material_change_present:
                  type: boolean
                  description: Descriptive. It reports that the window contains a material change; it does not tell you that you must re-assess.
            objects:
              type: array
              items:
                $ref: '#/components/schemas/DiffObject'
            integrity_warnings:
              type: array
              items:
                $ref: '#/components/schemas/DiffCoverageLimit'
              description: Breaks of the append-only contract found while diffing. Empty in the normal case, and never silently dropped.
        links:
          type: object
          additionalProperties: false
          required:
          - self
          - next
          - changes
          - corrections
          - documentation
          - licence
          properties:
            self:
              type: string
              format: uri
            next:
              type:
              - string
              - 'null'
              format: uri
            changes:
              type: string
              format: uri
            corrections:
              type: string
              format: uri
            documentation:
              type: string
              format: uri
            licence:
              type: string
              format: uri
    DiffReferencePoint:
      type: object
      additionalProperties: false
      required:
      - effective_at
      - known_at
      - dataset_version
      properties:
        effective_at:
          type: string
          format: date-time
        known_at:
          type: string
          format: date-time
        dataset_version:
          type:
          - string
          - 'null'
          description: The recorded release this point reads, or null in the known_at mode.
    DiffObject:
      type: object
      additionalProperties: false
      required:
      - id
      - type
      - change_type
      - materiality
      - addition_basis
      - lapse_basis
      - version_from
      - version_to
      - payload_hash_sha256_from
      - payload_hash_sha256_to
      - changed_fields
      - attribution
      - human_page
      properties:
        id:
          type: string
        type:
          $ref: '#/components/schemas/EntityType'
        change_type:
          type: string
          enum:
          - added
          - modified
          - lapsed
        materiality:
          type: string
          enum:
          - material
          - editorial
          description: material as soon as one changed field is material.
        addition_basis:
          type:
          - string
          - 'null'
          enum:
          - new_identifier
          - version_became_selectable
          - null
          description: Only on an addition. new_identifier means the dataset grew; version_became_selectable means an existing identifier now resolves at this pin.
        lapse_basis:
          type:
          - string
          - 'null'
          enum:
          - no_version_valid_at_point
          - withdrawn_from_release
          - null
          description: Only on a lapse. no_version_valid_at_point is the normal legal lapse. withdrawn_from_release means an identifier disappeared from publication, which the append-only rule forbids, and it is also reported in integrity_warnings.
        version_from:
          type:
          - string
          - 'null'
        version_to:
          type:
          - string
          - 'null'
        payload_hash_sha256_from:
          type:
          - string
          - 'null'
        payload_hash_sha256_to:
          type:
          - string
          - 'null'
        changed_fields:
          type: array
          items:
            $ref: '#/components/schemas/DiffFieldChange'
          description: Material fields first. On an addition every present field is listed with a null fingerprint_from; on a lapse the mirror of that.
        attribution:
          type: object
          additionalProperties: false
          required:
          - basis
          - change_events
          - corrections
          - source_ids
          properties:
            basis:
              type: string
              enum:
              - change_event
              - correction
              - source
              - unattributed
              description: 'unattributed is an honest outcome, not an error: no change event, no logged correction and no cited source can be pointed at.'
            change_events:
              type: array
              items:
                type: object
                additionalProperties: false
                required:
                - id
                - label
                - effective_at
                - deadline_at
                - change_type
                properties:
                  id:
                    type: string
                  label:
                    type:
                    - string
                    - 'null'
                  effective_at:
                    type: string
                    format: date-time
                  deadline_at:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  change_type:
                    type: string
                    enum:
                    - added
                    - modified
                    - lapsed
              description: Change objects that moved inside this same window and that name this object. A change object that already stood before the first reference point explains nothing about this window and is not listed.
            corrections:
              type: array
              items:
                type: object
                additionalProperties: false
                required:
                - id
                - corrected_at
                - severity
                properties:
                  id:
                    type: string
                  corrected_at:
                    type: string
                    format: date-time
                  severity:
                    type: string
                    enum:
                    - material
                    - editorial
            source_ids:
              type: array
              items:
                type: string
        human_page:
          type:
          - string
          - 'null'
          format: uri
    DiffFieldChange:
      type: object
      additionalProperties: false
      required:
      - field
      - basis
      - materiality
      - fingerprint_from
      - fingerprint_to
      properties:
        field:
          type: string
          description: Payload field name. Statements are split by kind and by part, for example statements.official_fact.text.
        basis:
          type: string
          description: 'Why this field carries its materiality: legal_effect, deadline, applicability, addressee, official_statement, wording, presentation, classification, implementation_link, source_pointer, review_metadata or editorial_reading. Treat the set as open.'
        materiality:
          type: string
          enum:
          - material
          - editorial
        fingerprint_from:
          type:
          - string
          - 'null'
          description: Truncated field fingerprint at the first reference point, or null when the field was absent there. Sixteen hex characters. This detects that a field moved; it is not a citable hash. Use payload_hash_sha256 for citations.
        fingerprint_to:
          type:
          - string
          - 'null'
    EntityType:
      type: string
      enum:
      - actor
      - obligation
      - change
      - action
      - evidence
      - control
      - template
      - definition
      - guidance
      - standard
      - example
  parameters:
    EntityType:
      name: type
      in: query
      description: Restrict entity results to one object type.
      required: false
      schema:
        $ref: '#/components/schemas/EntityType'
    Lang:
      name: lang
      in: query
      description: Language used for localized labels, summaries and statements.
      required: false
      schema:
        type: string
        enum:
        - nl
        - en
        default: nl
    Id:
      name: id
      in: query
      description: Stable, language-independent entity identifier, in the canonical form praxikon:<jurisdiction>:<regulation>:<type>:<slug>. The flat form published up to dataset 1.1.0 (raip:<type>:<slug>) resolves to the same object and will keep doing so permanently; meta.identifiers.resolved.id echoes the canonical identifier of whatever you sent.
      required: false
      schema:
        type: string
        minLength: 1
  responses:
    NotModified:
      description: 'Nothing moved since the validator you sent. The response carries the same `ETag` and cache directives and no body. Every read endpoint answers `If-None-Match` this way; the validator is a hash over the exact response, so it changes with the release, with the payload hashes inside it, and with every query parameter including `lang` and `format`. It is a cache validator and not a citation anchor: cite `payload_hash_sha256`.'
      headers:
        ETag:
          description: The same validator you sent back.
          schema:
            type: string
    InvalidQuery:
      description: 'One or more query parameters are invalid. Every error on this API, on every status, carries the same object: a stable machine-readable `code`, a `detail` for the human reading the log, and a link to this document. Errors are returned with `Cache-Control: no-store`, so an intermediate cache cannot hold a rejection between you and your own fix.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
externalDocs:
  description: Editorial methodology and safeguards
  url: https://www.praxikon.com/en/methodologie
x-raip-temporal-model:
  effective_at: Legal applicability time selected for the snapshot.
  known_at: Praxikon publication and verification cut-off.
x-raip-editorial-safeguards:
  statement_kinds:
  - official_fact
  - editorial_interpretation
  - recommended_action
  publication_gate: source_validation_required
  official_source_prevails: true
  methodology: https://www.praxikon.com/en/methodologie
x-raip-rate-limit:
  committed_limit: false
  detail: No committed rate limit and no quota. Two endpoints carry a cap that is genuinely enforced; the rest is uncapped today. The full disclosure, including what the counter can and cannot do, is served at GET /api/v1/status.
  enforced:
  - path: /api/v1/answer
    max_requests: 60
    window_seconds: 60
    scope: client_ip_per_server_instance
    shared_across_instances: false
  - path: /api/v1/enforcement
    max_requests: 60
    window_seconds: 60
    scope: client_ip_per_server_instance
    shared_across_instances: false
  - path: /api/v1/naleving-index
    max_requests: 60
    window_seconds: 60
    scope: client_ip_per_server_instance
    shared_across_instances: false
  unlimited:
  - /api/v1/obligations
  - /api/v1/changes
  - /api/v1/entities
  - /api/v1/search
  - /api/v1/corrections
  - /api/v1/diff
  - /api/v1/dataset
  - /api/v1/openapi
  - /api/v1/status
  - /api/v1/implementation-map
  - /api/v1/manifest
  - /api/v1/manifest/validate
  - /api/v1/impact
  if_a_limit_is_introduced: It is announced in this document before it takes effect, and returned as 429 with the standard error object and a Retry-After header. No number is committed here in advance.
x-raip-conditional-requests:
  validator: ETag, a sha256 over the exact response body. It therefore covers the dataset_version in meta and every payload_hash_sha256 in the result, and it varies with every query parameter including lang and format.
  usage: Send the value back as If-None-Match and receive 304 with no body when nothing moved. Weak validators (W/) are honoured.
  not_a_citation: An ETag is a cache validator. Cite payload_hash_sha256 on the object version, which is stable across languages and independent of the response envelope.
  poll: https://www.praxikon.com/api/v1/status