neruva-io Pii API

The pii API from neruva-io — 4 operation(s) for pii.

Operations 5

POST /v1/pii/rules Create Pii Rule #
GET /v1/pii/rules List Pii Rules #
DELETE /v1/pii/rules/{name} Delete Pii Rule #
POST /v1/pii/detect Detect Pii #
POST /v1/pii/redact Redact Pii Endpoint #

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/neruva-io:neruva-io-pii-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

neruva-io-pii-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Neruva Pii API
  description: Typed agentic memory (Records) + knowledge graph + Pearl's do-operator + HD analogy on a deterministic D=8192 HD bipolar substrate. Sub-ms server compute, replayable from a seed, portable .neruva file.
  version: 0.42.3
tags:
- name: pii
paths:
  /v1/pii/rules:
    post:
      tags:
      - pii
      summary: Create Pii Rule
      description: Induce + persist a pattern rule. Overwrites if (tenant, name) exists.
      operationId: create_pii_rule_v1_pii_rules_post
      parameters:
      - name: Api-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PIIRuleCreateRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PIIRuleSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - pii
      summary: List Pii Rules
      operationId: list_pii_rules_v1_pii_rules_get
      parameters:
      - name: Api-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PIIRuleListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/pii/rules/{name}:
    delete:
      tags:
      - pii
      summary: Delete Pii Rule
      operationId: delete_pii_rule_v1_pii_rules__name__delete
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: Api-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/pii/detect:
    post:
      tags:
      - pii
      summary: Detect Pii
      operationId: detect_pii_v1_pii_detect_post
      parameters:
      - name: Api-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PIIDetectRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PIIDetectResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/pii/redact:
    post:
      tags:
      - pii
      summary: Redact Pii Endpoint
      operationId: redact_pii_endpoint_v1_pii_redact_post
      parameters:
      - name: Api-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PIIRedactRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PIIRedactResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PIITagSpan:
      properties:
        start:
          type: integer
          title: Start
        end:
          type: integer
          title: End
        label:
          type: string
          title: Label
        text:
          type: string
          title: Text
      type: object
      required:
      - start
      - end
      - label
      - text
      title: PIITagSpan
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PIIRedactRequest:
      properties:
        text:
          type: string
          title: Text
        replacement_fmt:
          type: string
          title: Replacement Fmt
          default: '[REDACTED-{label}]'
        include_regex_baseline:
          type: boolean
          title: Include Regex Baseline
          default: true
        hd_threshold:
          type: number
          title: Hd Threshold
          default: 0.8
      type: object
      required:
      - text
      title: PIIRedactRequest
    PIIDetectRequest:
      properties:
        text:
          type: string
          title: Text
        include_regex_baseline:
          type: boolean
          title: Include Regex Baseline
          default: true
        hd_threshold:
          type: number
          title: Hd Threshold
          default: 0.8
      type: object
      required:
      - text
      title: PIIDetectRequest
    PIIRedactResponse:
      properties:
        redacted:
          type: string
          title: Redacted
        n_tags:
          type: integer
          title: N Tags
      type: object
      required:
      - redacted
      - n_tags
      title: PIIRedactResponse
    PIIRuleListResponse:
      properties:
        rules:
          items:
            $ref: '#/components/schemas/PIIRuleSummary'
          type: array
          title: Rules
      type: object
      required:
      - rules
      title: PIIRuleListResponse
    PIIRuleCreateRequest:
      properties:
        name:
          type: string
          title: Name
          description: rule label; used as the tag for matches
        examples:
          items:
            type: string
          type: array
          minItems: 1
          title: Examples
      type: object
      required:
      - name
      - examples
      title: PIIRuleCreateRequest
      description: 'Induce a tenant-scoped PII pattern rule from 1-N example strings.

        Recommended: 3-5 examples covering the natural variation in your

        pattern. Returns immediately (induction is sub-ms).'
    PIIRuleSummary:
      properties:
        name:
          type: string
          title: Name
        n_examples:
          type: integer
          title: N Examples
        example:
          type: string
          title: Example
        min_len:
          type: integer
          title: Min Len
        max_len:
          type: integer
          title: Max Len
        n_literal_locked:
          type: integer
          title: N Literal Locked
        created_at_ms:
          type: integer
          title: Created At Ms
        updated_at_ms:
          type: integer
          title: Updated At Ms
          default: 0
      type: object
      required:
      - name
      - n_examples
      - example
      - min_len
      - max_len
      - n_literal_locked
      - created_at_ms
      title: PIIRuleSummary
    PIIDetectResponse:
      properties:
        n_tags:
          type: integer
          title: N Tags
        tags:
          items:
            $ref: '#/components/schemas/PIITagSpan'
          type: array
          title: Tags
      type: object
      required:
      - n_tags
      - tags
      title: PIIDetectResponse
    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