1 get:
2 operationId: GetSearchIndexes
3 summary: List Search Indexes
4 description: >-
5 Retrieve the list of search indexes registered in your application,
6 including each index's provider, lifecycle status, and the fields it stores.
7 If the Search Module isn't installed in your application, `enabled` is
8 `false` and `search_indexes` is an empty array.
9 externalDocs:
10 description: Learn about the Search Module
11 url: https://docs.medusajs.com/resources/infrastructure-modules/search
12 x-authenticated: true
13 security:
14 - api_token: []
15 - cookie_auth: []
16 - jwt_token: []
17 x-codeSamples:
18 - lang: JavaScript
19 label: JS SDK
20 source:
21 $ref: ../code_samples/JavaScript/admin_search-indexes/get.js
22 - lang: Shell
23 label: cURL
24 source:
25 $ref: ../code_samples/Shell/admin_search-indexes/get.sh
26 tags:
27 - Search Indexes
28 responses:
29 '200':
30 description: OK
31 content:
32 application/json:
33 schema:
34 $ref: ../components/schemas/AdminSearchIndexListResponse.yaml
35 '400':
36 $ref: ../components/responses/400_error.yaml
37 '401':
38 $ref: ../components/responses/unauthorized.yaml
39 '404':
40 $ref: ../components/responses/not_found_error.yaml
41 '409':
42 $ref: ../components/responses/invalid_state_error.yaml
43 '422':
44 $ref: ../components/responses/invalid_request_error.yaml
45 '500':
46 $ref: ../components/responses/500_error.yaml