---
title: "Trigger reindexing of all collections"
method: POST
path: "/v1/collections/reindex/"
---

# Trigger reindexing of all collections

`POST /v1/collections/reindex/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/collections/reindex/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-assets/docs/v1/collections/reindex/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_reindex_collections

## Query parameters

- `low_priority_indexing` boolean

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- ReindexAllCollectionsSchema
  - `collection_ids` string[], nullable, required
  - `realms` string[], nullable

## Response `201`

ID and status of the job

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-assets.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-assets/revisions/62580d9e640e?raw)
