Docs / Native API
Run pipeline
POST/api/v1/pipelines/run
Primary native entry: prompt, provider, model, optional thresholds (cache_similarity_threshold, rag_options, pii_options, …). Module on/off is governance policy-driven — not use_* in the JSON body.
Required fields include a text prompt and a catalogue-backed provider/model pair. Optional thresholds and options mirror Pipeline IA settings. Enable modules via governance policies (GET /sdk/pipeline-settings → effective_modules).
curl -sS "$API/api/v1/pipelines/run" \
-H "Authorization: Bearer $TS_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Hello",
"provider": "openai",
"model": "gpt-4o",
"cache_similarity_threshold": 0.85
}'