Skip to main content
POST
Create a new piece of knowledge

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

Body

application/json

Request schema for creating knowledge

title
string
required

Knowledge title

Example:

"Best practices for AI in healthcare"

description
string
required

Knowledge description - a short summary of the knowledge

Example:

"A collection of best practices for AI in healthcare"

content
string
required

Knowledge content - the full content of the knowledge

Example:

"A collection of best practices for AI in healthcare"

id
string<uuid>

An optional Knowledge ID must be a uuid

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"7b9e5d2c-f314-48a9-be56-9843a2f6c019"

Response

Success

Response containing a single knowledge

data
object
required

Response containing a single knowledge