Get blueprint run status
curl --request GET \
--url https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/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://app.rubiehq.com/api/v1/blueprint-runs/{runId}/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 => [
"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://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status"
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://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status")
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": "run_MQ",
"run_key": "550e8400-e29b-41d4-a716-446655440000",
"status": "running",
"progress_step": "running",
"created_at": "2026-07-31T17:10:00.000Z",
"started_at": "2026-07-31T17:10:05.000Z",
"ended_at": null,
"error": null,
"blueprint_id": "bp_MQ"
}Blueprint Runs
Get Blueprint run status
Poll a Blueprint run until it reaches a terminal state.
GET
/
blueprint-runs
/
{runId}
/
status
Get blueprint run status
curl --request GET \
--url https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/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://app.rubiehq.com/api/v1/blueprint-runs/{runId}/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 => [
"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://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status"
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://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.rubiehq.com/api/v1/blueprint-runs/{runId}/status")
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": "run_MQ",
"run_key": "550e8400-e29b-41d4-a716-446655440000",
"status": "running",
"progress_step": "running",
"created_at": "2026-07-31T17:10:00.000Z",
"started_at": "2026-07-31T17:10:05.000Z",
"ended_at": null,
"error": null,
"blueprint_id": "bp_MQ"
}Returns a customer-safe status projection: lifecycle status, a coarse progress
step, timestamps, and a structured terminal error when failed. Never returns
inputs, outputs, file URLs, or run content.
Poll every 2–5 seconds.
Today every failure uses
curl -s "$RUBIE_API_URL/api/v1/blueprint-runs/run_.../status" \
-H "Authorization: Bearer $RUBIE_API_KEY"
runId accepts either the opaque run_... id or the UUID run_key from the
trigger response.
Status values
| Status | Meaning | Suggested client action |
|---|---|---|
queued | Accepted, not yet executing | Keep polling |
running | In progress | Keep polling |
completed | Succeeded | Stop; mark success in your UI |
failed | Did not complete | Stop; offer retry / escalate |
cancelled | Stopped early | Stop |
progress_step is a coarser lifecycle hint that may
gain Blueprint-defined milestones later — treat it as an open string set.
Terminal errors
Whenstatus is failed, error is present:
error.code | Meaning |
|---|---|
execution_failed | The run did not complete |
execution_failed. More specific Blueprint-defined
codes will be added later without changing this shape — branch on codes you
know and fall back to a generic retry path otherwise.
See Triggering Blueprint runs and
Get Blueprint run results.Authorizations
Your Rubie API key as a bearer token.
Path Parameters
Opaque run_... id from the trigger response (UUID run_key also accepted).
Response
Status projection
Example:
"run_MQ"
Available options:
queued, running, completed, failed, cancelled Coarse lifecycle step. Today it closely tracks status; finer Blueprint-defined milestones will be added later, so treat this as an open string set rather than a fixed enum.
Available options:
queued, authenticating, running, awaiting_review, completed, failed, cancelled, unknown Example:
"bp_MQ"
Present only when status is failed. Today the API returns a single generic code; richer Blueprint-defined codes will be added later without changing this shape, so treat code as an open string set.
Show child attributes
Show child attributes