Rulebase Redaction Rules API
The Redaction Rules API from Rulebase — 2 operation(s) for redaction rules.
The Redaction Rules API from Rulebase — 2 operation(s) for redaction rules.
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/rulebase:rulebase-redaction-rules-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. 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: Rulebase API2 Redaction Rules API
version: 0.0.1
tags:
- name: Redaction Rules
paths:
/redaction_rules:
get:
parameters:
- schema:
type: integer
minimum: 0
exclusiveMinimum: true
required: false
name: page[page]
in: query
- schema:
type: integer
description: Values above 100 are clamped to 100
minimum: 1
required: false
name: page[limit]
in: query
responses:
'200':
description: Redaction rules for the current organization
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
entity_type:
type: string
mode:
type: string
patterns:
type: array
items:
type: string
enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- id
- entity_type
- mode
- patterns
- enabled
- created_at
- updated_at
meta:
type: object
properties:
page:
type: object
properties:
next:
type: number
nullable: true
limit:
type: number
total:
type: number
required:
- next
- limit
- total
required:
- page
required:
- data
- meta
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Redaction Rules
summary: Get redaction rules
x-summary-source: derived
operationId: getRedactionRules
x-operation-id-source: derived
post:
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
redaction_rule:
type: object
properties:
entity_type:
type: string
mode:
type: string
patterns:
type: array
items:
type: string
required:
- redaction_rule
responses:
'201':
description: The created redaction rule
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
entity_type:
type: string
mode:
type: string
patterns:
type: array
items:
type: string
enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- id
- entity_type
- mode
- patterns
- enabled
- created_at
- updated_at
required:
- data
'400':
description: Invalid parameters or validation failure
content:
application/json:
schema:
type: object
properties:
error:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
required:
- error
- errors
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'403':
description: Forbidden
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Redaction Rules
summary: Create redaction rules
x-summary-source: derived
operationId: postRedactionRules
x-operation-id-source: derived
/redaction_rules/{id}:
patch:
parameters:
- schema:
type: string
required: true
name: id
in: path
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
redaction_rule:
type: object
properties:
entity_type:
type: string
mode:
type: string
patterns:
type: array
items:
type: string
enabled:
type: boolean
required:
- redaction_rule
responses:
'200':
description: The updated redaction rule
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: string
entity_type:
type: string
mode:
type: string
patterns:
type: array
items:
type: string
enabled:
type: boolean
created_at:
type: string
updated_at:
type: string
required:
- id
- entity_type
- mode
- patterns
- enabled
- created_at
- updated_at
required:
- data
'400':
description: Invalid parameters or validation failure
content:
application/json:
schema:
type: object
properties:
error:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
required:
- error
- errors
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'403':
description: Forbidden
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: Redaction rule not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Redaction Rules
summary: Update redaction rules by id
x-summary-source: derived
operationId: patchRedactionRulesById
x-operation-id-source: derived
delete:
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'204':
description: Redaction rule deleted
'400':
description: Invalid parameters or validation failure
content:
application/json:
schema:
type: object
properties:
error:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
required:
- error
- errors
'401':
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'403':
description: Forbidden
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'404':
description: Redaction rule not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'503':
description: Rails organization unavailable
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
tags:
- Redaction Rules
summary: Delete redaction rules by id
x-summary-source: derived
operationId: deleteRedactionRulesById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Rulebase organization API key