Menu
List index fields
List index fields
POST
/indexes/{index_uid}/fieldsUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the List index fields action (under Indexes).
- Fill in the fields below, then reference the result from later steps as
{{listIndexFields.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"offset": 0,
"limit": 0,
"filter": null
}
Response
Returns 200 with an object. Read it in later steps with {{listIndexFields.response.data.<field>}}.
{
"results": [
{
"name": "string",
"displayed": {
"enabled": false
},
"searchable": {
"enabled": false
},
"sortable": {
"enabled": false
},
"distinct": {
"enabled": false
},
"rankingRule": {
"enabled": false,
"order": [
"string"
]
},
"filterable": {
"enabled": false,
"sortBy": "alpha",
"facetSearch": false,
"equality": false,
"comparison": false
},
"localized": {
"locales": [
"string"
]
}
}
],
"offset": 0,
"limit": 0,
"total": 0
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?