Skip to main content
GET
/
file
/
auto-processing-config
Get auto-processing configuration
curl --request GET \
  --url https://api.royalti.io/file/auto-processing-config \
  --header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Auto-processing configuration retrieved successfully",
"data": {
"autoProcessEnabled": true,
"sourceThreshold": 0.85,
"periodThreshold": 0.75,
"schemaThreshold": 0.8,
"requireAllThresholds": true
}
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Get auto-processing configuration Retrieve the current auto-processing configuration for the tenant, including enabled status and confidence thresholds. Returns:
  • Auto-processing enabled status
  • Current confidence thresholds for source, period, and schema detection
  • Threshold mode (requireAllThresholds)

Code Examples

const response = await fetch('https://api.royalti.io/file/auto-processing-config', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Auto-processing configuration retrieved successfully

success
boolean
default:true
message
string
data
object