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'
Path Parameters
Either the namespace name or namespace ID
"my_namespace"
"ns_1234567890"
Body
Request schema for updating a namespace's payload indexes.
Name of the namespace to update
"spotify_playlists_dev"
Updated list of payload index configurations
[
{
"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": false, "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