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_id
string
required

id of the namespace

vector_indexes
string[]
required

List of vector indexes to be used within this namespace. Must be one of: 'image_vector', 'multimodal_vector', 'text_vector', 'keyword_vector'

payload_indexes
object[] | null

List of payload index configurations

Response

200 - application/json
message
string
required
namespace_id
string
required