Enqueue Consolidation Run
POST /knowledge-bases/{kb_id}/consolidation/run“Consolidate now” — the fast lane’s input.
202 rather than 201: the row is queued, the pass has not run, and answering 201 with a finished-looking body is how a caller ends up polling a knowledge base that has not changed yet.
Parameters
Section titled “Parameters”| Name | In | Type | Notes | |
|---|---|---|---|---|
kb_id | path | string (uuid) | required | — |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
202 | Successful Response | ConsolidationQueued |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”curl -X POST https://your-deployment.example.com/knowledge-bases/{kb_id}/consolidation/run \ -H "Authorization: Bearer $COBRE_TOKEN"Response — ConsolidationQueued
Section titled “Response — ConsolidationQueued”| Field | Type | Notes | |
|---|---|---|---|
id | string (uuid) | required | — |
kb_id | string (uuid) | required | — |
status | string | required | — |