Validate Workflow
curl --request POST \
--url https://app.asisso.com/api/v1/workflow/{workflow_id}/validateimport requests
url = "https://app.asisso.com/api/v1/workflow/{workflow_id}/validate"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://app.asisso.com/api/v1/workflow/{workflow_id}/validate', 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://app.asisso.com/api/v1/workflow/{workflow_id}/validate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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 := "https://app.asisso.com/api/v1/workflow/{workflow_id}/validate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.asisso.com/api/v1/workflow/{workflow_id}/validate")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.asisso.com/api/v1/workflow/{workflow_id}/validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"is_valid": true,
"errors": [
{
"id": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Agents
Validate Workflow
Validate a workflow definition without executing it
POST
/
api
/
v1
/
workflow
/
{workflow_id}
/
validate
Validate Workflow
curl --request POST \
--url https://app.asisso.com/api/v1/workflow/{workflow_id}/validateimport requests
url = "https://app.asisso.com/api/v1/workflow/{workflow_id}/validate"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://app.asisso.com/api/v1/workflow/{workflow_id}/validate', 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://app.asisso.com/api/v1/workflow/{workflow_id}/validate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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 := "https://app.asisso.com/api/v1/workflow/{workflow_id}/validate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.asisso.com/api/v1/workflow/{workflow_id}/validate")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.asisso.com/api/v1/workflow/{workflow_id}/validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"is_valid": true,
"errors": [
{
"id": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Checks the current workflow definition for structural errors — missing required fields, invalid node configurations, broken edge references — without placing a call or creating a run.
If invalid, the response includes a list of errors each with a
kind (node, edge, or workflow), the offending id, the field, and a human-readable message. See Errors for the full error schema.⌘I