Skip to main content
POST
Create Knowledge Base
Endpoint
POST https://gateway.orkeia.ai/knowledge-bases
Authentication
Requires header authorization: <your_token>.

Request body

The service expects a wrapper with knowledgeBase and filename.
Notes
  • For type: "file", send the corresponding filename to the stored content.
  • For type: "url" or type: "text", filename can be ignored/left empty, but the field exists in the payload for endpoint consistency.
  • content:
    • file: storage path/URL of the file (e.g., S3/Storage).
    • url: public/private link to be referenced.
    • text: direct textual content.

Example (cURL)

Reference Interface:

Responses

Response - Success

response

500 — Bad Request

400 — Client Error