v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBScaffold Templates
Instantiate Scaffold Template
Create complete infrastructure from scaffold template.
Creates all resources atomically:
- Namespace with configured feature extractors
- Bucket with schema for your data structure
- Collection linked to bucket with feature config
- Retriever with search pipeline stages
All resources are empty, ready for data upload.
Next Steps:
- Upload data: POST /v1/buckets/{bucket_id}/objects
- Process batch: POST /v1/collections/{collection_id}/batches
- Search: POST /v1/retrievers/{retriever_id}/retrieve
Example Request:
{
"namespace_name": "my_video_app",
"namespace_description": "Video search application"
}
post/v1/templates/scaffolds/{template_id}/instantiate
Path parameters
template_idstring required
Scaffold template ID
Scaffold template ID
Request body
Example request
{
"namespace_name": "my_video_app"
}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"
}