Trigger REST API #148
mehmettokgoz
announced in
Backlog
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We currently provide JS/TS and Golang SDKs that exposes the official
trigger()method to start a new workflow run. To support a broader range of use cases, we plan to introduce a REST API endpoint that allows workflows to be started via a simple HTTP call. This will enable developers to trigger workflow runs from environments where our official SDK is not available.A draft version of the API is as follows:
It will be possible to pass configuration options (retries, flow-control) as HTTP headers when calling this endpoint.
Currently, the workaround is to call the workflow endpoint directly. However, this approach is not safe. If the workflow endpoint is temporarily unreachable, the request will fail without retries since it bypasses Upstash Workflow's delivery system for trigger request.
Beta Was this translation helpful? Give feedback.
All reactions