v1

latestOpenAPI 3.0.32026-07-17265.5 KB

Fetch a document by docid

get/{index}/doc/{docid}

Path parameters

indexstring required

Index path or prebuilt index name.

docidstring required

Document id in the index.

Query parameters

parseboolean

If true, try to return parsed document contents; if false, return the raw stored document string.

Response

Document found.

apistring required
indexstring required
docidstring required

Example response

{
  "api": "v1"
}