Cli search
archivebox_cli_searchSearch archived snapshots by keyword, URL, tag, status, or date and export matching results as JSON, HTML, or CSV for reporting and analysis.
Instructions
POST /api/v1/cli/search
Search the archive index and export the matches (JSON, HTML or CSV).
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.
as_json: Export as JSON.
as_html: Export as HTML.
as_csv: Export as CSV with these columns.
with_headers: Include headers in the export.
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_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| sort | No | ||
| after | No | ||
| limit | No | ||
| as_csv | No | timestamp,url | |
| before | No | ||
| search | No | ||
| status | No | ||
| as_html | No | ||
| as_json | No | ||
| crawl_id | No | ||
| filter_type | No | substring | |
| with_headers | No | ||
| url__icontains | No | ||
| filter_patterns | No | ||
| url__istartswith | No |