Skip to main content
POST
/
api
/
knowledge-features
/
assignToKnowledgeItem
Assign feature to knowledge item
curl --request POST \
  --url https://platform.kodexa.ai/api/knowledge-features/assignToKnowledgeItem \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "featureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "documentFamilyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "knowledgeItemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

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

Request to assign or unassign a feature.

featureId
string<uuid>
required

ID of the knowledge feature.

documentFamilyId
string<uuid>

ID of the document family (for document family assignments).

knowledgeItemId
string<uuid>

ID of the knowledge item (for knowledge item assignments).

Response

Feature assigned