Launch workflow
POST/workflow/launch
Submits a workflow execution.
Request
Query Parameters
workspaceId int64
Workspace numeric identifier
sourceWorkspaceId int64
Source Optional workspace numeric identifier
- application/json
Bodyrequired
Workflow launch request
launch object
Responses
- 200
- 400
- 403
OK
- application/json
- Schema
- Example (auto)
Schema
workflowIdstring
{
"workflowId": "string"
}
Bad request
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Operation not allowed
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- python
- curl
- java
- r
- javascript
- go
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
import json
conn = http.client.HTTPSConnection("docs.seqera.io")
payload = ''
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer <token>'
}
conn.request("POST", "/workflow/launch", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))