Skip to content

List Knowledge Grants

GET /knowledge-grants

Who may read or write which base (annex 10 §4).

admin, like the two writes beside it, and for the same reason the rest of this file is: a grant list is the access-control configuration of the memory system, and reading which agents can reach which knowledge is itself the sensitive part.

NameInTypeNotes
agent_idquerystring (uuid) | nulloptional—
kb_idquerystring (uuid) | nulloptionalexplicit grants over this base
modequeryread | write | nulloptional—
limitqueryintegeroptionalDefault 50. min 1 max 200
cursorquerystring | nulloptional—
offsetqueryinteger | nulloptionalmin 0
StatusDescriptionBody
200Successful ResponsePage_KnowledgeGrantView_
422Validation ErrorHTTPValidationError
Terminal window
curl -X GET https://your-deployment.example.com/knowledge-grants \
-H "Authorization: Bearer $COBRE_TOKEN"
FieldTypeNotes
itemsKnowledgeGrantView[]required—
next_cursorstring | nulloptional—
totalinteger | nulloptional—