Skip to main content
POST
Index a document into the tenant knowledge base

Authorizations

oiq_token
string
cookie
required

Body

application/json
tenantId
string

Tenant identifier. Overwritten from the authenticated session; a value naming a different tenant is refused with 403.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$
tenant_id
string

Tenant identifier. Overwritten from the authenticated session; a value naming a different tenant is refused with 403.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9_-]*$
title
string
Maximum string length: 512
content
string | null
Maximum string length: 200000
text
string | null
Maximum string length: 200000
tags
string[] | null
Maximum string length: 64
source
string | null
Maximum string length: 64

Response

200

Success