Dataset
Cloudflare R2 bucket content datasets for AI training
A Cloudflare R2 dataset is a copy of chosen buckets or prefixes from a business's Cloudflare R2 account, with each object's key, size, ETag, upload time, HTTP metadata and custom metadata. The objects are typically media and user uploads served behind the business's sites, files it distributes, and buckets migrated from other clouds. SourceX sources it to a buyer's spec from established businesses that run Cloudflare R2. Each dataset is de-identified, with personal details in keys, metadata and documents removed or replaced, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Objects of chosen buckets or prefixes with a per-object record of key, size, ETag, upload time, HTTP and custom metadata
- Typical systems
- Cloudflare R2 buckets in Standard and Infrequent Access storage, including public buckets on custom domains, buckets written by Workers, Basin Catalog (formerly R2 Data Catalog) tables and buckets filled by Sippy or Super Slurper
- Typical history
- Current objects only; depth depends on lifecycle rules, overwrites and, for migrated buckets, on what was copied from the origin
- Modality
- Files of any type, mostly images, video, audio and documents, plus one structured metadata record per object
- Delivery formats
- Original files under their keys with a JSONL or Parquet object manifest; Iceberg tables as Parquet data files with their metadata
- Preparation
- Personal details in keys, custom metadata and documents removed or replaced; embedded image metadata stripped; handling of faces and voices in media set in the spec; duplicates flagged by hash
- Licensing
- Scoped per bucket and prefix; permitted use agreed per license; ownership of served files and terms covering user uploads checked
- Availability
- Sourced to your spec; what a bucket still holds varies, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| bucket | string | The R2 bucket the object was read from, renamed where the name identifies the business. |
| key | string | The object's full key; R2 has no folders, so path segments are a convention of the code that wrote it. |
| size | integer | Object size in bytes, as the bucket listing reports it. |
| etag | string | The object's ETag: an MD5 of the content for a single-request upload, a composite value for a multipart upload. |
| uploaded | string | The object's last-modified time, called uploaded in the Workers API: when this copy was written to R2, not when the file was created. |
| http_metadata | object | The HTTP metadata stored with the object: contentType, contentEncoding, contentDisposition, contentLanguage and cacheControl. |
| custom_metadata | object | The object's custom metadata: key and value pairs the uploader sent as x-amz-meta headers or through a Workers put call. |
| storage_class | enum | The object's R2 storage class, Standard or Infrequent Access. |
| checksums | object | Checksums the uploader supplied and R2 stored, such as SHA-256, plus the hash computed at delivery. |
| arrival | object | How the object reached the bucket: direct upload, Sippy on-request copy or a Super Slurper job, from bucket settings and the owner's records. |
| public_exposure | object | Whether the bucket was served through an r2.dev address or a custom domain, and the path the object had there, with the domain removed. |
| lifecycle_rules | array | The bucket's lifecycle rules at copy time: prefix, deletion age, transition to Infrequent Access and cleanup of unfinished multipart uploads. |
| app_record | object | The row in the business's application database that refers to this key, where licensed, with pseudonymous owner and status. |
| content_ref | string | Path of the object's bytes in the delivery. |
Field names from the table above; values are masked placeholders.
Example record
{
"bucket": "media-prod",
"key": "uploads/2024/03/u_5c1e77a0/9f2b6d41-listing-photo.jpg",
"size": 2841907,
"etag": "\"3f9a1c0e7b2d4a6f8e5c1b0d9a7f6e42\"",
"uploaded": "2024-03-18T16:42:09.311Z",
"http_metadata": {
"contentType": "image/jpeg",
"cacheControl": "public, max-age=31536000, immutable",
"contentDisposition": "[FILENAME_REMOVED]"
},
"custom_metadata": {
"listing-id": "lst_48211",
"uploader": "u_5c1e77a0",
"moderation": "approved"
},
"storage_class": "Standard",
"checksums": {
"sha256": "b1946ac92492d2347c6235b4d2611184f0a3c1e5d8b7a69c0f2e4d6b8a1c3e5f"
},
"arrival": {
"method": "direct_upload",
"multipart": false
},
"public_exposure": {
"served": true,
"via": "custom_domain",
"path": "/uploads/2024/03/u_5c1e77a0/9f2b6d41-listing-photo.jpg"
},
"lifecycle_rules": [
{
"prefix": "tmp/",
"action": "delete",
"after_days": 7
},
{
"prefix": "",
"action": "abort_incomplete_multipart"
}
],
"app_record": {
"table": "listing_photos",
"listing_id": "lst_48211",
"deleted_at": null,
"license_basis": "user_terms_v4"
},
"content_ref": "objects/media-prod/9f/9f2b6d41-listing-photo.jpg"
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train vision models on in-context media
Product, listing and user photos joined to the application rows that describe them give images with real captions and categories.
Build document understanding sets
Uploaded PDFs, scans and office files arrive with the declared type, upload time and the record they were attached to.
Source speech and video
Podcast audio, lesson recordings and transcoded video that a business distributes can be licensed with their renditions grouped by key.
Train on lakehouse tables
Iceberg tables kept in Basin Catalog, formerly R2 Data Catalog, deliver as data files with schema and snapshot history for tabular and SQL tasks.
Evaluate file handling agents
A real bucket with its key conventions, mixed content types and duplicates tests agents that classify and organize files.
Use-case guides: Document AI, enterprise search and RAG, Voice agents and speech models, Private evaluation sets
What makes this data valuable
A joinable application table
The database rows that reference each key are in scope, so files come with meaning and not just names.
Custom metadata in use
The uploading code set metadata on most objects, and it was read per object and delivered.
Known arrival route
The owner can say which objects were uploaded directly and which came through Sippy or Super Slurper.
Reconciled listing
Object count and total bytes in the manifest match the bucket's own metrics for the listing date.
Immutable keys
Keys carry a content hash or unique ID, which shows objects were added, not overwritten in place.
Rights traceable per prefix
Each prefix maps to one kind of content with one answer to who owns it.
System export
Cloudflare R2 dataset
Free egress decides what is in the bucket, and migration decides how much
R2 charges for storage and operations and nothing for egress, so businesses put there what outsiders read at volume: images and video behind a site, user uploads, podcast audio, published datasets and model weights. The bucket usually sits behind a custom domain on Cloudflare's cache or a Worker with a bucket binding. It holds the published form of files, resized renditions and transcoded segments under keys designed as URLs, not the masters and drafts of a working archive. An object knows its key, its HTTP metadata and whatever custom metadata the uploading code set. Who uploaded it and which listing or post it belongs to are in the application's own database, often D1 or Postgres.
Many R2 buckets began in another cloud. Sippy, Cloudflare's incremental migration, points an R2 bucket at a source bucket in another provider, such as Amazon S3, Google Cloud Storage or Azure Blob Storage, and copies an object only when someone first requests it through R2. Such a bucket is the requested part of the old archive plus everything written since, and nothing on the R2 side says what is missing. Sippy also carries over only user-defined metadata and omits the rest. Super Slurper copies in bulk and is complete as of its job, minus what it skipped, which includes objects in S3 Glacier tiers that need a restore. Either way, expect an object's upload time to be when the copy landed in R2, so original creation dates survive only in key names, custom metadata or the application database.
R2 keeps the present. Its S3 API has not implemented bucket versioning, so a write to an existing key replaces the object and a delete is final. Lifecycle rules expire objects by age and leave no record in the bucket. Event notifications send creates and deletes, lifecycle deletions included, to a Cloudflare Queue, which is history only if a consumer stored them. The exception is a table in Basin Catalog, the managed Apache Iceberg catalog formerly called R2 Data Catalog, whose snapshots record each change until they are expired.
S3-compatible is not S3: what a listing returns and leaves out
R2 implements the core of the S3 API and leaves other operations unimplemented, so check each assumption against R2's current compatibility list and against the bucket. Ask whether any overwritten object has an earlier version, and expect the answer to be no. Ask whether object tags exist, because R2 has listed the tagging calls as unimplemented, and labels an S3 shop would keep in tags usually sit in custom metadata or the key prefix. Public access is switched on per bucket, through a custom domain or an r2.dev address, not per object, so one public bucket can mix files the business owns with files it only hosts. R2 has had no inventory report of its own and has not implemented S3 bucket logging, so any read history is in the HTTP logs of the domain in front, if those were kept.
The object list therefore comes from an S3-compatible listing, run with rclone or the AWS CLI pointed at the R2 endpoint. It returns key, size, ETag, last-modified time and storage class. It does not return content type or custom metadata, which take a HEAD request per key or a Workers binding list that includes them. The ETag is an MD5 of the content only for a single-request upload, and a multipart ETag is built from the hashes of the parts, so comparing ETags with an origin bucket proves less than it seems.
To test a sample, reconcile object count and bytes with the bucket's metrics for the listing date. Read the metadata of a random set of keys and see how many carry any. Check declared content types against the first bytes, since uploads often arrive as application/octet-stream. Where Sippy was on, ask for the origin's listing too.
What to check before licensing
- Have the data owner and your counsel check Cloudflare's terms for R2 and for its API on exported data and API use.
- Check that publicly served files are the business's own to license, prefix by prefix, since a public bucket can mix owned media with stock, partner and customer content.
- Check that user uploads are covered by the business's terms with those users, and which version of the terms applied when each upload was made.
- Ask whether the bucket was filled by direct upload, Sippy or Super Slurper, and for a Sippy bucket compare its listing with a listing of the origin bucket.
- Ask for the bucket's lifecycle rules and whether objects are overwritten in place, and confirm whether any earlier versions or object tags exist instead of assuming S3 behavior.
- Ask how the object list was produced, when it ran, and whether content type and custom metadata were read for every key.
- Review keys, custom metadata, original filenames and embedded image metadata for personal data, ask how faces and voices in media are handled, and check whether any bucket holds request logs with visitor IPs.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Does an R2 bucket keep earlier versions of overwritten files?
Generally no. R2's S3 API has not implemented bucket versioning, so writing to an existing key replaces the object and a delete removes it. Earlier states survive only where the business wrote each change under a new key, kept its own backups, or stored the data as Iceberg tables with snapshots in Basin Catalog, formerly R2 Data Catalog. Ask the owner which applies.
Is a bucket migrated with Sippy a full copy of the original?
Not necessarily. Sippy copies an object from the source bucket only when it is first requested through R2, so files nobody has requested since exist only at the origin. The result leans toward popular content. If you need the whole archive, ask whether a bulk copy was also run.
What metadata comes with each object?
Each object carries its key, size, ETag, upload time and storage class, plus HTTP metadata such as content type and any custom metadata the uploading code set. R2 holds nothing about who uploaded a file or what it relates to unless the code wrote that into metadata.
Can Iceberg tables stored in R2 be delivered as tables?
Yes. Basin Catalog, formerly R2 Data Catalog, manages Apache Iceberg tables whose data and metadata files are objects in the bucket. A delivery can be an export of chosen tables at a named snapshot, with schema and partition spec, instead of a raw copy of the prefix. Ask how many snapshots are retained if you want change history.
Who owns the files in a publicly served bucket?
Not always the business that serves them. A public bucket can hold the company's own media next to user uploads, licensed stock images and customer files it only hosts. Being reachable at a public URL does not show who owns a file. Ask for ownership by prefix and for the terms that cover user uploads.
Is SourceX affiliated with Cloudflare?
Cloudflare R2 is named to identify the system the records come from. That does not imply a partnership with or endorsement by Cloudflare. The records belong to the business that runs Cloudflare R2, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Enterprise document archives
A company's working files with folders, versions and sharing metadata
- Licensed film, television and stock video libraries
Finished titles, clips and raw footage from a rights holder's catalog, with timed text and per-title rights records
- Amazon S3 bucket contents
Objects copied from chosen buckets or prefixes, with keys, metadata, tags, storage classes and, where versioning was on, noncurrent versions and delete markers
- Google Cloud Storage bucket contents
Objects from chosen buckets and prefixes with their names, system and custom metadata, checksums and any noncurrent generations
- Azure Blob Storage container contents
Blobs copied from chosen containers or paths, with names, blob types, metadata, index tags, access tiers and any snapshots or versions
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.