Create an analysis from a content selection
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Which content the analysis covers. Provide exactly one of postIds
or posts; collectionId may stand alone or be combined with posts
filters to narrow within the collection. Resolves to at most 1,000
posts (newest first).
Comment-level narrowing — the same controls as the dashboard
analysis view. Everything is optional; when present, only comments
matching all active filters count toward the analysis and are
returned from GET /analyses/{analysisId}/comments. Hidden comments
are always excluded.
Search inside the selected comments. mode: ai (default) runs the
dashboard’s semantic search and always creates a job (202).
mode: keyword is deterministic — it is folded into
filters.keywords and stays synchronous.
Response headers
Host path of the analysis, e.g. /analyst/v1/analyses/an_…
Response
Analysis computed inline (status: ready)
An analysis created with POST /analyses. scope, content, and
commentAnalysis are null until status is ready. content is
creator-side (what was posted); commentAnalysis is audience-side
(how the matched comments landed). A sample of comments behind
the analysis lives at comments.path.