Skip to main content
PUT
/
api
/
knowledge-items
/
{id}
Update KnowledgeItem
curl --request PUT \
  --url https://platform.kodexa.ai/api/knowledge-items/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "active": true,
  "attachmentContentHash": "<string>",
  "attachmentContentType": "<string>",
  "attachmentFileName": "<string>",
  "attachmentSize": 123,
  "attachmentUploadedAt": "2023-11-07T05:31:56Z",
  "attachmentUploadedBy": "<string>",
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "id": "<string>",
  "knowledgeItemTypeId": "<string>",
  "knowledgeSetId": "<string>",
  "knowledgeSetSlug": "<string>",
  "properties": {},
  "searchText": "<string>",
  "sequenceOrder": 123,
  "slug": "<string>",
  "title": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}
'
{
  "active": true,
  "attachmentContentHash": "<string>",
  "attachmentContentType": "<string>",
  "attachmentFileName": "<string>",
  "attachmentSize": 123,
  "attachmentUploadedAt": "2023-11-07T05:31:56Z",
  "attachmentUploadedBy": "<string>",
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "id": "<string>",
  "knowledgeItemTypeId": "<string>",
  "knowledgeSetId": "<string>",
  "knowledgeSetSlug": "<string>",
  "properties": {},
  "searchText": "<string>",
  "sequenceOrder": 123,
  "slug": "<string>",
  "title": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

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

Path Parameters

id
string<uuid>
required

Unique identifier (UUID) of the resource.

Body

application/json

A knowledge item is an individual piece of knowledge within a knowledge set.

active
boolean
attachmentContentHash
string | null
attachmentContentType
string | null
attachmentFileName
string | null
attachmentSize
integer<int64> | null
attachmentUploadedAt
string<date-time> | null
attachmentUploadedBy
string | null
changeSequence
integer<int32>
createdOn
string<date-time>
description
string
id
string
knowledgeItemTypeId
string | null
knowledgeSetId
string | null
knowledgeSetSlug
string
properties
object
searchText
string
sequenceOrder
integer<int32> | null
slug
string
title
string
updatedOn
string<date-time>
uuid
string

Response

Updated KnowledgeItem

A knowledge item is an individual piece of knowledge within a knowledge set.

active
boolean
attachmentContentHash
string | null
attachmentContentType
string | null
attachmentFileName
string | null
attachmentSize
integer<int64> | null
attachmentUploadedAt
string<date-time> | null
attachmentUploadedBy
string | null
changeSequence
integer<int32>
createdOn
string<date-time>
description
string
id
string
knowledgeItemTypeId
string | null
knowledgeSetId
string | null
knowledgeSetSlug
string
properties
object
searchText
string
sequenceOrder
integer<int32> | null
slug
string
title
string
updatedOn
string<date-time>
uuid
string