Skip to main content
POST
Create Datastore

Body Parameters

string
required
The name of the datastore. This helps you identify and organize your data.
string
required
The type of datastore to create. Supported values: - database - For structured database content - documents - For document files
object
The metadata for the datastore. This is only required for database type datastores. Set the connection string for the database.

Response

Returns the created datastore information including the datastore ID.

Response Fields

string
The unique identifier for the created datastore. Use this ID when indexing documents.
string
The name of the datastore
string
The type of datastore (database or documents)
string
Timestamp of when the datastore was created