cURL
curl --request GET \
--url https://api.firmable.com/decisions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.firmable.com/decisions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.firmable.com/decisions', 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.firmable.com/decisions",
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://api.firmable.com/decisions"
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://api.firmable.com/decisions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.firmable.com/decisions")
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{
"tools": [
{
"name": "is_b2b",
"summary": "<string>",
"subject": "company",
"input_schema": {},
"example": {
"company_id": "f000002437529"
}
}
],
"version": "2026-11-06"
}{
"error": {
"code": "invalid_request",
"message": "withReasoning: must be true or false",
"docs_url": "/decisions"
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "withReasoning: must be true or false",
"docs_url": "/decisions"
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "withReasoning: must be true or false",
"docs_url": "/decisions"
},
"request_id": "<string>"
}Decisions API
List Decision Tools
Lists the decision tools that are switched on. Tools are added and changed without notice, so read this list rather than hard-coding tool names. Not charged.
GET
/
decisions
cURL
curl --request GET \
--url https://api.firmable.com/decisions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.firmable.com/decisions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.firmable.com/decisions', 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.firmable.com/decisions",
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://api.firmable.com/decisions"
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://api.firmable.com/decisions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.firmable.com/decisions")
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{
"tools": [
{
"name": "is_b2b",
"summary": "<string>",
"subject": "company",
"input_schema": {},
"example": {
"company_id": "f000002437529"
}
}
],
"version": "2026-11-06"
}{
"error": {
"code": "invalid_request",
"message": "withReasoning: must be true or false",
"docs_url": "/decisions"
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "withReasoning: must be true or false",
"docs_url": "/decisions"
},
"request_id": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "withReasoning: must be true or false",
"docs_url": "/decisions"
},
"request_id": "<string>"
}Description
Lists the decision tools that are switched on, with what each one answers, who it’s about, the inputs it takes and an example question. Use a tool’sname and example to build a
Make a decision request.
The call is not charged. Tools are added and changed without notice, so read the list rather than
hard-coding tool names.
curl "https://api.firmable.com/decisions" \
-H "Authorization: Bearer fbl_your_key"
Tool fields
| Field | What it is |
|---|---|
name | The tool’s name, sent as tool in a decision request. |
summary | The question the tool answers. |
subject | Who it’s about: company, person, or company or person. |
input_schema | A JSON Schema for the tool’s question. Fields it doesn’t list are rejected. |
example | A valid question for the tool. |
company_id or domain, and a person by person_id, linkedin_url or
work_email. See Decisions for the full guide.
Errors
| Status | Code | When |
|---|---|---|
401 | unauthorized | A missing or invalid API key |
403 | forbidden | The key can’t use this endpoint |
429 | Too many requests. Wait for the number of seconds in the retry-after header | |
502 | upstream_error | The decision service is unavailable. Try again shortly |