Patricia Data Deletion API
The data-deletion API from Patricia — 2 operation(s) for data-deletion.
The data-deletion API from Patricia — 2 operation(s) for data-deletion.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/patricia-app:patricia-app-data-deletion-api"
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.
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: 3.2.0
info:
title: Patricia Data Deletion API
version: 0.1.0
tags:
- name: data-deletion
paths:
/v1/data-deletion/requests:
post:
tags:
- data-deletion
summary: Request data deletion
operationId: create_data_deletion_request_v1_data_deletion_requests_post
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/DataDeletionCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DataDeletionCreated'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/data-deletion/status/{token}:
get:
tags:
- data-deletion
summary: Get a data-deletion request status
operationId: get_data_deletion_status_v1_data_deletion_status__token__get
parameters:
- name: token
in: path
required: true
schema:
type: string
minLength: 16
maxLength: 128
description: The request status capability token.
title: Token
description: The request status capability token.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DataDeletionStatus'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
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
MemoryErasureEvidence:
properties:
verified_removal:
type: boolean
title: Verified Removal
qualified_disposition:
type: string
enum:
- pending
- unresolved
- qualified
- verified
title: Qualified Disposition
stores:
items:
$ref: '#/components/schemas/MemoryErasureStoreEvidence'
type: array
title: Stores
known_residuals:
items:
type: string
type: array
title: Known Residuals
not_checked:
additionalProperties:
additionalProperties:
anyOf:
- type: integer
- type: 'null'
propertyNames:
enum:
- window_only
- missing
- unsupported
type: object
propertyNames:
enum:
- memory_items
- lessons
- brain_docs
type: object
title: Not Checked
additionalProperties: false
type: object
required:
- verified_removal
- qualified_disposition
title: MemoryErasureEvidence
SuppressionStatus:
properties:
state:
type: string
enum:
- pending_apply
- settling
- rescanning
- covered
- closed_item_only
- failed
- superseded
title: State
coverage_scope:
anyOf:
- type: string
enum:
- requested
- item_only
- type: 'null'
title: Coverage Scope
source_identity_status:
type: string
enum:
- known
- unknown
- unresolved
title: Source Identity Status
default: unresolved
exact_item_excluded:
type: boolean
title: Exact Item Excluded
default: false
generation:
anyOf:
- type: integer
minimum: 0.0
- type: 'null'
title: Generation
reason_code:
anyOf:
- type: string
maxLength: 40
pattern: ^[a-z][a-z0-9_]*$
- type: 'null'
title: Reason Code
not_checked:
additionalProperties:
additionalProperties:
type: integer
propertyNames:
enum:
- window_only
- missing
- unsupported
type: object
propertyNames:
enum:
- memory_items
- lessons
- brain_docs
type: object
title: Not Checked
additionalProperties: false
type: object
required:
- state
title: SuppressionStatus
MemoryErasureStoreEvidence:
properties:
store_code:
type: string
maxLength: 40
pattern: ^[a-z][a-z0-9_]*$
title: Store Code
state:
type: string
enum:
- pending
- verified_absent
- verified_redacted
- approved_retention
- unresolved
- failed
title: State
reason_code:
anyOf:
- type: string
maxLength: 40
pattern: ^[a-z][a-z0-9_]*$
- type: 'null'
title: Reason Code
additionalProperties: false
type: object
required:
- store_code
- state
title: MemoryErasureStoreEvidence
SuppressionTarget:
properties:
kind:
type: string
enum:
- legacy_item
- source
- assertion
- subject
title: Kind
id:
type: string
format: uuid
title: Id
expected_revision:
anyOf:
- type: integer
exclusiveMinimum: 0.0
- type: 'null'
title: Expected Revision
additionalProperties: false
type: object
required:
- kind
- id
title: SuppressionTarget
RetainedAuthorInput:
properties:
platform_code:
type: string
pattern: ^[a-z][a-z0-9_]{0,39}$
title: Platform Code
installation_id:
type: string
format: uuid
title: Installation Id
identity_namespace:
type: string
maxLength: 255
minLength: 1
pattern: ^\S(?:.*\S)?$
title: Identity Namespace
external_id:
type: string
maxLength: 255
minLength: 1
pattern: ^\S(?:.*\S)?$
title: External Id
additionalProperties: false
type: object
required:
- platform_code
- installation_id
- identity_namespace
- external_id
title: RetainedAuthorInput
DeletionUsefulnessItem:
properties:
code:
type: string
const: notebook_rebuild_pending_at_m11_curator
title: Code
default: notebook_rebuild_pending_at_m11_curator
partition_id:
type: string
format: uuid
title: Partition Id
label:
type: string
const: Notebook rebuild pending
title: Label
default: Notebook rebuild pending
additionalProperties: false
type: object
required:
- partition_id
title: DeletionUsefulnessItem
DataDeletionStatus:
properties:
state:
type: string
enum:
- received
- in_progress
- completed
- failed
- not_found
title: State
message:
type: string
title: Message
requested_at:
type: string
format: date-time
title: Requested At
completed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Completed At
deleted:
anyOf:
- additionalProperties:
type: integer
type: object
- type: 'null'
title: Deleted
kept:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Kept
known_residuals:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Known Residuals
usefulness_items:
items:
$ref: '#/components/schemas/DeletionUsefulnessItem'
type: array
title: Usefulness Items
branches:
anyOf:
- items:
$ref: '#/components/schemas/DataDeletionBranchStatus'
type: array
- type: 'null'
title: Branches
messages_unmapped_cards_count:
anyOf:
- type: integer
minimum: 0.0
- type: 'null'
title: Messages Unmapped Cards Count
operation:
anyOf:
- type: string
enum:
- erase
- stop_reuse
- type: 'null'
title: Operation
suppression:
anyOf:
- $ref: '#/components/schemas/SuppressionStatus'
- type: 'null'
memory_suppression:
anyOf:
- $ref: '#/components/schemas/SuppressionStatus'
- type: 'null'
description: Stop-reuse progress linked to this erasure request. It does not confirm physical removal.
memory_erasure:
anyOf:
- $ref: '#/components/schemas/MemoryErasureEvidence'
- type: 'null'
description: Erasure evidence for the recorded scope, retained copies and unchecked historical scope.
type: object
required:
- state
- message
- requested_at
title: DataDeletionStatus
description: 'What a person is told about their own request. Plain words, and the whole answer.
``kept`` and ``known_residuals`` are not decoration. A connected account that a standing approval
still references is TOMBSTONED rather than deleted, and the surviving row keeps the provider''s own
identifier for that person. Reporting only the deletion counts would let "completed" stand in for
"completed, except for the parts we told nobody about".'
DataDeletionCreated:
properties:
state:
type: string
enum:
- received
- failed
title: State
default: received
confirmation_code:
type: string
title: Confirmation Code
status_url:
type: string
title: Status Url
request_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Request Id
description: The erasure request identifier for a memory-target or retained-author request.
type: object
required:
- confirmation_code
- status_url
title: DataDeletionCreated
DataDeletionCreate:
properties:
integration_account_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Integration Account Id
slack_user_id:
anyOf:
- type: string
pattern: ^[A-Z][A-Z0-9]{1,63}$
- type: 'null'
title: Slack User Id
memory_target:
anyOf:
- $ref: '#/components/schemas/SuppressionTarget'
- type: 'null'
description: The memory target to stop reusing and request physical erasure for.
retained_author:
anyOf:
- $ref: '#/components/schemas/RetainedAuthorInput'
- type: 'null'
description: The installed platform and author identity to stop reusing and erase from memory.
additionalProperties: false
type: object
title: DataDeletionCreate
description: Name one connected account, cached chat user, memory target, or retained author.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DataDeletionBranchStatus:
properties:
request_id:
type: string
format: uuid
title: Request Id
state:
type: string
enum:
- received
- in_progress
- completed
- failed
- not_found
title: State
completed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Completed At
deleted:
anyOf:
- additionalProperties:
type: integer
type: object
- type: 'null'
title: Deleted
kept:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Kept
known_residuals:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Known Residuals
usefulness_items:
items:
$ref: '#/components/schemas/DeletionUsefulnessItem'
type: array
title: Usefulness Items
type: object
required:
- request_id
- state
title: DataDeletionBranchStatus
securitySchemes:
HTTPBearer:
type: http
scheme: bearer