POST
/
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

namespace_name
string
required

Name of the namespace to create

vector_indexes
string[]
required

List of vector indexes to be used within this namespace. Must be one of: 'image', 'multimodal', 'text', 'keyword'

payload_indexes
object[] | null

List of payload index configurations

Response

200 - application/json
namespace_id
string
required
namespace_name
string
required
vector_indexes
string[]
required
payload_indexes
object | null
required