v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Public Templates API
Public Scaffolds

Get Scaffold Sample Data

Live per-collection document counts of the scaffold's golden sample namespace (public, no auth required).

Powers the Studio pre-clone preview: what a user actually gets when they clone this scaffold with sample data. Counts are live-derived server-side (cached ~10 min) because golden namespaces are not readable with normal org keys.

get/v1/public/templates/scaffolds/{template_id}/sample-data

Path parameters

template_idstring required

Scaffold template ID

Scaffold template ID

Response

Successful Response

template_idstring required
sample_namespace_idstring nullable
availableboolean required

False when the scaffold has no sample namespace or it could not be read; collections/total are then empty.

total_documentsinteger