Cli remove
archivebox_cli_removeDelete ArchiveBox snapshots and their files by exact URL, tag, status, crawl, or filter criteria. Use the narrowest selection because removal is destructive.
Instructions
POST /api/v1/cli/remove
Delete the snapshots the selection matches, and their files. Destructive: always pass the narrowest selection (an exact URL, or one tag).
Args:
after: Only snapshots bookmarked after this Unix time.
before: Only snapshots bookmarked before this Unix time.
filter_type: How filter_patterns match (default exact).
filter_patterns: Patterns to match.
status: Only snapshots with this status.
url__icontains: URL contains.
url__istartswith: URL starts with.
tag: Only snapshots with this tag.
crawl_id: Only snapshots of this crawl.
limit: Maximum snapshots.
sort: Sort field.
search: Full-text search.
timeout: Seconds to wait for the removal.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "archivebox_cli_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| sort | No | ||
| after | No | ||
| limit | No | ||
| before | No | ||
| search | No | ||
| status | No | ||
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| timeout | No | ||
| crawl_id | No | ||
| filter_type | No | exact | |
| url__icontains | No | ||
| filter_patterns | No | ||
| url__istartswith | No |