Skip to main content
POST
/
api
/
knowledge-feature-types
Create KnowledgeFeatureType
curl --request POST \
  --url https://platform.kodexa.ai/api/knowledge-feature-types \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "active": true,
  "changeSequence": 123,
  "color": "<string>",
  "createdOn": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "extendedOptions": {},
  "icon": "<string>",
  "id": "<string>",
  "labelJsonPath": "<string>",
  "name": "<string>",
  "options": {},
  "organization": {
    "authGroupLink": {
      "authGroup": "<string>"
    },
    "changeSequence": 123,
    "createdOn": "2023-11-07T05:31:56Z",
    "defaultToPrivateTemplates": true,
    "description": "<string>",
    "enterpriseOrganization": true,
    "features": {},
    "hasImage": true,
    "id": "<string>",
    "memory": {
      "orderedDashboards": [
        "<string>"
      ]
    },
    "name": "<string>",
    "organizationStatus": "<string>",
    "properties": {},
    "publicAccess": true,
    "searchText": "<string>",
    "slug": "<string>",
    "stripeCustomerId": "<string>",
    "supportAccess": true,
    "supportAccessExpiresAt": "2023-11-07T05:31:56Z",
    "updatedOn": "2023-11-07T05:31:56Z",
    "uuid": "<string>"
  },
  "organizationId": "<string>",
  "slug": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "useJSONata": true,
  "uuid": "<string>"
}
'
{
  "active": true,
  "changeSequence": 123,
  "color": "<string>",
  "createdOn": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "extendedOptions": {},
  "icon": "<string>",
  "id": "<string>",
  "labelJsonPath": "<string>",
  "name": "<string>",
  "options": {},
  "organization": {
    "authGroupLink": {
      "authGroup": "<string>"
    },
    "changeSequence": 123,
    "createdOn": "2023-11-07T05:31:56Z",
    "defaultToPrivateTemplates": true,
    "description": "<string>",
    "enterpriseOrganization": true,
    "features": {},
    "hasImage": true,
    "id": "<string>",
    "memory": {
      "orderedDashboards": [
        "<string>"
      ]
    },
    "name": "<string>",
    "organizationStatus": "<string>",
    "properties": {},
    "publicAccess": true,
    "searchText": "<string>",
    "slug": "<string>",
    "stripeCustomerId": "<string>",
    "supportAccess": true,
    "supportAccessExpiresAt": "2023-11-07T05:31:56Z",
    "updatedOn": "2023-11-07T05:31:56Z",
    "uuid": "<string>"
  },
  "organizationId": "<string>",
  "slug": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "useJSONata": true,
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json

A knowledge feature type defines the kind of data a knowledge feature can hold.

active
boolean
changeSequence
integer<int32>
color
string
createdOn
string<date-time>
description
string
extendedOptions
object
icon
string
id
string
labelJsonPath
string
name
string
options
object
organization
object
organizationId
string | null
slug
string
updatedOn
string<date-time>
useJSONata
boolean
uuid
string

Response

Created KnowledgeFeatureType

A knowledge feature type defines the kind of data a knowledge feature can hold.

active
boolean
changeSequence
integer<int32>
color
string
createdOn
string<date-time>
description
string
extendedOptions
object
icon
string
id
string
labelJsonPath
string
name
string
options
object
organization
object
organizationId
string | null
slug
string
updatedOn
string<date-time>
useJSONata
boolean
uuid
string