Skip to main content
PUT
/
scan-library
Trigger a library scan and (optionally) rebuild the search index
curl --request PUT \
  --url http://localhost:6063/scan-library
"<string>"

Query Parameters

path
string

Path to scan; defaults to $HOME/Music

rebuild_index
enum<string>

Re-build the Typesense collections

Available options:
true,
false,
1,
0

Response

200 - text/plain

Scan started/complete (returns '0' on success)

The response is of type string.