---
title: "Index Knowledge Base Endpoint"
method: POST
path: "/kb/index"
tags: ["knowledge"]
---

# Index Knowledge Base Endpoint

`POST /kb/index`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/kb/index`
- Auth: API key in header `X-Agent-Key`

Trigger knowledge base indexing (admin).

## Query parameters

- `email` string, nullable

## Response `200`

Successful Response

- KBIndexResponse
  - `status` string, required
  - `chunks_indexed` object
  - `total_chunks` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
