cli_remove
Remove archived snapshots from ArchiveBox using timestamp filters and pattern matching to manage your web archive collection.
Instructions
Execute archivebox remove command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delete | No | Delete matching snapshots | |
| after | No | Filter snapshots after timestamp | |
| before | No | Filter snapshots before timestamp | |
| filter_type | No | Filter type | exact |
| filter_patterns | No | List of filter patterns | |
| extra_data | No | Additional parameters as a dictionary |
Input Schema (JSON Schema)
{
"properties": {
"after": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": 0,
"description": "Filter snapshots after timestamp"
},
"before": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": 999999999999999,
"description": "Filter snapshots before timestamp"
},
"delete": {
"default": true,
"description": "Delete matching snapshots",
"type": "boolean"
},
"extra_data": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Additional parameters as a dictionary"
},
"filter_patterns": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "List of filter patterns"
},
"filter_type": {
"default": "exact",
"description": "Filter type",
"type": "string"
}
},
"type": "object"
}