---
title: "Every copy of one entity the account was sent"
method: GET
path: "/v1/sync/versions"
tags: ["Sync"]
---

# Every copy of one entity the account was sent

`GET /v1/sync/versions`

## Request

- Base URL: `https://api.uxduck.com`
- URL: `https://api.uxduck.com/v1/sync/versions`
- Auth: HTTP bearer

Newest first, at most 50; won says whether it became the account's copy. Kept for 90 days, and the last 50 of each entity for longer (C5).

## Query parameters

- `entity` string, required
- `id` string, required

## Response `200`

The entity's versions, newest first

- object
  - `versions` object[], required
    - `device` string, required
    - `version` integer, required
    - `digest` string, required
    - `tsUs` integer, required
    - `won` boolean, required
    - `change` object, required

## Other responses

- `400`: entity or id is not valid
- `401`: Not signed in
- `503`: Accounts are not set up here

---

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