For the complete documentation index, see llms.txt. This page is also available as Markdown.

API to run a pipeline with runtime inputs

KB - How to run a pipeline with runtime inputs through API

API to run a pipeline with runtime inputs

This knowledge base article walks you through how you can run a pipeline with runtime inputs through API.

Steps

  1. In the pipeline trigger, create the custom webhook.

  2. Copy the curl command from the webhook

  3. Now in the curl command, you can pass the variable name and value in place of sample key and value at runtime while executing the pipeline.

Example cURL:

curl -X POST -H 'content-type: application/json' --url 'https://app.harness.io/gateway/pipeline/' -d '{"samplekey": "samplevalue"}'

Last updated

Was this helpful?