cliDeterministic
Get knowledge base
pipeline get-knowledge-base
Read shared Reply/SDR knowledge, active version, pending draft and GTM context. Use your coding-agent model to propose improvements without hosted inference.
Parameters
workspaceId
string
No description.
Example
CLI commandbash
pipeline get-knowledge-base
Response
Success response schemajson schema
{"type": "object","properties": {"knowledge": {"type": "object","properties": {"skillId": {"type": "string"},"overlayId": {"type": ["string","null"]},"draft": {"type": ["object","null"],"properties": {"versionNumber": {"type": "number"},"status": {"type": "string","enum": ["draft","active","archived"]},"changeSummary": {"type": "string"},"createdAt": {"type": "string"},"activatedAt": {"type": ["string","null"]},"knowledge": {"type": "object"}},"required": ["versionNumber","status","changeSummary","createdAt","activatedAt","knowledge"]},"published": {"type": ["object","null"],"properties": {"versionNumber": {"type": "number"},"status": {"type": "string","enum": ["draft","active","archived"]},"changeSummary": {"type": "string"},"createdAt": {"type": "string"},"activatedAt": {"type": ["string","null"]},"knowledge": {"type": "object"}},"required": ["versionNumber","status","changeSummary","createdAt","activatedAt","knowledge"]},"versions": {"type": "array","items": {"type": "object","properties": {"versionNumber": {"type": "number"},"status": {"type": "string","enum": ["draft","active","archived"]},"changeSummary": {"type": "string"},"createdAt": {"type": "string"},"activatedAt": {"type": ["string","null"]},"knowledge": {"type": "object"}},"required": ["versionNumber","status","changeSummary","createdAt","activatedAt","knowledge"]}}},"required": ["skillId","overlayId","draft","published","versions"]},"gtm": {"type": "object"},"guidance": {"type": "string"}},"required": ["knowledge","gtm","guidance"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.