---
title: "Post Kb File Index"
method: POST
path: "/security_qa/kb/file/index"
tags: ["Questionnaires (RFP)"]
---

# Post Kb File Index

`POST /security_qa/kb/file/index`

## Request

- Base URL: `https://fapi.ambivo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://fapi.ambivo.com/security_qa/kb/file/index`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/ambivo/apis/ambivo-api/docs/security_qa/kb/file/index/post.ts> (a function with typed inputs; its response is checked against the schema)

Index / re-index KB file(s). Body ``action`` ∈ {index_one, index_many,
force_index}; ``file_id`` (or ``file_ids``), optional ``engine_provider``.
There is no whole-KB rebuild — re-index per file (``force_index``).

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-06** `165a6d16a9a0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ambivo/apis/ambivo-api/changes/security_qa/kb/file/index/post.md)

---

[API](https://skmtc.dev/ambivo/apis/ambivo-api.md) - [All operations](https://skmtc.dev/ambivo/apis/ambivo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ambivo/apis/ambivo-api/revisions/165a6d16a9a0?raw)
