List workspace flows
curl --request GET \
--url https://api.databar.ai/v1/flows/ \
--header 'x-apikey: <x-apikey>'import requests
url = "https://api.databar.ai/v1/flows/"
headers = {"x-apikey": "<x-apikey>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-apikey': '<x-apikey>'}};
fetch('https://api.databar.ai/v1/flows/', 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.databar.ai/v1/flows/",
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-apikey: <x-apikey>"
],
]);
$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.databar.ai/v1/flows/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-apikey", "<x-apikey>")
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.databar.ai/v1/flows/")
.header("x-apikey", "<x-apikey>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.databar.ai/v1/flows/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-apikey"] = '<x-apikey>'
response = http.request(request)
puts response.read_body[
{
"id": 1,
"name": "Enrich company from domain",
"description": "Takes a domain and returns company name, industry and headcount.",
"inputs": [
{
"id": "domain",
"description": "Company domain",
"type": "text",
"required": true
}
],
"outputs": [
{
"id": "company_name",
"response_field_id": 42
},
{
"id": "industry",
"response_field_id": 43
},
{
"id": "headcount",
"response_field_id": 44
}
],
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-03-15T14:22:00Z"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Flows
List workspace flows
Returns all flows defined in your workspace, ordered by most recently updated.
GET
/
v1
/
flows
/
List workspace flows
curl --request GET \
--url https://api.databar.ai/v1/flows/ \
--header 'x-apikey: <x-apikey>'import requests
url = "https://api.databar.ai/v1/flows/"
headers = {"x-apikey": "<x-apikey>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-apikey': '<x-apikey>'}};
fetch('https://api.databar.ai/v1/flows/', 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.databar.ai/v1/flows/",
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-apikey: <x-apikey>"
],
]);
$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.databar.ai/v1/flows/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-apikey", "<x-apikey>")
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.databar.ai/v1/flows/")
.header("x-apikey", "<x-apikey>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.databar.ai/v1/flows/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-apikey"] = '<x-apikey>'
response = http.request(request)
puts response.read_body[
{
"id": 1,
"name": "Enrich company from domain",
"description": "Takes a domain and returns company name, industry and headcount.",
"inputs": [
{
"id": "domain",
"description": "Company domain",
"type": "text",
"required": true
}
],
"outputs": [
{
"id": "company_name",
"response_field_id": 42
},
{
"id": "industry",
"response_field_id": 43
},
{
"id": "headcount",
"response_field_id": 44
}
],
"created_at": "2026-01-10T09:00:00Z",
"updated_at": "2026-03-15T14:22:00Z"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
API Key for authentication
⌘I