Skip to main content
POST
Preview the composition this posture would produce for a team

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

posture_id
string
required

Posture ID (tp-{8-hex}).

Pattern: ^tp-[a-z0-9-]{1,64}$

Body

application/json
team_id
string<uuid>
required

UUID of the team to compose the preview for (uses the team's templates and per-agent exemptions).

Response

Composed preview.

Dry-run composition a posture would produce for a team (POST /v1/postures/{id}/preview-compose). Matches handlePreviewComposePosture exactly: the editor-shaped composed view plus the org floor (Platform ⊕ Org, no team layer). team_id/org_id are null for an org-scoped preview with no resolved team.

posture_id
string
required
team_id
string | null
required
org_id
string | null
required
composed
object
required

Composed posture with the path posture substituted as the team layer.

floor
object
required

Org floor (Platform ⊕ Org-default, no team layer) for the editor's 3-column view.