Meilisearch DocumentGet

Meilisearch DocumentGet

Certified

Fetch document from Meilisearch

Retrieves a JSON document from a Meilisearch index by ID using the get document API. Requires index URL and API key; returns the raw document map.

yaml
type: io.kestra.plugin.meilisearch.DocumentGet

Get Document from Meilisearch

yaml
id: meilisearch_get_flow
namespace: company.team

variables:
  id: a123
  index: pokemons
  host: http://172.18.0.3:7700/

tasks:
  - id: get_document
    type: io.kestra.plugin.meilisearch.DocumentGet
    index: "{{ vars.index }}"
    documentId: "{{ vars.id }}"
    url: "{{ vars.host }}"
    key: "{{ secret('MEILISEARCH_MASTER_KEY') }}"
Properties

Document ID

Identifier of the document to retrieve; templated before the request.

Index

Name of the Meilisearch index containing the document.

Meilisearch connection key

Meilisearch connection URL

JSON document

Document returned by Meilisearch as a JSON object.