sdkDeterministic
Get sop context
pipeline.getSopContext
Read Reply/SDR base SOP, full GTM context, active overlay and pending draft. Use your coding-agent model to personalize it; ask for missing decisions and show the full draft.
Parameters
workspaceId
string
No description.
skillNamerequired
string
No description.
Example
TypeScripttypescript
await pipeline.getSopContext({"skillName": "example"})
Response
Success response schemajson schema
{"type": "object","properties": {"skill": {"type": "object"},"gtm": {"type": "object"},"overlay": {"type": ["object","null"]},"versions": {"type": "array","items": {"type": "object"}},"knowledgeBase": {"type": ["object","null"]},"runtimeSettings": {"type": "array","items": {"type": "object","properties": {"role": {"type": "string"},"config": {"type": "object"},"autonomy": {"type": "string","enum": ["autopilot","hitl","paused"]}}}},"guidance": {"type": "string"}},"required": ["skill","gtm","overlay","versions","knowledgeBase","runtimeSettings","guidance"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.