For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shinobu API

Shinobu Filewatcher APIs.

🔑 Get Shinobu status

get

Get the current status of the FileWatcher.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Responses
200

Status

application/json
operationstring · enumOptionalPossible values:
successinteger · enumOptionalPossible values:
is_aliveinteger · enumOptionalPossible values:
pidintegerOptional

Current PID of the Watcher process

get/shinobu
200

Status

🔑 Stop Shinobu

post

Stops the Filewatcher. Use /api/shinobu/restart to start it again.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Responses
200

Result

application/json
operationstringRequired

Name of operation

errorstringOptional

Error message if any

successMessagestringOptional

Success message if any

successinteger · enumRequired

Returns 1 if operation was successful, else 0

Possible values:
post/shinobu/stop
200

Result

🔑 Restart Shinobu

post

Restart the Shinobu filewatcher

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Responses
200

Result

application/json
operationstring · enumOptionalPossible values:
successinteger · enumOptionalPossible values:
new_pidintegerOptional

PID of the new Watcher process.

post/shinobu/restart
200

Result

🔑 Rescan filemap and restart Shinobu

post

This deletes the internal map of scanned files on your system (the "filemap") and restarts Shinobu, effectively prompting a full rescan of your FS.

Authorizations
AuthorizationstringRequired

Use Authorization: Bearer <base64(api_key)>

Responses
200

Result

application/json
operationstring · enumOptionalPossible values:
successinteger · enumOptionalPossible values:
new_pidintegerOptional

PID of the new Watcher process.

post/shinobu/rescan
200

Result

Last updated