Workflows
List workflows
Every workflow on your account, with whether it is on and ready to run, its last run and when it runs next.
GET
/
workflows
List workflows
curl --request GET \
--url https://www.orgo.ai/api/workflows \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.orgo.ai/api/workflows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.orgo.ai/api/workflows', 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://www.orgo.ai/api/workflows",
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://www.orgo.ai/api/workflows"
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://www.orgo.ai/api/workflows")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.orgo.ai/api/workflows")
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{
"workflows": [
{
"id": "morning-report",
"name": "Morning report",
"on": true,
"ready": true,
"to_fix": [],
"last_run": {
"run_id": "0d9c6c1e-5b8e-4a59-9d3b-7a1f2c3d4e5f",
"state": "done",
"at": "2026-11-05T14:00:04.000Z"
},
"next_run_at": "2026-11-06T14:00:00.000Z",
"scheduled": true
}
]
}{
"error": "<string>",
"code": "<string>",
"say": "<string>",
"next": "<string>",
"to_fix": [
"<string>"
],
"problems": [
{}
],
"version": 123,
"lines": "<string>"
}{
"error": "<string>",
"code": "<string>",
"say": "<string>",
"next": "<string>",
"to_fix": [
"<string>"
],
"problems": [
{}
],
"version": 123,
"lines": "<string>"
}{
"error": "Too many API requests this minute (120 a minute on your plan). Try again in 12 seconds.",
"code": "rate_limited",
"limit": "api_other_per_minute",
"retry_after": 12
}{
"error": "Service temporarily unavailable. The database is not accepting requests. Retry shortly."
}Returns your workflows. Use it to find a workflow’s
id, and to see at a glance which ones can run.
Workflows are in preview. Where they aren’t open to your account, this endpoint answers a bare
404 with no body.Response
Every workflow.
Show Workflow
Show Workflow
Example
curl https://www.orgo.ai/api/workflows \
-H "Authorization: Bearer $ORGO_API_KEY"
import os, requests
r = requests.get(
"https://www.orgo.ai/api/workflows",
headers={"Authorization": f"Bearer {os.environ['ORGO_API_KEY']}"},
)
for w in r.json()["workflows"]:
print(w["id"], "on" if w["on"] else "off", w["to_fix"])
const r = await fetch("https://www.orgo.ai/api/workflows", {
headers: { Authorization: `Bearer ${process.env.ORGO_API_KEY}` },
});
const { workflows } = await r.json();
Response
{
"workflows": [
{
"id": "morning-report",
"name": "Morning report",
"on": true,
"ready": true,
"to_fix": [],
"last_run": { "run_id": "0d9c6c1e-5b8e-4a59-9d3b-7a1f2c3d4e5f", "state": "done", "at": "2026-11-05T14:00:04.000Z" },
"next_run_at": "2026-11-06T14:00:00.000Z",
"scheduled": true
}
]
}
Errors
| Status | Body | When |
|---|---|---|
401 | { "error": "…" } | No Authorization header, or a key Orgo doesn’t know. Carries WWW-Authenticate. |
403 | { "error": "…", "code": "key_permission" } | A restricted key without Workflows read. |
404 | (no body) | Workflows aren’t open to your account. |
429 | { "error": "…", "code": "rate_limited", "limit": "api_other_per_minute", "retry_after": 30 } | Your plan’s rate limit for other API calls. Carries Retry-After. See Plan rate limits. |
503 | { "error": "Service temporarily unavailable. …" } | Orgo couldn’t verify the key because of a server-side fault. Retry. Carries Retry-After: 5. |
⌘I
List workflows
curl --request GET \
--url https://www.orgo.ai/api/workflows \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.orgo.ai/api/workflows"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.orgo.ai/api/workflows', 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://www.orgo.ai/api/workflows",
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://www.orgo.ai/api/workflows"
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://www.orgo.ai/api/workflows")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.orgo.ai/api/workflows")
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{
"workflows": [
{
"id": "morning-report",
"name": "Morning report",
"on": true,
"ready": true,
"to_fix": [],
"last_run": {
"run_id": "0d9c6c1e-5b8e-4a59-9d3b-7a1f2c3d4e5f",
"state": "done",
"at": "2026-11-05T14:00:04.000Z"
},
"next_run_at": "2026-11-06T14:00:00.000Z",
"scheduled": true
}
]
}{
"error": "<string>",
"code": "<string>",
"say": "<string>",
"next": "<string>",
"to_fix": [
"<string>"
],
"problems": [
{}
],
"version": 123,
"lines": "<string>"
}{
"error": "<string>",
"code": "<string>",
"say": "<string>",
"next": "<string>",
"to_fix": [
"<string>"
],
"problems": [
{}
],
"version": 123,
"lines": "<string>"
}{
"error": "Too many API requests this minute (120 a minute on your plan). Try again in 12 seconds.",
"code": "rate_limited",
"limit": "api_other_per_minute",
"retry_after": 12
}{
"error": "Service temporarily unavailable. The database is not accepting requests. Retry shortly."
}