---
title: "Rebuild Asset Readers"
method: POST
path: "/admin/rebuild_asset_readers"
tags: ["accepts-api-key"]
---

# Rebuild Asset Readers

`POST /admin/rebuild_asset_readers`

## Request

- Base URL: `https://api.tellers.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tellers.ai/admin/rebuild_asset_readers`
- Auth: none declared

Fill ``ta_asset_reader`` again from the folder tree (SSE).

The table holds who can see each asset -- the owner of it or of a folder
above it, and everyone a grant on it or above it reaches, directly or
through a group's members (the Everyone group, which has none, is read
from its grants instead) -- and database triggers keep it current. Run
this once after the release that installs them, and whenever the table
may have drifted. Safe to run again. Admin only.

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body

- LegacySharingRequest
  - `apply_changes` boolean: When false, run every step in one transaction and roll it back: the counts are what a real run would do. Set true to keep them; each step then commits on its own.

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

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