Playground

Playground

KnowledgeEntity

/api/v1/knowledge/entities

A named entity extracted from documents.

listgetcreateupdatedelete

Schema

FieldTypeNotes
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumfrontend | backend | server | system | apiWhere the write originated. Defaults to 'api'.
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
typestringSemantic type of this knowledge entity.
domainstringKnowledge domain this entity belongs to.
namestringHuman-readable display name.
canonical_namestringNormalised name (lowercased, deduped) used for deduplication.
aliasesjsonAlternative names or synonyms for this entity.
descriptionstringOptional description of this entity.
confidencenumberExtraction confidence score in the range [0, 1].
document_idsjsonIDs of source documents where this entity was mentioned.
chunk_idsjsonIDs of chunks where this entity appears.
attributesjsonDomain-specific attributes, e.g. { severity, cvss_score, mitre_tactic, control_id, ... }.
version_infostringVersion string for versioned entities (e.g. CVE-2024-12345 → 2024-12345).
is_validbooleanTrue until this entity is superseded by a newer version.
last_seen_atdate-timeISO 8601 timestamp when this entity was last observed in a document.
tagsjsonFree-form tags for categorisation.
statusenumactive | merged | archivedLifecycle status of this knowledge entity.

API

client.knowledge.entities.*
Loading manifest…