curl --request GET \
--url http://localhost:8080/workflows/definitions \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8080/workflows/definitions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:8080/workflows/definitions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/workflows/definitions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:8080/workflows/definitions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:8080/workflows/definitions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8080/workflows/definitions")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"action_types": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"icon": "<string>",
"input_fields": [
{
"name": "<string>",
"type": "<string>",
"display_name": "<string>",
"required": true,
"description": "<string>"
}
],
"output_fields": [
{
"name": "<string>",
"type": "<string>",
"display_name": "<string>",
"required": true,
"description": "<string>"
}
],
"input_shape": "<unknown>",
"output_shape": "<unknown>",
"supported_trigger_types": [
"<string>"
],
"can_test": true
}
],
"trigger_types": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"payload_def": "<unknown>",
"configuration_def": "<unknown>"
}
],
"block_types": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"operators": [
{
"name": "<string>",
"display_name": "<string>",
"type": "Unary",
"applies_to": [
"String"
]
}
],
"extra_variables": [
"<unknown>"
]
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}[Beta] List available action and trigger types
List all available workflow action types and trigger types with their metadata. Use when managing deterministic workflow definitions and triggering or inspecting their runs.
curl --request GET \
--url http://localhost:8080/workflows/definitions \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8080/workflows/definitions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:8080/workflows/definitions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8080",
CURLOPT_URL => "http://localhost:8080/workflows/definitions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:8080/workflows/definitions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:8080/workflows/definitions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8080/workflows/definitions")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"action_types": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"icon": "<string>",
"input_fields": [
{
"name": "<string>",
"type": "<string>",
"display_name": "<string>",
"required": true,
"description": "<string>"
}
],
"output_fields": [
{
"name": "<string>",
"type": "<string>",
"display_name": "<string>",
"required": true,
"description": "<string>"
}
],
"input_shape": "<unknown>",
"output_shape": "<unknown>",
"supported_trigger_types": [
"<string>"
],
"can_test": true
}
],
"trigger_types": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"icon": "<string>",
"payload_def": "<unknown>",
"configuration_def": "<unknown>"
}
],
"block_types": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"operators": [
{
"name": "<string>",
"display_name": "<string>",
"type": "Unary",
"applies_to": [
"String"
]
}
],
"extra_variables": [
"<unknown>"
]
}{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Default Response
Available action types with their input/output schemas
Show child attributes
Show child attributes
Available trigger types
Show child attributes
Show child attributes
Available control-flow block types
Show child attributes
Show child attributes
Condition operators for if-else blocks, from the engine registry. This is the complete set the runtime evaluates — always pick "operatorName" from this list.
Show child attributes
Show child attributes
Field schemas for the extra reference scopes available in every run, beyond the trigger payload and step outputs. Each entry's "name" is the scope root and its "properties" are the referenceable fields: {{metadata.}} (date/time of the run), {{run.}}, {{workflow.}}, {{organization.}}, and {{variables.}} for the organization's global variables. Leaf scopes have no "properties" and are referenced directly, e.g. {{routingSkills}} — a JSON string of every org skill (name + description).
Was this page helpful?