GET /knowledge-bases/{kb_id}
One base, its consolidation configuration, and optionally its curation split.
A base the caller cannot read is a 404 and not a 403: the existence of a base owned by
another agent is itself information.
| Name | In | Type | | Notes |
|---|
kb_id | path | string (uuid) | required | — |
agent_id | query | string (uuid) | null | optional | — |
include | query | string | null | optional | — |
| Status | Description | Body |
|---|
200 | Successful Response | KnowledgeBaseDetail |
422 | Validation Error | HTTPValidationError |
curl -X GET https://your-deployment.example.com/knowledge-bases/{kb_id} \
-H "Authorization: Bearer $COBRE_TOKEN"
| Field | Type | | Notes |
|---|
id | string (uuid) | required | — |
slug | string | required | — |
name | string | required | — |
scope | workspace | organization | platform | required | — |
kind | string | required | — |
owner_agent_id | string (uuid) | null | required, nullable | — |
owner_persona_id | string (uuid) | null | required, nullable | — |
is_private | boolean | required | — |
is_frozen | boolean | required | — |
embedding_model | string | required | — |
embedding_dim | integer | required | — |
item_count | integer | required | — |
subject_kind | user | guest | null | required, nullable | — |
subject_id | string | null | required, nullable | — |
last_consolidated_at | string (date-time) | null | optional | — |
curation_counts | object | null | optional | — |
created_at | string (date-time) | required | — |
updated_at | string (date-time) | required | — |
consolidation | object | required | — |