Skip to content

SDK API Reference / ResolvedEntity

Interface: ResolvedEntity

A name/path resolved to a concrete v5 entity id.

Unlike ResolvedSegmentPath (which resolves through the v4 folder API and yields v4 ids), this walks the v5 entity tree (/entities/by-folder) and yields the v5 id — the id the v5 PATCH endpoints (e.g. sg move) require. v4 and v5 use different id-spaces for the same entity, so the two are not interchangeable.

Properties

id

id: string

v5 entity id


name

name: string

Resolved resource name (the last path component)


parentId

parentId: string

Parent segment (audience) id the entity lives under


path

path: string

Full path string that was resolved


type

type: "folder" | "segment"

Resolved resource type (the parent itself is never a move target)