Skip to main content
POST
Create Document

Authorizations

x-api-token
string
header
required

API key authentication

Body

application/json
name
string
required

Unique identifier for the document

value
object

The main data of the document, can be any type (string, object, array, etc.)

metadata
object

Additional metadata for the document

status
enum<string>
default:active

Current status of the document

Available options:
active,
draft,
archived
embed-vector
boolean

Whether to create a vector embedding for the document

Response

Document created successfully

data
object
message
string

Success message

status
boolean

Operation status