List custom API connectors
curl --request GET \
--url https://api.databar.ai/v1/connectors/ \
--header 'x-apikey: <x-apikey>'import requests
url = "https://api.databar.ai/v1/connectors/"
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/connectors/', 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/connectors/",
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/connectors/"
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/connectors/")
.header("x-apikey", "<x-apikey>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.databar.ai/v1/connectors/")
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": "My Scoring API",
"type": "enrichment",
"method": "post",
"url": "https://api.example.com/v1/score",
"headers": [
{
"name": "Authorization",
"value": "Bearer sk-xxx"
}
],
"parameters": [],
"body": [
{
"name": "domain",
"value": ""
}
],
"rate_limit": 10,
"max_concurrency": 5,
"created_at": "2025-01-15T10:30:00Z"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Connectors
List custom API connectors
Returns all custom API connectors configured in your workspace.
GET
/
v1
/
connectors
/
List custom API connectors
curl --request GET \
--url https://api.databar.ai/v1/connectors/ \
--header 'x-apikey: <x-apikey>'import requests
url = "https://api.databar.ai/v1/connectors/"
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/connectors/', 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/connectors/",
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/connectors/"
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/connectors/")
.header("x-apikey", "<x-apikey>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.databar.ai/v1/connectors/")
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": "My Scoring API",
"type": "enrichment",
"method": "post",
"url": "https://api.example.com/v1/score",
"headers": [
{
"name": "Authorization",
"value": "Bearer sk-xxx"
}
],
"parameters": [],
"body": [
{
"name": "domain",
"value": ""
}
],
"rate_limit": 10,
"max_concurrency": 5,
"created_at": "2025-01-15T10:30:00Z"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
API Key for authentication
Response
List of connectors
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I