GET /kairos-api/api/admin/schema

As of Versionproduct version 2022 Winter
Request MethodGET
Response FormatJSON
Description

Retrieves the tenants' current inference schema.

Request HeaderX-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
          }
        ]
      }
    ]
  }
}