workspaces

Resolve Saved View

Resolve a saved view's filter to a real audience, server-side.

Until now a view could only be applied in the browser, over whatever customers were loaded, so counts were counts of the fetched sample and no server flow could target a view at all. This returns the true workspace-wide audience.

Suppressed and soft-deleted customers are excluded: a resolved view is a sendable audience, not an analytical population. Filters that cannot be evaluated in SQL (industry/role buckets, PostHog event filters) are NAMED in unresolvable_fields rather than ignored — ignoring them would return a superset of what the user saw, which is the dangerous direction for a send.

post/api/v1/workspaces/saved-views/resolve

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Request body

filterobject
exclude_idsstring[]
include_idsstring[]
preview_limitinteger

Response

Successful Response

dataobject required

Changes

No recorded changes to this endpoint across all 1 revision of this API.