Skip to content

Assign Knowledge Base Curator

POST /knowledge-bases/{kb_id}/curator

Who runs this base’s dreaming: bind an existing agent, or create one in place.

Every consolidation pass is recorded as a run of one agent (annex 10 §9.3, D-5309) — “cada ejecución queda ligada a un agente”. With agent_id the named agent is bound; without it the server creates an organization-scoped curator with defaults — named after the base, carrying the pass’s own model — so one click completes the checklist’s dreaming_agent step. A base that already has its curator answers with it unchanged.

NameInTypeNotes
kb_idpathstring (uuid)required—

Request body — KnowledgeBaseCuratorAssign

Section titled “Request body — KnowledgeBaseCuratorAssign”
FieldTypeNotes
agent_idstring (uuid) | nulloptional—
StatusDescriptionBody
201Successful ResponseKnowledgeBaseView
422Validation ErrorHTTPValidationError
Terminal window
curl -X POST https://your-deployment.example.com/knowledge-bases/{kb_id}/curator \
-H "Authorization: Bearer $COBRE_TOKEN"
FieldTypeNotes
idstring (uuid)required—
slugstringrequired—
namestringrequired—
scopeworkspace | organization | platformrequired—
kindstringrequired—
owner_agent_idstring (uuid) | nullrequired, nullable—
owner_persona_idstring (uuid) | nullrequired, nullable—
is_privatebooleanrequired—
is_frozenbooleanrequired—
embedding_modelstringrequired—
embedding_dimintegerrequired—
item_countintegerrequired—
subject_kinduser | guest | nullrequired, nullable—
subject_idstring | nullrequired, nullable—
last_consolidated_atstring (date-time) | nulloptional—
curation_countsobject | nulloptional—
created_atstring (date-time)required—
updated_atstring (date-time)required—