Cli update
archivebox_cli_updateRe-archive or re-index ArchiveBox snapshots matching selected filters, with options to rebuild the index only or run data migrations only.
Instructions
POST /api/v1/cli/update
Re-archive (or re-index) the snapshots the selection matches.
Args:
after: Only snapshots bookmarked after this Unix time.
before: Only snapshots bookmarked before this Unix time.
filter_type: How filter_patterns match (exact, substring,
domain, regex, tag, search).
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.
resume: Resume from this snapshot timestamp.
batch_size: Snapshots per batch.
continuous: Keep running and pick up new snapshots.
index_only: Rebuild the index only.
migrate_only: Run data migrations only.
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_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| sort | No | ||
| after | No | ||
| limit | No | ||
| before | No | ||
| resume | No | ||
| search | No | ||
| status | No | ||
| crawl_id | No | ||
| batch_size | No | ||
| continuous | No | ||
| index_only | No | ||
| filter_type | No | substring | |
| migrate_only | No | ||
| url__icontains | No | ||
| filter_patterns | No | ||
| url__istartswith | No |