---
title: "Add Docs To Cache"
method: POST
path: "/cache/{name}/add_docs"
tags: ["Cache"]
---

# Add Docs To Cache

`POST /cache/{name}/add_docs`

Manually add documents to an existing cache.

Args:
    name: Name of the target cache.
    document_ids: List of document IDs to insert.
    auth: Authentication context used for authorization.

Returns:
    A dictionary indicating whether the documents were queued for addition.

## Path parameters

- `name` string, required

## Headers

- `authorization` string

## Request body

- string[]

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
