Skip to main content
POST
/
api
/
v1
/
workers
/
janitor
/
ignore
curl -X POST https://alfred.black/api/v1/workers/janitor/ignore \
  -H "Authorization: Bearer alf_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "file": "projects/archive/legacy-integration.md",
    "reason": "Archived project, broken links are intentional"
  }'
{
  "message": "File ignored"
}
Adds a file to the Janitor’s ignore list, preventing it from being flagged in future scans. Useful for archived files, intentionally broken links, or legacy records you do not want the Janitor to touch.
file
string
required
Vault-relative path to the file to ignore. Must be an existing vault file.Example: "projects/archive/legacy-project.md"
reason
string
Human-readable reason for ignoring this file.Example: "Archived project with intentional broken links"
curl -X POST https://alfred.black/api/v1/workers/janitor/ignore \
  -H "Authorization: Bearer alf_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "file": "projects/archive/legacy-integration.md",
    "reason": "Archived project, broken links are intentional"
  }'
{
  "message": "File ignored"
}
message
string
Confirmation that the file has been added to the ignore list.