Skip to main content

Add a document to a space

POST 

/spaces/:qid/documents

Inserts a document into the given space. The document's fields (a map of field name -> values) are stored as searchable text fields. Optionally links the document to a batch of vector instance ids (vector_ids) in the same space via vector_documents edges (ids that don't exist or belong to another space are ignored). Requires content access for the space qid.

Request

Responses

Created