---
title: "Reindex all nodes for searching."
method: POST
path: "/nodes/reindex"
tags: ["Nodes"]
---

# Reindex all nodes for searching.

`POST /nodes/reindex`

## Query parameters

- `max_batch` integer
- `min_age` string

## Response `200`

Reindex completed successfully.

## Other responses

- `400` — Bad request.
- `500` — Internal server error

## Changes

> 43 revisions in range; 1 could not be searched.

- **2025-01-23** `0caacf7dfa8f` — 2 info
  - added the new optional `query` request parameter `max_batch`
  - added the new optional `query` request parameter `min_age`
- **2024-06-28** `8aa4a6263a3d` — 1 info
  - endpoint added
- **2024-05-23** `9d088b2401a5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/comfy-org/apis/comfy-api/changes/nodes/reindex/post.md)

---

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