Skip to main content
GET
/
api
/
v1
/
workers
/
janitor
/
status
curl -X GET https://alfred.black/api/v1/workers/janitor/status \
  -H "Authorization: Bearer alf_your_key_here"
{
  "status": "running",
  "last_sweep": "2026-02-26T10:15:00Z",
  "issues_found": 12
}
Returns the current status of the Janitor agent, including whether it is running and details about its most recent vault health scan.
curl -X GET https://alfred.black/api/v1/workers/janitor/status \
  -H "Authorization: Bearer alf_your_key_here"
{
  "status": "running",
  "last_sweep": "2026-02-26T10:15:00Z",
  "issues_found": 12
}
If the response contains structured JSON, it is returned directly. Otherwise, the output is returned in a raw field.
raw
string
Human-readable output when structured JSON is not available.