Search published Knowledge documents

POST/v1/knowledge/search

Returns citation-ready passages only from exact published library versions the caller can access.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
querystringYes—
libraryIdsstring[]No—
projectIdstringNoProject ID.
bindingsobject[]NoRestrict results to explicit immutable library versions.
bindings[].libraryIdstringYes—
bindings[].versionIdstringYes—
limitintegerNo—
cursorstringNo—

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Ranked Knowledge passagesapplication/json
FieldTypeRequiredDescription
objectlistYes—
dataobject[]Yes—
data[].libraryIdstringYes—
data[].libraryNamestringNo—
data[].libraryVersionIdstringYes—
data[].libraryVersionNumberintegerNo—
data[].libraryFingerprintstringNo—
data[].documentIdstringYesDocument ID.
data[].revisionIdstringYes—
data[].titlestringYesDisplay title.
data[].slugstringNo—
data[].parentDocumentIdstringNo—
data[].summarystringNo—
data[].excerptstringYes—
data[].contentHashstringYes—
data[].provenanceobjectNo—
data[].scorenumberNo—
data[].citationIdstringYesStable version-document-revision tuple for audit and replay.
nextCursorstringNo—
Search published Knowledge documents
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow