Skip to content

Search Knowledge

POST /knowledge-search

The annex 10 §3 pipeline over HTTP — its first route anywhere.

A POST with a body, not a GET with a similar_to parameter: half the pipeline behind a list filter is the second-way-to-search that knowledge_read refused to build, and the query is a sentence, not an identifier.

FieldTypeNotes
querystringrequiredmin length 1 max length 2000
knowledge_setstring | nulloptional—
limitintegeroptionalDefault 8. min 1 max 25
StatusDescriptionBody
200Successful ResponseKnowledgeSearchView
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X POST https://your-deployment.example.com/knowledge-search \
-H "Authorization: Bearer $COBRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "string"
}'
FieldTypeNotes
countintegerrequired—
directSearchHitView[]required—
relatedRelatedHitView[]required—
budgetSearchBudgetViewrequired—
skipped_kbsstring (uuid)[]optionalDefault [].