---
title: "Get platform intent data"
method: GET
path: "/api/item-platform/{id}/intent"
tags: ["Item Platform"]
---

# Get platform intent data

`GET /api/item-platform/{id}/intent`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/item-platform/{id}/intent`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/item-platform/:id/intent/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns what deleting or reassigning a platform would touch: the number of subplatforms, live items, item values and distinct audits under it. One row, or an empty list for an unknown platform.

## Path parameters

- `id` integer, required

## Response `200`

Platform intent data

- object[]
  - `id` integer
  - `name` string
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `audits_count` integer: Distinct audits with an item value on a live item of the platform
  - `items_count` integer: Live (not soft-deleted) items of the platform
  - `item_values_count` integer: Item values on live items of the platform
  - `item_subplatforms_count` integer: Subplatforms of the platform

## Other responses

- `401`: Unauthenticated

---

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