Deploy a Pipeline
After you create and save a pipeline, deploy it to test it in the Playground. Deploying a pipeline is useful for internal testing and debugging where endpoint stability is not a priority. Deploy always uses the latest version of the pipeline, so you can deploy without choosing between drafts and versions.
About This Task
You can run the pipeline in Builder without deploying it, which is useful for quick testing and debugging. To share a pipeline or try it in the Playground, deploy it first. For production use, we recommend publishing to a service that creates a stable endpoint.
When you deploy a new version of a pipeline or redeploy an existing one, the version that's already running keeps handling queries until the new version deploys successfully. Your pipeline stays available the whole time. If the new deployment fails, the current version keeps running, so there's no downtime.
Deploy a Pipeline from the UI
Before deploying, open your pipeline in Builder and check the Issues tab at the bottom of the canvas. It shows all validation problems that could cause the deployment to fail. Click Inspect next to any issue to fix it first, or click Fix with AI to open the AI assistant, which reasons through the fix and can apply it for you.
If your organization has switched off deploying without a service, the Publish dialog doesn't offer that option, so the steps below don't apply. Publish the pipeline to a service instead. For details, see Publish a Pipeline to a Service.
- In Haystack Enterprise Platform, click Pipelines.
- Go to Drafts, find the pipeline you want to deploy, and click its name. To open Builder, click the Build icon in the pipeline's row, or click the name and switch to Build.
- In Builder, click Publish.
- In the Publish pipeline dialog, click Show legacy deploy.
- Select Legacy deploy and click Continue.
Legacy deploy deploys the pipeline without a service or endpoint, which is enough for testing in the Playground. For production use, publish to a service instead, so you get a stable endpoint.
The pipeline is deployed when its status on the Pipelines page changes to deployed. If the status is failed to deploy, see Troubleshoot Pipeline Deployment.
Deploy a Pipeline with the REST API
To deploy a pipeline programmatically, call the Deploy Pipeline endpoint. Like in the UI, it always deploys the latest version of the pipeline.
The REST API and the SDK still deploy a pipeline without a service, even if your organization has switched off this option in the UI.
What To Do Next
To view pipeline information, such as statistics or feedback, click the pipeline name, and go to Analytics.
Deployed pipelines that haven't been used for a while become idle to save resources. The default idle timeout depends on the pipeline service level. By default, production pipelines go on standby after 24 hours of not being used and development pipelines after 20 minutes. You can customize the idle timeout in pipeline settings. An idle pipeline gets automatically activated if you run a search with it or you can trigger the activation manually on the Pipelines page. For more information, see Pipeline Hosting Settings.
Related Information
Was this page helpful?