← API reference
Mutation / aiml

captureKnowledge

Capture a knowledge subgraph — concepts, a note, and instance/semantic edges — in one atomic transaction. The manual, deterministic core of knowledge capture; the Phase-2 LLM path produces this same input. scope is caller-controlled. Requires knowledgeNote:write permission.

Arguments

The subgraph to capture.

Returns CaptureKnowledgePayload!

Explore in a view

AI and ML
View exact SDL
"""
Capture a knowledge subgraph — concepts, a note, and instance/semantic edges — in one atomic transaction. The manual, deterministic core of knowledge capture; the Phase-2 LLM path produces this same input. `scope` is caller-controlled. Requires knowledgeNote:write permission.
"""
captureKnowledge(
  """The subgraph to capture."""
  input: CaptureKnowledgeInput!
): CaptureKnowledgePayload! @topic(names: ["aiml"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.