---
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

---

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