Headers
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
Request schema for creating a new namespace.
Name of the namespace to create
"spotify_playlists_dev"
List of feature extractors to use. At least one feature extractor must be provided.
1
[
{
"feature_extractor_id": "video_extractor_1.0.0",
"feature_extractor_name": "video_extractor",
"version": "1.0.0"
}
]
Description of the namespace
"This namespace contains playlists from Spotify"
Optional list of custom payload index configurations. Indexes required by selected feature extractors will be added automatically.
[
{
"field_name": "metadata.title",
"field_schema": {
"lowercase": true,
"max_token_len": 15,
"min_token_len": 2,
"tokenizer": "word",
"type": "text"
},
"type": "text"
},
{
"field_name": "metadata.description",
"field_schema": { "is_tenant": true, "type": "keyword" },
"type": "keyword"
}
]
Response
Successful Response
Namespace model.
Name of the namespace
"spotify_playlists_dev"
Unique identifier for the namespace
Description of the namespace
List of feature extractors configured for this namespace
Custom payload indexes configured for this namespace