---
title: "Preview Assignment"
method: POST
path: "/developer/settlement-metrics/team-assignments/preview"
tags: ["Developer", "Developer - Settlement Metrics"]
---

# Preview Assignment

`POST /developer/settlement-metrics/team-assignments/preview`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/developer/settlement-metrics/team-assignments/preview`
- Auth: none declared

## Request body

- TeamAssignmentChangeRequest
  - `staff_id` integer, required
  - `staff_name` string, required
  - `destination_id` string, uuid, nullable, required
  - `scope` 'future' | 'past_and_future', required
  - `start_date` string, date, nullable
  - `end_date` string, date, nullable

## Response `200`

Successful Response

- TeamAssignmentPreview
  - `previewed_at` string, date-time, required
  - `preview_token` string, required
  - `matched_settlements` integer, required
  - `affected_settlements` integer, required
  - `affected_amount` string, required
  - `unattributed_after` integer, required
  - `entries_without_staff_snapshot` integer, required
  - `scoreboard_team_name` string, nullable, required
  - `scoreboard_team_excluded` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-17** `0afcd7c31ce2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openintake/apis/openintake-api/changes/developer/settlement-metrics/team-assignments/preview/post.md)

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
