---
title: "Report what you already have; get back only the missing delta"
method: POST
path: "/v1/sync/inventory"
tags: ["sync"]
---

# Report what you already have; get back only the missing delta

`POST /v1/sync/inventory`

## Request

- Base URL: `https://api.ditto.audio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ditto.audio/v1/sync/inventory`
- Auth: HTTP bearer

## Request body

- SyncInventoryDto
  - `books` InventoryBookDto[]
    - `bookId` string, required
    - `contentHash` string: sha256 of the local EPUB bytes
  - `models` string[]: voice-model ids already downloaded
  - `audioChunks` string[]: rendered-audio keys already cached: "bookId|chapter|paragraph|voiceId|speed"

## Response `201`

---

[API](https://skmtc.dev/ditto/apis/ditto-audio-api.md) · [All operations](https://skmtc.dev/ditto/apis/ditto-audio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ditto/apis/ditto-audio-api/revisions/30c8d7c218da?raw)
