Overview
The Snapshots API allows you to manage archived URLs (snapshots) programmatically. Each snapshot represents a single archived URL with its associated metadata and archiving results. Base URL:/api/v1/core/snapshots
Snapshot Schema
A snapshot object contains:Field Descriptions
| Field | Type | Description |
|---|---|---|
id | UUID | Unique identifier for the snapshot |
created_by_id | string | User ID who created the snapshot |
created_by_username | string | Username who created the snapshot |
created_at | datetime | When the snapshot was created |
modified_at | datetime | When the snapshot was last modified |
status | string | Current status (see Status Values) |
retry_at | datetime? | When to retry archiving (null if not scheduled) |
bookmarked_at | datetime | When the URL was bookmarked |
downloaded_at | datetime? | When archiving completed |
url | string | The archived URL |
tags | string[] | List of tag names |
title | string? | Page title |
timestamp | string | Snapshot timestamp identifier |
archive_path | string | Filesystem path to archived content |
num_archiveresults | int | Number of archiving results |
archiveresults | array | List of archive results (if with_archiveresults=true) |
Status Values
queued- Waiting to be archivedstarted- Currently being archivedsucceeded- Successfully archivedfailed- Archiving failedsealed- Cancelled/frozen (no further archiving)
List Snapshots
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | int | Items per page (default: 200, max: 500) |
offset | int | Number of items to skip |
page | int | Page number (alternative to offset) |
with_archiveresults | bool | Include archiveresults array (default: false) |
Filter Parameters
| Parameter | Description |
|---|---|
search | Search URL, title, tags, ID, or timestamp |
id | Filter by ID or timestamp (prefix match) |
url | Exact URL match |
tag | Filter by tag name |
title | Filter by title (case-insensitive) |
timestamp | Filter by timestamp (prefix match) |
created_by_id | Filter by creator user ID |
created_by_username | Filter by creator username |
created_at | Exact creation date |
created_at__gte | Created after date |
created_at__lt | Created before date |
modified_at | Last modified date |
modified_at__gte | Modified after date |
modified_at__lt | Modified before date |
bookmarked_at__gte | Bookmarked after date |
bookmarked_at__lt | Bookmarked before date |
Example: Filter by Tag
Example: Search with Pagination
Response
Get Single Snapshot
Retrieve a specific snapshot by ID or timestamp.Path Parameters
| Parameter | Description |
|---|---|
snapshot_id | Snapshot UUID (full or prefix) or timestamp |
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
with_archiveresults | bool | true | Include archiveresults array |
Response
Returns a single snapshot object (see Snapshot Schema above).Update Snapshot
Update snapshot status or retry time.Request Body
Use Cases
Cancel queued archiving:sealed automatically sets retry_at to null.
Schedule a retry:
Valid Status Transitions
You can update status to any of these values:queuedstartedsucceededfailedsealed
Response
Returns the updated snapshot object.Archive Results
Each snapshot can have multiple archive results (PDF, screenshot, DOM, etc.). Include them with:Common Workflows
Find Recently Failed Snapshots
Get All Snapshots for a Tag
Cancel All Queued Work
Search by URL Pattern
Error Responses
404 Not Found
400 Bad Request
Related Endpoints
ArchiveResults API
Access individual archiving outputs
Tags API
Manage snapshot tags
Crawls API
View snapshot’s parent crawl