This guide explains how to integrate with the Faasera platform using RESTful APIs for real-time data profiling, masking, validation, and audit reporting.
Faasera exposes REST APIs that allow programmatic access to its core services from any client (e.g., ETL jobs, apps, scripts, serverless functions).
All endpoints require authentication via API Key or JWT (based on configuration).
Example Header:
Authorization: Bearer <your_token_here>
POST /api/v1/profiler/run
{
"requestId": "abc123",
"mode": "STRUCTURED",
"columns": [
{ "name": "email", "value": "john.doe@example.com" },
{ "name": "dob", "value": "1985-02-03" }
]
}
{
"results": [
{ "column": "email", "label": "EMAIL_ADDRESS", "confidence": 0.98 },
{ "column": "dob", "label": "DOB", "confidence": 0.92 }
]
}
POST /api/v1/mask/run
{
"requestId": "mask-001",
"mode": "MULTI_RULE_BATCH",
"records": [
{ "ruleName": "EMAIL_ADDRESS", "value": "john.doe@example.com" },
{ "ruleName": "DOB", "value": "1985-02-03" }
]
}
{
"maskedRecords": [
{ "value": "j***.d**@example.com", "ruleName": "EMAIL_ADDRESS" },
{ "value": "1985-**-**", "ruleName": "DOB" }
]
}
POST /api/v1/validate
{
"original": "john.doe@example.com",
"masked": "j***.d**@example.com",
"rule": "EMAIL_ADDRESS"
}
{ "valid": true, "issues": [] }
GET /api/v1/audit/risk-summary?datasetId=<id>
{
"riskScore": 78,
"highRiskFields": ["SSN", "CREDIT_CARD"],
"complianceGap": ["HIPAA", "PCI-DSS"]
}
Faasera supports base64 or presigned file uploads for batch profiling/masking:
POST /api/v1/file/profile
POST /api/v1/file/mask
All responses follow a standard envelope:
{
"status": "SUCCESS",
"data": { ... },
"errors": []
}
Use tools like Postman or curl:
curl -X POST https://api.faasera.ai/api/v1/mask/run \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d @masking-payload.json
For access credentials or support, contact: support@faasera.ai