One section of a finished report
curl --request GET \
--url https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}', 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.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}",
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.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}"
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.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}")
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{
"object": "underwriting_section",
"underwriting_id": "<string>",
"section": "<string>",
"description": "<string>",
"content": "<unknown>"
}Underwritings
One section of a finished report
One part of results, exactly as stored. Every figure is
{state, value, reason}: known and zero are established values,
unavailable means it could not be established (see reason),
not_applicable means it doesn’t apply to the deal.
GET
/
v1
/
underwritings
/
{underwriting_id}
/
sections
/
{section}
One section of a finished report
curl --request GET \
--url https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}', 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.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}",
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.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}"
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.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycactus.com/v1/underwritings/{underwriting_id}/sections/{section}")
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{
"object": "underwriting_section",
"underwriting_id": "<string>",
"section": "<string>",
"description": "<string>",
"content": "<unknown>"
}Authorizations
Partner API key issued by Cactus.
Headers
Act for one of your end users (the end_user_ref you pass when
creating underwritings). Limits every underwriting, document and
extraction call to that user's resources. Required on MCP
connections once your account serves end users.
Maximum string length:
255Path Parameters
Available options:
answer, income, revenue, cost, value, buyer, risk, next, critical_assumptions, readiness, property