Skip to main content
POST
Create a Document

Path Parameters

string
required
Dataset ID
string
Baseplate API key. Must be in the format β€œBearer $BASEPLATE_API_KEY”

Body

string
required
The document ID to create. Must be unique within a dataset.
string
The name of the file
string
The url of the file
string
Content of a document to add.
boolean
If true, will GET the url and parse the response as a document.
number
default:"1000"
Sets the chunk size if parse_url or content is set.
number
default:"100"
Sets the chunk overlap if parse_url or content is set.
object
Metadata to add to every row in the document. Optional.