Get a workflow run
curl --request GET \
--url https://api.tela.com/workflow/runs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tela.com/workflow/runs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tela.com/workflow/runs/{id}', 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://api.tela.com/workflow/runs/{id}",
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 := "https://api.tela.com/workflow/runs/{id}"
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("https://api.tela.com/workflow/runs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tela.com/workflow/runs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "exec_01J9Z8Q4M6N2P8R1S3T5V7W9X",
"promptVersionId": "9d2e4f6a-1b3c-4d5e-8f70-1a2b3c4d5e6f",
"environment": "api",
"status": "completed",
"startedAt": "2026-09-01T12:00:00.000Z",
"completedAt": "2026-09-01T12:00:08.412Z",
"input": {
"invoice": {
"name": "invoice",
"type": "file",
"required": true,
"files": [
{
"fileUrl": "vault://files/invoice-0001.pdf",
"name": "invoice-0001.pdf",
"mimeType": "application/pdf"
}
]
}
},
"steps": [
{
"id": "extract",
"name": "Extract fields",
"actionId": "llm-completion",
"status": "completed",
"input": {
"canvasId": "5f0c1a2e-8b7d-4c3a-9e1f-2d4b6a8c0e12"
},
"output": {
"total": 1250.5
},
"error": null
}
],
"output": {
"id": "extract",
"name": "Extract fields",
"status": "completed",
"output": {
"total": 1250.5
},
"error": null,
"metadata": {}
},
"graph": {
"nodes": [
{
"id": "extract",
"name": "Extract fields",
"actionId": "llm-completion",
"ports": [
{
"id": "in",
"dir": "in",
"type": "flow"
},
{
"id": "out",
"dir": "out",
"type": "flow"
}
],
"status": "completed",
"output": {
"total": 1250.5
},
"error": null
}
],
"edges": []
}
}Workflow runs
Get a workflow run
Returns a single workflow run with its per-step execution results and the executed graph, whose nodes are enriched with status, output and error.
GET
/
workflow
/
runs
/
{id}
Get a workflow run
curl --request GET \
--url https://api.tela.com/workflow/runs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tela.com/workflow/runs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tela.com/workflow/runs/{id}', 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://api.tela.com/workflow/runs/{id}",
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 := "https://api.tela.com/workflow/runs/{id}"
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("https://api.tela.com/workflow/runs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tela.com/workflow/runs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "exec_01J9Z8Q4M6N2P8R1S3T5V7W9X",
"promptVersionId": "9d2e4f6a-1b3c-4d5e-8f70-1a2b3c4d5e6f",
"environment": "api",
"status": "completed",
"startedAt": "2026-09-01T12:00:00.000Z",
"completedAt": "2026-09-01T12:00:08.412Z",
"input": {
"invoice": {
"name": "invoice",
"type": "file",
"required": true,
"files": [
{
"fileUrl": "vault://files/invoice-0001.pdf",
"name": "invoice-0001.pdf",
"mimeType": "application/pdf"
}
]
}
},
"steps": [
{
"id": "extract",
"name": "Extract fields",
"actionId": "llm-completion",
"status": "completed",
"input": {
"canvasId": "5f0c1a2e-8b7d-4c3a-9e1f-2d4b6a8c0e12"
},
"output": {
"total": 1250.5
},
"error": null
}
],
"output": {
"id": "extract",
"name": "Extract fields",
"status": "completed",
"output": {
"total": 1250.5
},
"error": null,
"metadata": {}
},
"graph": {
"nodes": [
{
"id": "extract",
"name": "Extract fields",
"actionId": "llm-completion",
"ports": [
{
"id": "in",
"dir": "in",
"type": "flow"
},
{
"id": "out",
"dir": "out",
"type": "flow"
}
],
"status": "completed",
"output": {
"total": 1250.5
},
"error": null
}
],
"edges": []
}
}Authorizations
Response
The workflow run with its executed graph.
Lifecycle status of a workflow run. Terminal statuses are completed, cancelled, failed and timeout.
requires-action and waiting-for-review are active states where the run is paused for external input.
Available options:
pending, running, completed, failed, requires-action, cancelled, timeout, waiting-for-review