Patricia Data Privacy API

The data-privacy API from Patricia — 1 operation(s) for data-privacy.

GitHub OpenAPI

Operations 2

GET /v1/data-privacy Get the workspace data & privacy settings #
PATCH /v1/data-privacy Update the workspace data & privacy settings #

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/patricia-app:patricia-app-data-privacy-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

patricia-app-data-privacy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Data Privacy API
  version: 0.1.0
tags:
- name: data-privacy
paths:
  /v1/data-privacy:
    get:
      tags:
      - data-privacy
      summary: Get the workspace data & privacy settings
      description: 'The workspace''s data-retention window (90 / 365 days, or unlimited), whether Patricia may learn from the workspace''s data to improve, the topics she must never repeat, and the channels kept out of the Slack message cache. Patricia''s own conversations remain stored separately. Defaults: 365-day retention, learning on, a recommended forbidden-topic list, and no excluded channels.'
      operationId: get_data_privacy_v1_data_privacy_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataPrivacyResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    patch:
      tags:
      - data-privacy
      summary: Update the workspace data & privacy settings
      description: Set the data-retention window (90 or 365 days, or 0 for unlimited), whether Patricia may learn from the workspace's data, the topics she must never repeat, and/or the Slack channels kept out of the Slack message cache. Retention drives the deletion sweeps; turning learning off stops Patricia learning from this workspace's activity; each list is replaced whole, so an empty list turns that control off. Excluding a channel prevents caching its posted and fetched messages, bypasses cached history reads, and queues deletion of its cached messages. Patricia's own conversations remain stored separately. Only the fields provided are changed.
      operationId: update_data_privacy_v1_data_privacy_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataPrivacyUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataPrivacyResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DataPrivacyUpdate:
      properties:
        data_retention_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Data Retention Days
          description: Keep workspace data for 90 or 365 days. Zero means unlimited retention.
        data_use_improve_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Data Use Improve Enabled
          description: Allow Patricia to learn from workspace data to improve her work.
        redacted_topics:
          anyOf:
          - items:
              type: string
              maxLength: 60
            type: array
            maxItems: 25
          - type: 'null'
          title: Redacted Topics
          description: The complete list of topics Patricia must never repeat, in plain words. Send an empty list to turn the filter off. Omit the field to leave the saved list unchanged.
        excluded_channel_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 50
          - type: 'null'
          title: Excluded Channel Ids
          description: The complete list of channel ids kept out of the Slack message cache. Use it for channels such as HR or an executive channel. Send an empty list to permit caching every channel again. Omit the field to leave the saved list unchanged. An entry that is not a channel id is dropped, so the response is always the list in force. Patricia's own conversations remain stored separately.
      additionalProperties: false
      type: object
      title: DataPrivacyUpdate
      description: 'PATCH body: every field optional; only what''s provided is written.


        ``data_retention_days`` must be exactly one of the three allowed windows

        (``90`` / ``365`` / ``0``). Strict types on purpose: lax coercion would turn a JSON

        ``false`` into ``0`` (Python ``False == 0``) and silently select UNLIMITED retention.

        Strict typing 422s anything that isn''t a real JSON number / boolean.


        ``redacted_topics`` and ``excluded_channel_ids`` each replace the whole list (each is one

        control, edited as a whole), so an explicit ``[]`` clears it and turns that control off.

        Omitting a field leaves it untouched.'
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        errors:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Errors
      type: object
      required:
      - code
      - message
      title: ErrorResponse
      description: Standard error envelope, matching exception handler output.
    DataPrivacyResponse:
      properties:
        data_retention_days:
          type: integer
          title: Data Retention Days
        data_use_improve_enabled:
          type: boolean
          title: Data Use Improve Enabled
        redacted_topics:
          items:
            type: string
          type: array
          title: Redacted Topics
          description: Topics Patricia must never repeat, in plain words (for example 'pricing' or 'legal'). She removes any part of a meeting transcript or summary that touches one and leaves a short note that something was removed. Any workspace that has not set its own list uses a recommended one, so this is always the list actually in force; save an empty list to turn the filter off.
        excluded_channel_ids:
          items:
            type: string
          type: array
          title: Excluded Channel Ids
          description: Channel ids kept out of the Slack message cache, such as an HR or executive channel. Empty means the cache permits every channel Patricia is in, which is the default. This is always the list in force. Patricia's own conversations remain stored separately.
      type: object
      required:
      - data_retention_days
      - data_use_improve_enabled
      - redacted_topics
      - excluded_channel_ids
      title: DataPrivacyResponse
      description: The caller's workspace data & privacy settings (with defaults applied).
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer