POST
/
v1
/
namespaces

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

Body

application/json

Request schema for creating a new namespace

embedding_models
string[]
required

List of vector indexes to be used within this namespace. Must be one of: 'image', 'openai-clip-vit-base-patch32', 'multimodal', 'vertex-multimodal', 'text', 'baai-bge-m3', 'keyword', 'naver-splade-v3'

namespace_name
string
required

Name of the namespace to create

payload_indexes
object[] | null

List of payload index configurations

Response

200 - application/json
embedding_models
string[]
required
namespace_id
string
required
namespace_name
string
required
payload_indexes
any[] | null
required