Menu
Update chat
Update chat
PATCH
/indexes/{index_uid}/settings/chatUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Update chat action (under Settings).
- Fill in the fields below, then reference the result from later steps as
{{updateChat.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"description": "A comprehensive movie database containing titles, overviews, genres, and release dates",
"documentTemplate": "{% for field in fields %}{% if field.is_searchable and field.value != nil %}{{ field.name }}: {{ field.value }}\n{% endif %}{% endfor %}",
"documentTemplateMaxBytes": 400,
"searchParameters": {}
}
Response
Returns 202 with an object. Read it in later steps with {{updateChat.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?