
Meilisearch DocumentGet
CertifiedFetch document from Meilisearch
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.DocumentGetExamples
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
documentId *Requiredstring
Document ID
Identifier of the document to retrieve; templated before the request.
index *Requiredstring
Index
Name of the Meilisearch index containing the document.
key *Requiredstring
Meilisearch connection key
url *Requiredstring
Meilisearch connection URL
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
document object
JSON document
Document returned by Meilisearch as a JSON object.