cliDeterministic
Submit content reference analysis
pipeline submit-content-reference-analysis
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
CLI commandbash
pipeline submit-content-reference-analysis \--post-id "00000000-0000-4000-8000-000000000001" \--content-hash "5cc4476591bb3df248323b120445833dff9a4a11e16f2177ec6eca6eedf8f0c8" \--analysis-json '{"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"}}}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.