Menu
Create index
Create index
POST
/indexesUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Create index action (under Indexes).
- Fill in the fields below, then reference the result from later steps as
{{createIndex.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"uid": "movies",
"primaryKey": "id"
}
Response
Returns 202 with an object. Read it in later steps with {{createIndex.response.data.<field>}}.
{
"taskUid": 0,
"status": "processing",
"type": "documentAdditionOrUpdate",
"enqueuedAt": "2025-01-01T00:00:00Z",
"indexUid": "string",
"customMetadata": "string"
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?