---
title: "Reindex a certain page that belongs to a certain agent."
method: POST
path: "/api/v1/projects/{projectId}/pages/{pageId}/reindex"
tags: ["Pages"]
---

# Reindex a certain page that belongs to a certain agent.

`POST /api/v1/projects/{projectId}/pages/{pageId}/reindex`

Reindex a specific page within an agent (formerly known as project) based on its unique projectId and pageId. This endpoint allows you to refresh a particular page from the agent. Our system will crawl and index page content newly.

## Path parameters

- `projectId` integer, required
- `pageId` integer, required

## Response `200`

Updating Document with the new content

- object
  - `status` 'error' | 'success' — The status of the response
  - `data` object
    - `updated` boolean — Whether the process to update the Document started successfully or not

## Other responses

- `400` — Bad Argument
- `401` — API Token is either missing or invalid
- `403` — Document couldn't have been updated
- `500` — Internal Server Error

---

[API](https://skmtc.net/poll-the-people/apis/customgpt-ai.md) · [All operations](https://skmtc.net/poll-the-people/apis/customgpt-ai/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poll-the-people/customgpt-ai/revisions/b80e6dfcf78d/schema)
