Add New Mapping
POST/mappings
Creates a new mapping; available as an Add-On Module
Request
Query Parameters
Site Identifier
- application/json
Body
required
Array [
- MappingAttributeContent
- MappingAttributeMetadata
- MappingAttributeManual
- MappingAttributeDataClassification
- MappingAttributeMetadataExtractionResult
- MappingAttributeAiPromptResult
- MappingAttributeMalwareScan
]
Array [
Array [
- MappingClassificationConditionContent
- MappingClassificationConditionDataClassification
- MappingClassificationConditionMetadataExtractionResult
- MappingClassificationConditionAiPromptResult
]
]
mapping
object
Name of Mapping
Description of Mapping
attributes
object[]
List of attributes
oneOf
Mapping Attribute from document content or content key-value data
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
Default value used when no matching value is found
Default values used when no matching value is found
Label Texts
Attribute Label Matching Type
Possible values: [FUZZY, EXACT, BEGINS_WITH, CONTAINS]
Attribute Value Regex Validation
Mapping Attribute from document metadata
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
Default value used when no matching value is found
Default values used when no matching value is found
Label Texts
Attribute Label Matching Type
Possible values: [FUZZY, EXACT, BEGINS_WITH, CONTAINS]
Attribute Metadata Field
Possible values: [USERNAME, PATH, CONTENT_TYPE]
Mapping Attribute with manually configured default values
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
Default value
Default values
Mapping Attribute from document data classification results
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
Mapping Attribute from document metadata extraction results
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
LLM prompt entity name
Mapping Attribute from document AI Prompt result
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
LLM prompt entity name
Mapping Attribute from document malware scan results
Attribute Key
Attribute Source Type
Possible values: [CONTENT, CONTENT_KEY_VALUE, METADATA, MANUAL, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT, MALWARE_SCAN]
classifications
object[]
List of classifications
Classification Identifier
conditions
object[]
List of classification conditions
oneOf
Mapping Classification Condition
Classification Condition Source Type
Possible values: [CONTENT, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT]
Classification Condition Result Matching Type
Possible values: [EXACT, BEGINS_WITH, CONTAINS]
Text to match against the document content
Mapping Classification Condition
Classification Condition Source Type
Possible values: [CONTENT, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT]
Result key
Result value
Classification Condition Result Matching Type
Possible values: [EXACT, BEGINS_WITH, CONTAINS]
Mapping Classification Condition
Classification Condition Source Type
Possible values: [CONTENT, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT]
LLM prompt entity name
Result key
Result value
Classification Condition Result Matching Type
Possible values: [EXACT, BEGINS_WITH, CONTAINS]
Mapping Classification Condition
Classification Condition Source Type
Possible values: [CONTENT, DATA_CLASSIFICATION, METADATA_EXTRACTION_RESULT, AI_PROMPT_RESULT]
LLM prompt entity name
Result key
Result value
Classification Condition Result Matching Type
Possible values: [EXACT, BEGINS_WITH, CONTAINS]
Responses
- 201
- 400
201 CREATED
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Mapping Identifier
{
"mappingId": "string"
}
400 OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
List of errors
Error Key
Error Message
{
"errors": [
{
"key": "string",
"error": "string"
}
]
}