Get execution status by thread ID
curl --request GET \
--url https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status \
--header 'x-api-key: <api-key>'import requests
url = "https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status', 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://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed successfully",
"data": {
"threadId": "b737d8af-a9e0-4251-9714-3fdc1126e5fb",
"workflowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "paused",
"currentNodeId": "",
"state": {},
"completedNodes": [
""
],
"failedNodes": [
""
],
"errors": [
{}
],
"usage": {
"credits": 0,
"usdCost": 0,
"breakdown": {
"ai_model": 0,
"tool": 0,
"sandbox": 0,
"browser": 0,
"workflow": 0,
"media": 0
}
}
}
}Workflow & Agent
Get execution status by thread ID
Check whether a run is still in progress, completed, or failed. Use the thread ID returned when you started the execution to poll for status.
GET
/
api
/
v1
/
workflow
/
manager
/
executions
/
thread
/
{threadId}
/
status
Get execution status by thread ID
curl --request GET \
--url https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status \
--header 'x-api-key: <api-key>'import requests
url = "https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status', 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://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flowra.dev/api/v1/workflow/manager/executions/thread/{threadId}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed successfully",
"data": {
"threadId": "b737d8af-a9e0-4251-9714-3fdc1126e5fb",
"workflowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "paused",
"currentNodeId": "",
"state": {},
"completedNodes": [
""
],
"failedNodes": [
""
],
"errors": [
{}
],
"usage": {
"credits": 0,
"usdCost": 0,
"breakdown": {
"ai_model": 0,
"tool": 0,
"sandbox": 0,
"browser": 0,
"workflow": 0,
"media": 0
}
}
}
}Authorizations
x-api-keyx-api-key & x-username
Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:
Headers
External user (end user) to act as. Optional — if omitted, Flowra uses the project’s default external user. Send a stable username (e.g. customer_alice) only when you need another end-user context.
Path Parameters
Thread ID returned when the execution started
Example:
"b737d8af-a9e0-4251-9714-3fdc1126e5fb"
Response
200 - application/json
Workflow execution status retrieved successfully
Success status
Example:
true
Success message
Example:
"Operation completed successfully"
Show child attributes
Show child attributes
Example:
{ "threadId": "b737d8af-a9e0-4251-9714-3fdc1126e5fb", "workflowId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "status": "paused", "currentNodeId": "", "state": {}, "completedNodes": [""], "failedNodes": [""], "errors": [{}], "usage": { "credits": 0, "usdCost": 0, "breakdown": { "ai_model": 0, "tool": 0, "sandbox": 0, "browser": 0, "workflow": 0, "media": 0 } } }
Was this page helpful?