v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBScaffold Templates
Get Or Create Default Namespace
Get or create the default universal namespace.
Returns the existing default namespace if one exists, or creates a new one using the universal template. This is the primary onboarding entry point — Studio calls this on first upload to ensure a namespace exists without requiring the user to choose a template.
The default namespace supports all file types (video, image, audio, PDF, text) with pre-configured extractors and a universal retriever.
If the request carries an X-Namespace header that resolves to an existing writable org namespace (e.g. one just created via the wizard), the scaffold is provisioned into THAT namespace instead of creating a "default" one.
post/v1/templates/scaffolds/default
Response
Successful Response
Example response
{
"bucket_id": "bkt_xyz789",
"bucket_name": "videos",
"collection_id": "col_def456",
"collection_name": "video_embeddings",
"created_at": "2025-01-15T12:00:00Z",
"namespace_id": "ns_abc123",
"namespace_name": "my_video_app",
"retriever_id": "ret_ghi012",
"retriever_name": "video_search",
"status": "created",
"template_id": "tmpl_scaffold_video_understanding"
}