Skip to main content
POST
Create a new piece of knowledge from a PDF file

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 from a PDF file

fileName
string
required

The name of the file to create knowledge from

Example:

"example.pdf"

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

data
object
required

Response containing a single knowledge