Meilisearch Documents API
The Documents API from Meilisearch — 3 operation(s) for documents.
The Documents API from Meilisearch — 3 operation(s) for documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/meilisearch:meilisearch-documents-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Meilisearch Documents API
description: 'Meilisearch is an open-source, lightning-fast search engine API. This specification
documents the core REST endpoints for managing indexes, documents, search, settings,
API keys, and tasks. All protected routes require Bearer token authentication using
a master key or regular API key.'
version: '1.0'
contact:
name: Meilisearch
url: https://www.meilisearch.com/docs
servers:
- url: http://localhost:7700
description: Default local Meilisearch instance
- url: https://{cluster}.meilisearch.io
description: Meilisearch Cloud instance
variables:
cluster:
default: edge
security:
- bearerAuth: []
tags:
- name: Documents
paths:
/indexes/{indexUid}/documents:
parameters:
- $ref: '#/components/parameters/IndexUid'
get:
tags:
- Documents
summary: List documents
responses:
'200':
description: Paginated documents
operationId: getIndexesByIndexUidDocuments
x-operation-id-source: derived
post:
tags:
- Documents
summary: Add or replace documents
responses:
'202':
description: Task enqueued
operationId: postIndexesByIndexUidDocuments
x-operation-id-source: derived
put:
tags:
- Documents
summary: Add or update documents
responses:
'202':
description: Task enqueued
operationId: putIndexesByIndexUidDocuments
x-operation-id-source: derived
delete:
tags:
- Documents
summary: Delete all documents
responses:
'202':
description: Task enqueued
operationId: deleteIndexesByIndexUidDocuments
x-operation-id-source: derived
/indexes/{indexUid}/documents/{documentId}:
parameters:
- $ref: '#/components/parameters/IndexUid'
- name: documentId
in: path
required: true
schema:
type: string
get:
tags:
- Documents
summary: Get a document
responses:
'200':
description: Document
operationId: getIndexesByIndexUidDocumentsByDocumentId
x-operation-id-source: derived
delete:
tags:
- Documents
summary: Delete a document
responses:
'202':
description: Task enqueued
operationId: deleteIndexesByIndexUidDocumentsByDocumentId
x-operation-id-source: derived
/indexes/{indexUid}/documents/delete-batch:
parameters:
- $ref: '#/components/parameters/IndexUid'
post:
tags:
- Documents
summary: Delete documents in batch
responses:
'202':
description: Task enqueued
operationId: postIndexesByIndexUidDocumentsDeleteBatch
x-operation-id-source: derived
components:
parameters:
IndexUid:
name: indexUid
in: path
required: true
schema:
type: string
description: Unique identifier of the index.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: token
description: 'Authorization header using "Authorization: Bearer {API_KEY}".
The master key authorizes /keys management; regular API keys
should be used for all other routes.
'