With v1.0, you can use: ``` curl \ -X POST 'http://localhost:7700/keys' \ -H 'Authorization: Bearer MASTER_KEY' \ -H 'Content-Type: application/json' \ --data-binary '{ "description": "Add documents: Products API key", "actions": ["documents.add"], "indexes": ["products_*"], "expiresAt": "2042-04-02T00:42:42Z" }' ``` This API will apply to all indexes that start with `products_` ## To do - [ ] Update keys API reference ## Reference - Issue on core: https://github.com/meilisearch/meilisearch/issues/2788 - Spec: https://github.com/meilisearch/specifications/pull/189 - SME: @Kerollmops