Events
Indicates a WorkflowExecutionEvent has occurred.
Create a workflow execution event recording a phase transition.
POST
/
api
/
v1
/
events
/
workflows
Indicates a WorkflowExecutionEvent has occurred.
curl --request POST \
--url https://mycluster.domino.tech/flows/api/v1/events/workflows \
--header 'Content-Type: application/json' \
--data '
{
"event": {
"error": {
"code": "<string>",
"error_uri": "<string>",
"kind": "UNKNOWN",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"worker": "<string>"
},
"execution_id": {
"domain": "<string>",
"name": "<string>",
"org": "<string>",
"project": "<string>"
},
"occurred_at": "2023-11-07T05:31:56Z",
"output_data": {
"literals": {}
},
"output_uri": "<string>",
"phase": "UNDEFINED",
"producer_id": "<string>"
},
"request_id": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/flows/api/v1/events/workflows"
payload = {
"event": {
"error": {
"code": "<string>",
"error_uri": "<string>",
"kind": "UNKNOWN",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"worker": "<string>"
},
"execution_id": {
"domain": "<string>",
"name": "<string>",
"org": "<string>",
"project": "<string>"
},
"occurred_at": "2023-11-07T05:31:56Z",
"output_data": { "literals": {} },
"output_uri": "<string>",
"phase": "UNDEFINED",
"producer_id": "<string>"
},
"request_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: {
error: {
code: '<string>',
error_uri: '<string>',
kind: 'UNKNOWN',
message: '<string>',
timestamp: '2023-11-07T05:31:56Z',
worker: '<string>'
},
execution_id: {domain: '<string>', name: '<string>', org: '<string>', project: '<string>'},
occurred_at: '2023-11-07T05:31:56Z',
output_data: {literals: {}},
output_uri: '<string>',
phase: 'UNDEFINED',
producer_id: '<string>'
},
request_id: '<string>'
})
};
fetch('https://mycluster.domino.tech/flows/api/v1/events/workflows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/flows/api/v1/events/workflows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => [
'error' => [
'code' => '<string>',
'error_uri' => '<string>',
'kind' => 'UNKNOWN',
'message' => '<string>',
'timestamp' => '2023-11-07T05:31:56Z',
'worker' => '<string>'
],
'execution_id' => [
'domain' => '<string>',
'name' => '<string>',
'org' => '<string>',
'project' => '<string>'
],
'occurred_at' => '2023-11-07T05:31:56Z',
'output_data' => [
'literals' => [
]
],
'output_uri' => '<string>',
'phase' => 'UNDEFINED',
'producer_id' => '<string>'
],
'request_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/flows/api/v1/events/workflows"
payload := strings.NewReader("{\n \"event\": {\n \"error\": {\n \"code\": \"<string>\",\n \"error_uri\": \"<string>\",\n \"kind\": \"UNKNOWN\",\n \"message\": \"<string>\",\n \"timestamp\": \"2023-11-07T05:31:56Z\",\n \"worker\": \"<string>\"\n },\n \"execution_id\": {\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"org\": \"<string>\",\n \"project\": \"<string>\"\n },\n \"occurred_at\": \"2023-11-07T05:31:56Z\",\n \"output_data\": {\n \"literals\": {}\n },\n \"output_uri\": \"<string>\",\n \"phase\": \"UNDEFINED\",\n \"producer_id\": \"<string>\"\n },\n \"request_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/flows/api/v1/events/workflows")
.header("Content-Type", "application/json")
.body("{\n \"event\": {\n \"error\": {\n \"code\": \"<string>\",\n \"error_uri\": \"<string>\",\n \"kind\": \"UNKNOWN\",\n \"message\": \"<string>\",\n \"timestamp\": \"2023-11-07T05:31:56Z\",\n \"worker\": \"<string>\"\n },\n \"execution_id\": {\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"org\": \"<string>\",\n \"project\": \"<string>\"\n },\n \"occurred_at\": \"2023-11-07T05:31:56Z\",\n \"output_data\": {\n \"literals\": {}\n },\n \"output_uri\": \"<string>\",\n \"phase\": \"UNDEFINED\",\n \"producer_id\": \"<string>\"\n },\n \"request_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/flows/api/v1/events/workflows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": {\n \"error\": {\n \"code\": \"<string>\",\n \"error_uri\": \"<string>\",\n \"kind\": \"UNKNOWN\",\n \"message\": \"<string>\",\n \"timestamp\": \"2023-11-07T05:31:56Z\",\n \"worker\": \"<string>\"\n },\n \"execution_id\": {\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"org\": \"<string>\",\n \"project\": \"<string>\"\n },\n \"occurred_at\": \"2023-11-07T05:31:56Z\",\n \"output_data\": {\n \"literals\": {}\n },\n \"output_uri\": \"<string>\",\n \"phase\": \"UNDEFINED\",\n \"producer_id\": \"<string>\"\n },\n \"request_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}Body
application/json
Request to send a notification that a workflow execution event has occurred.
Response
A successful response.
Purposefully empty, may be populated in the future.
Last modified on August 19, 2026
Was this page helpful?
⌘I
Indicates a WorkflowExecutionEvent has occurred.
curl --request POST \
--url https://mycluster.domino.tech/flows/api/v1/events/workflows \
--header 'Content-Type: application/json' \
--data '
{
"event": {
"error": {
"code": "<string>",
"error_uri": "<string>",
"kind": "UNKNOWN",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"worker": "<string>"
},
"execution_id": {
"domain": "<string>",
"name": "<string>",
"org": "<string>",
"project": "<string>"
},
"occurred_at": "2023-11-07T05:31:56Z",
"output_data": {
"literals": {}
},
"output_uri": "<string>",
"phase": "UNDEFINED",
"producer_id": "<string>"
},
"request_id": "<string>"
}
'import requests
url = "https://mycluster.domino.tech/flows/api/v1/events/workflows"
payload = {
"event": {
"error": {
"code": "<string>",
"error_uri": "<string>",
"kind": "UNKNOWN",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"worker": "<string>"
},
"execution_id": {
"domain": "<string>",
"name": "<string>",
"org": "<string>",
"project": "<string>"
},
"occurred_at": "2023-11-07T05:31:56Z",
"output_data": { "literals": {} },
"output_uri": "<string>",
"phase": "UNDEFINED",
"producer_id": "<string>"
},
"request_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: {
error: {
code: '<string>',
error_uri: '<string>',
kind: 'UNKNOWN',
message: '<string>',
timestamp: '2023-11-07T05:31:56Z',
worker: '<string>'
},
execution_id: {domain: '<string>', name: '<string>', org: '<string>', project: '<string>'},
occurred_at: '2023-11-07T05:31:56Z',
output_data: {literals: {}},
output_uri: '<string>',
phase: 'UNDEFINED',
producer_id: '<string>'
},
request_id: '<string>'
})
};
fetch('https://mycluster.domino.tech/flows/api/v1/events/workflows', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mycluster.domino.tech/flows/api/v1/events/workflows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => [
'error' => [
'code' => '<string>',
'error_uri' => '<string>',
'kind' => 'UNKNOWN',
'message' => '<string>',
'timestamp' => '2023-11-07T05:31:56Z',
'worker' => '<string>'
],
'execution_id' => [
'domain' => '<string>',
'name' => '<string>',
'org' => '<string>',
'project' => '<string>'
],
'occurred_at' => '2023-11-07T05:31:56Z',
'output_data' => [
'literals' => [
]
],
'output_uri' => '<string>',
'phase' => 'UNDEFINED',
'producer_id' => '<string>'
],
'request_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mycluster.domino.tech/flows/api/v1/events/workflows"
payload := strings.NewReader("{\n \"event\": {\n \"error\": {\n \"code\": \"<string>\",\n \"error_uri\": \"<string>\",\n \"kind\": \"UNKNOWN\",\n \"message\": \"<string>\",\n \"timestamp\": \"2023-11-07T05:31:56Z\",\n \"worker\": \"<string>\"\n },\n \"execution_id\": {\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"org\": \"<string>\",\n \"project\": \"<string>\"\n },\n \"occurred_at\": \"2023-11-07T05:31:56Z\",\n \"output_data\": {\n \"literals\": {}\n },\n \"output_uri\": \"<string>\",\n \"phase\": \"UNDEFINED\",\n \"producer_id\": \"<string>\"\n },\n \"request_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mycluster.domino.tech/flows/api/v1/events/workflows")
.header("Content-Type", "application/json")
.body("{\n \"event\": {\n \"error\": {\n \"code\": \"<string>\",\n \"error_uri\": \"<string>\",\n \"kind\": \"UNKNOWN\",\n \"message\": \"<string>\",\n \"timestamp\": \"2023-11-07T05:31:56Z\",\n \"worker\": \"<string>\"\n },\n \"execution_id\": {\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"org\": \"<string>\",\n \"project\": \"<string>\"\n },\n \"occurred_at\": \"2023-11-07T05:31:56Z\",\n \"output_data\": {\n \"literals\": {}\n },\n \"output_uri\": \"<string>\",\n \"phase\": \"UNDEFINED\",\n \"producer_id\": \"<string>\"\n },\n \"request_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mycluster.domino.tech/flows/api/v1/events/workflows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": {\n \"error\": {\n \"code\": \"<string>\",\n \"error_uri\": \"<string>\",\n \"kind\": \"UNKNOWN\",\n \"message\": \"<string>\",\n \"timestamp\": \"2023-11-07T05:31:56Z\",\n \"worker\": \"<string>\"\n },\n \"execution_id\": {\n \"domain\": \"<string>\",\n \"name\": \"<string>\",\n \"org\": \"<string>\",\n \"project\": \"<string>\"\n },\n \"occurred_at\": \"2023-11-07T05:31:56Z\",\n \"output_data\": {\n \"literals\": {}\n },\n \"output_uri\": \"<string>\",\n \"phase\": \"UNDEFINED\",\n \"producer_id\": \"<string>\"\n },\n \"request_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}