GET /kairos-api/api/admin/schema
As of Version | product version 2022 Winter |
---|---|
Request Method | GET |
Response Format | JSON |
Description | Retrieves the tenants' current inference schema. |
Request Header | X-ID-TENANT-NAME: tenant_name |
Request Example | /kairos-api/api/admin/schema |
Response Example | { "tenant": "string", "appName": "string", "classification": { "timeout": 0, "enabled": true, "aiClassifierId": "string", "objectTypes": [ { "objectTypeId": "string", "aiObjectTypeId": "string" } ] }, "extraction": { "timeout": 0, "enabled": true, "objects": [ { "objectTypeId": "string", "enabled": true, "timeout": 0, "propertyReference": [ { "propertyId": "string", "aiPropertyId": "string", "allowedValues": [ "string" ], "pattern": "string", "validationService": "string", "maxNumberOfPredictions": 0 } ] } ] } } |