List All Jobs
GET /api/watch/jobs
Retrieve all watched directories (active and inactive).
cURL
Response
200 Success
Job Fields
Unique job identifier
Absolute path to the watched directory
Whether the job is currently active
Whether subdirectories are watched
Optional glob pattern filter (e.g.
"*.pdf")ISO 8601 timestamp of the last scan
ISO 8601 timestamp when the job was created
ISO 8601 timestamp when the job was last updated
Delete Job
DELETE /api/watch/jobs/{job_id}
Stop watching a directory and remove all indexed files for it.
cURL
Response
200 Success
404 Not Found
- Stop the active watcher job (if running)
- Delete all indexed files for this directory from the database
- Remove the watched directory record