Bluegennx.ai

    Contents

    Introduction
    Getting Started
    Ping
    GET
    Version
    GET
    Metrics
    GET
    Process Text
    POST
    Reidentify Text
    POST
    Knowledge Base
    PUT

Process Text
POST

/api/process/text/deid/ Detect entities such as PII or PCI in the provided text strings using Blueguard API 's entity detection engine. After entity detection, any entities found can be redacted, masked or replaced with AI-generated synthetic entities.

Request

HEADER PARAMETERS

FieldTypeDescription
api_keystring (Api-Key)API Key of the Company

REQUEST BODY SCHEMA: application/json

FieldTypeDescription
modestringThe processing mode ('mask', 'replace', 'redact').
context_idstringA unique identifier generated for every request.
policy_idstringThe policy identifier for the organization policy that defines the list of entities to detect
languagestringThe language code for processing the text. Defaults to English 'en'
enable_detailsbooleanFlag to enable or disable detailed processing information in the responses
inputsList[InputText] A list of objects containing the text to be processed.
text (string): The text string to be processed.
enable_sensitive_scanbooleanFlag to enable or disable sensitive scanning to identify sensitive words present in the given text. Organization that does not have custom terms to detect may turn this off to gain performance.
org_uuidstringa string contains organization ID.
identify_credentialsbooleanFlag to enable or disable scanning to identify credentials present in the given text. credentials are keys such as AWS, GCP, Azure, SSH, Stripe etc.

Responses

RESPONSE SCHEMA: application/json

FieldTypeDescription
successbooleanIndicates the success status of the request.
statusintegerThe HTTP status code.
context_idstringA unique UUID generated for every deid request
policy_idstringpolicy id that tracks the policy to apply on this text processing
outputList[dict]A list of processed text strings corresponding to each input text.
this list contains responses which are basically a python dictionary.
FieldTypeDescription
original_textstringa string/original text that needs deidentification.
processed_textstringde-identified text
entities_existsbooleana flag that denotes if entity exists or not.
characters_processedintegertotal characters before processed.
words_processedintegertotal words before processed.
detailed_infoList(dict)contains entity information like entity type, entity value, start_index, end_index etc.

RESPONSE SCHEMA: application/json

FieldTypeDescription
successbooleanIndicates the success status of the request.
statusintegerThe HTTP status code.
detailsstringA detailed message describing the error.

© Copyright 2024 Bluegennx.ai.