sdkDeterministic
Submit content reference analysis
pipeline.submitContentReferenceAnalysis
Validate and save caller-authored reference analysis using the source SHA-256 hash. No hosted AI call. Extract an unchanged opening hook; do not infer spoken hooks.
Parameters
workspaceId
string
No description.
postIdrequired
string
No description.
contentHashrequired
string
No description.
analysisrequired
object
No description.
Example
TypeScripttypescript
await pipeline.submitContentReferenceAnalysis({"postId": "00000000-0000-4000-8000-000000000001","contentHash": "5cc4476591bb3df248323b120445833dff9a4a11e16f2177ec6eca6eedf8f0c8","analysis": {"postType": "thought_leadership","hookStyle": "question","bodyStructure": "insight_framework","ctaStyle": "question","whyItWorks": "A specific opening question gives the reader a clear problem to consider.","tags": ["writing"],"reference": {"exactHook": "What changes when you write for one reader?","topic": "Writing for a specific reader","pattern": ["Open with a focused question"],"ideaSeed": "Explain how choosing one reader changes a draft."}}})
Response
Success response schemajson schema
{"type": "object","properties": {"data": {"type": "object"}}}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.