curl --request POST \
--url https://api.example.com/api/data/mapping/confirm \
--header 'Content-Type: application/json' \
--data '
{
"upload_id": "<string>",
"mapping_config": {},
"temporal_scale": 123,
"clarification_answers": [
{}
]
}
'{
"mapping_id": "<string>",
"ready_to_scan": true,
"error": "<string>",
"message": "<string>",
"details": [
{}
]
}Confirm and finalize column mappings for the uploaded dataset
curl --request POST \
--url https://api.example.com/api/data/mapping/confirm \
--header 'Content-Type: application/json' \
--data '
{
"upload_id": "<string>",
"mapping_config": {},
"temporal_scale": 123,
"clarification_answers": [
{}
]
}
'{
"mapping_id": "<string>",
"ready_to_scan": true,
"error": "<string>",
"message": "<string>",
"details": [
{}
]
}This endpoint accepts user-confirmed column mappings and temporal scale configuration. Once confirmed, the dataset is ready for PII scanning and policy compliance auditing.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Basit-Ali0/Yggdrasil/llms.txt
Use this file to discover all available pages before exploring further.
/api/data/upload.account - Primary entity identifier (sender, account_id, user_id, employee)recipient - Secondary entity identifier (receiver, destination, beneficiary)amount - Monetary value, transaction amount, or coststep - Timestamp, time-step, or period columntype - Category, classification, or transaction type{
"account": "orig_acct",
"recipient": "bene_acct",
"amount": "base_amt",
"step": "tran_timestamp",
"type": "tx_type"
}
24.0 - Days to hours (IBM AML datasets)1.0 - Already in hours (PaySim, Generic)question_id (string) - Identifier for the questionanswer (string) - User’s answer[
{
"question_id": "currency_unit",
"answer": "USD"
}
]
curl -X POST https://your-domain.com/api/data/mapping/confirm \
-H "Content-Type: application/json" \
-d '{
"upload_id": "a3f12b45-8c7d-4e9f-b1a2-3c4d5e6f7g8h",
"mapping_config": {
"account": "orig_acct",
"recipient": "bene_acct",
"amount": "base_amt",
"step": "tran_timestamp",
"type": "tx_type"
},
"temporal_scale": 24.0,
"clarification_answers": []
}'
true on successful confirmation.{
"mapping_id": "7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e",
"ready_to_scan": true
}
VALIDATION_ERROR - Invalid request body or missing required fieldsINTERNAL_ERROR - Unexpected server error{
"error": "VALIDATION_ERROR",
"message": "Invalid request body",
"details": [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": ["upload_id"],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "string",
"path": ["temporal_scale"],
"message": "Expected number, received string"
}
]
}
/api/data/uploadaccount, recipient, amount, step, type)1.0 (hours), 24.0 (days to hours), 60.0 (minutes to hours)question_id and answer fields/api/data/uploadmapping_id for subsequent scansupload_id can be used with multiple mapping configurationsready_to_scan flag is always true on success