---
title: "Run the scan_catalog_folders task on a catalog"
method: POST
path: "/catalogs/{catalog_id}/scan"
tags: ["Catalogs"]
---

# Run the scan_catalog_folders task on a catalog

`POST /catalogs/{catalog_id}/scan`

## Request

- Base URL: `https://develop.ampache.dev/rest/8/json`
- URL: `https://develop.ampache.dev/rest/8/json/catalogs/{catalog_id}/scan`
- Auth: one of:
  - HTTP bearer
  - API key in header `auth`
  - API key in query parameter `auth`

Convenience alias of `catalog_action` with `task=scan_catalog_folders`. The task is taken from the path, so no `task` parameter is sent.

## Path parameters

- `catalog_id` string, required

## Response `200`

Success

- SuccessResponse
  - `success` string

## Other responses

- `400`: HTTP 400 Bad Request (errors 4705, 4710).
- `401`: HTTP 401 Unauthorized (error 4701).
- `403`: HTTP 403 Forbidden (errors 4700, 4703, 4742).
- `404`: HTTP 404 Not Found (error 4704).
- `500`: HTTP 500 Internal Server Error (error 4702).

## Changes

- **2026-09-07** `43e9c94415e1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/catalogs/:catalog_id/scan/post.md)

---

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