Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As of Versionproduct version 2022 Winter
Request MethodPOSTGET
Response FormatJSON
Description


Excerpt

Retrieves the tenants' current inference schema.


Request HeaderX-ID-TENANT-NAME: tenant_name
Request Example/kairos-api/api/admin/schema
Response Example


Code Block
{
  "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
          }
        ]
      }
    ]
  }
}