Get Workflow Run
curl --request GET \
--url https://encrata.com/api/workflows/runs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://encrata.com/api/workflows/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://encrata.com/api/workflows/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://encrata.com/api/workflows/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://encrata.com/api/workflows/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://encrata.com/api/workflows/runs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://encrata.com/api/workflows/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_bodyWorkflows
Get Workflow Run
Get detailed run information including step-by-step results.
GET
/
api
/
workflows
/
runs
/
{id}
Get Workflow Run
curl --request GET \
--url https://encrata.com/api/workflows/runs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://encrata.com/api/workflows/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://encrata.com/api/workflows/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://encrata.com/api/workflows/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://encrata.com/api/workflows/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://encrata.com/api/workflows/runs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://encrata.com/api/workflows/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_bodyAuthentication
Requires a JWT token or API key in theAuthorization header.
Authorization: Bearer YOUR_TOKEN
Request
The run ID.
Example request
curl "https://encrata.com/api/workflows/runs/run_def456" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
{
"id": "run_def456",
"workflow_id": "wf_abc123",
"workflow_name": "Lead enrichment pipeline",
"status": "completed",
"input": { "email": "jane@company.com" },
"steps": [
{
"id": "step1",
"type": "email_lookup",
"status": "completed",
"output": { "name": "Jane Doe", "company": "Acme Inc" },
"duration_ms": 1200,
"credits_used": 1
},
{
"id": "step2",
"type": "company_lookup",
"status": "completed",
"output": { "name": "Acme Inc", "industry": "Technology" },
"duration_ms": 800,
"credits_used": 1
},
{
"id": "step3",
"type": "webhook",
"status": "completed",
"output": { "status_code": 200 },
"duration_ms": 350,
"credits_used": 0
}
],
"credits_used": 2,
"started_at": "2026-06-01T10:00:00Z",
"completed_at": "2026-06-01T10:00:05Z",
"duration_ms": 5200
}
⌘I