Apply a YAML manifest to create resources.
Creates all resources defined in the manifest file in dependency order. Fails if any resource already exists (create-only mode). Performs automatic rollback if any resource creation fails.
Features:
${{ secrets.NAME }}) are resolved from organization secretsExample:
curl -X POST /v1/manifest/apply \
-H "Authorization: Bearer $API_KEY" \
-H "X-Namespace-Id: ns_xxx" \
-F "[email protected]"
Example manifest:
version: "1.0"
metadata:
name: "my-environment"
namespaces:
- name: video_search
feature_extractors:
- name: multimodal_extractor
version: v1
buckets:
- name: raw_videos
namespace: video_search
schema:
properties:
video: { type: video }
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
Validate only, don't create resources
YAML manifest file
Successful Response
Result of applying a manifest.
Whether all resources were created successfully
Results for each resource
Number of resources created
Number of resources that failed
Number of resources skipped
Error messages
Whether rollback was performed due to failure
Whether this was a dry run (no changes made)