Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
name
string
required
Required string length: 1 - 64
slug
string
required
Required string length: 2 - 48
embeddingConfig
OpenAI Embedding Config · object

The embedding model config. If not provided, our managed embedding model will be used. Note: You can't change the embedding model config after the namespace is created.

vectorStoreConfig
object

The vector store config. If not provided, our MANAGED_PINECONE vector store will be used. Note: You can't change the vector store config after the namespace is created.

Response

The created namespace

success
boolean
required
data
Namespace · object
required