---
title: "Batch sync AI cache results"
method: POST
path: "/reader/ai/cache/sync"
tags: ["AI"]
---

# Batch sync AI cache results

`POST /reader/ai/cache/sync`

Upload multiple AI cache entries at once (client → server bulk sync)

## Request body

- SchemaAiResult[]
  - `book_id` string
  - `cache_key` string
  - `content` string
  - `ctime` integer
  - `id` integer
  - `result_type` string
  - `user_id` integer
  - `utime` integer

## Response `200`

synced count

- object

## Other responses

- `400` — Bad Request

## Changes

- **2026-04-23** `20e19d9cbb5a` — 1 info
  - endpoint added
- **2026-03-21** `ffed97aaec4f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/lxpio/apis/omnigram-api/changes/reader/ai/cache/sync/post.md)

---

[API](https://skmtc.dev/lxpio/apis/omnigram-api.md) · [All operations](https://skmtc.dev/lxpio/apis/omnigram-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lxpio/omnigram-api/revisions/58911ffb3093/schema)
