Get public tenant config
curl --request GET \
--url https://api.example.com/configimport requests
url = "https://api.example.com/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/config', 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.example.com/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/config"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/config")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"brokerageFirmCustomFields": [
{
"key": "<string>",
"validationRules": [
{
"option": "<string>",
"value": "<string>"
}
],
"integrationKey": "<string>"
}
],
"tenantName": "<string>",
"distributionRequest": {
"approveOnSignature": true,
"contractConfig": {
"templateId": "<string>",
"signature": {
"type": "<string>",
"signers": [
{
"role": "<string>",
"anchor": {
"page": {},
"x": 123,
"y": 123,
"height": 123,
"width": 123
},
"mentions": [
{
"page": {},
"x": 123,
"y": 123,
"mention": "<string>",
"width": 123
}
],
"texts": [
{
"page": {},
"x": 123,
"y": 123,
"width": 123,
"maxLength": 123,
"question": "<string>",
"height": 123,
"instruction": "<string>",
"optional": true
}
],
"checkboxes": [
{
"page": {},
"x": 123,
"y": 123,
"size": 123,
"name": "<string>",
"optional": true,
"checked": true
}
]
}
],
"anchor": {
"page": {},
"x": 123,
"y": 123,
"height": 123,
"width": 123
},
"mentions": [
{
"page": {},
"x": 123,
"y": 123,
"mention": "<string>",
"width": 123
}
],
"texts": [
{
"page": {},
"x": 123,
"y": 123,
"width": 123,
"maxLength": 123,
"question": "<string>",
"height": 123,
"instruction": "<string>",
"optional": true
}
],
"checkboxes": [
{
"page": {},
"x": 123,
"y": 123,
"size": 123,
"name": "<string>",
"optional": true,
"checked": true
}
]
}
}
},
"brokerageFirmDocuments": {
"brokerageFirmDocumentsList": [
{
"category": "<string>",
"required": true,
"allowMultiple": true,
"extractionFields": [
{
"key": "<string>",
"type": "<string>",
"sides": [
"<string>"
]
}
],
"compliance": [
{
"promptSlug": "<string>",
"requiredFields": [
"<array>"
],
"validations": [
{
"fieldKey": "<string>",
"reference": {
"fieldKey": "<string>",
"value": "<string>"
},
"duration": {
"amount": 123
},
"pattern": "<string>",
"expectedValue": "<string>",
"numericValue": 123,
"numericMin": 123,
"numericMax": 123,
"errorMessage": "<string>"
}
]
}
]
}
],
"signatureDocumentsList": [
{
"category": "<string>",
"required": true,
"allowMultiple": true,
"extractionFields": [
{
"key": "<string>",
"type": "<string>",
"sides": [
"<string>"
]
}
],
"compliance": [
{
"promptSlug": "<string>",
"requiredFields": [
"<array>"
],
"validations": [
{
"fieldKey": "<string>",
"reference": {
"fieldKey": "<string>",
"value": "<string>"
},
"duration": {
"amount": 123
},
"pattern": "<string>",
"expectedValue": "<string>",
"numericValue": 123,
"numericMin": 123,
"numericMax": 123,
"errorMessage": "<string>"
}
]
}
]
}
]
},
"reports": [
{
"type": "<string>",
"columnsMapping": [
{}
],
"availableProductIds": [
"<string>"
],
"allowedBusinessRoles": [
"<string>"
],
"automations": [
{}
]
}
],
"ai": {
"classification": {
"enabled": true,
"interfaces": {
"policyholderDashboard": {
"enabled": true,
"systemPromptSlug": "<string>",
"judgePromptSlug": "<string>",
"judges": [
{
"model": "<string>",
"enabled": true
}
]
},
"brokerageFirmDocuments": {
"enabled": true,
"systemPromptSlug": "<string>",
"judgePromptSlug": "<string>",
"judges": [
{
"model": "<string>",
"enabled": true
}
]
},
"nonDelegatedDocuments": {
"enabled": true,
"systemPromptSlug": "<string>",
"judgePromptSlug": "<string>",
"judges": [
{
"model": "<string>",
"enabled": true
}
]
}
}
},
"extraction": {
"enabled": true,
"promptSlug": "<string>"
},
"compliance": {
"enabled": true
},
"conversationSystemPrompt": "<string>"
}
}{
"title": "INVALID_TENANT"
}config
Get public tenant config
GET
/
config
Get public tenant config
curl --request GET \
--url https://api.example.com/configimport requests
url = "https://api.example.com/config"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/config', 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.example.com/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/config"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/config")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"brokerageFirmCustomFields": [
{
"key": "<string>",
"validationRules": [
{
"option": "<string>",
"value": "<string>"
}
],
"integrationKey": "<string>"
}
],
"tenantName": "<string>",
"distributionRequest": {
"approveOnSignature": true,
"contractConfig": {
"templateId": "<string>",
"signature": {
"type": "<string>",
"signers": [
{
"role": "<string>",
"anchor": {
"page": {},
"x": 123,
"y": 123,
"height": 123,
"width": 123
},
"mentions": [
{
"page": {},
"x": 123,
"y": 123,
"mention": "<string>",
"width": 123
}
],
"texts": [
{
"page": {},
"x": 123,
"y": 123,
"width": 123,
"maxLength": 123,
"question": "<string>",
"height": 123,
"instruction": "<string>",
"optional": true
}
],
"checkboxes": [
{
"page": {},
"x": 123,
"y": 123,
"size": 123,
"name": "<string>",
"optional": true,
"checked": true
}
]
}
],
"anchor": {
"page": {},
"x": 123,
"y": 123,
"height": 123,
"width": 123
},
"mentions": [
{
"page": {},
"x": 123,
"y": 123,
"mention": "<string>",
"width": 123
}
],
"texts": [
{
"page": {},
"x": 123,
"y": 123,
"width": 123,
"maxLength": 123,
"question": "<string>",
"height": 123,
"instruction": "<string>",
"optional": true
}
],
"checkboxes": [
{
"page": {},
"x": 123,
"y": 123,
"size": 123,
"name": "<string>",
"optional": true,
"checked": true
}
]
}
}
},
"brokerageFirmDocuments": {
"brokerageFirmDocumentsList": [
{
"category": "<string>",
"required": true,
"allowMultiple": true,
"extractionFields": [
{
"key": "<string>",
"type": "<string>",
"sides": [
"<string>"
]
}
],
"compliance": [
{
"promptSlug": "<string>",
"requiredFields": [
"<array>"
],
"validations": [
{
"fieldKey": "<string>",
"reference": {
"fieldKey": "<string>",
"value": "<string>"
},
"duration": {
"amount": 123
},
"pattern": "<string>",
"expectedValue": "<string>",
"numericValue": 123,
"numericMin": 123,
"numericMax": 123,
"errorMessage": "<string>"
}
]
}
]
}
],
"signatureDocumentsList": [
{
"category": "<string>",
"required": true,
"allowMultiple": true,
"extractionFields": [
{
"key": "<string>",
"type": "<string>",
"sides": [
"<string>"
]
}
],
"compliance": [
{
"promptSlug": "<string>",
"requiredFields": [
"<array>"
],
"validations": [
{
"fieldKey": "<string>",
"reference": {
"fieldKey": "<string>",
"value": "<string>"
},
"duration": {
"amount": 123
},
"pattern": "<string>",
"expectedValue": "<string>",
"numericValue": 123,
"numericMin": 123,
"numericMax": 123,
"errorMessage": "<string>"
}
]
}
]
}
]
},
"reports": [
{
"type": "<string>",
"columnsMapping": [
{}
],
"availableProductIds": [
"<string>"
],
"allowedBusinessRoles": [
"<string>"
],
"automations": [
{}
]
}
],
"ai": {
"classification": {
"enabled": true,
"interfaces": {
"policyholderDashboard": {
"enabled": true,
"systemPromptSlug": "<string>",
"judgePromptSlug": "<string>",
"judges": [
{
"model": "<string>",
"enabled": true
}
]
},
"brokerageFirmDocuments": {
"enabled": true,
"systemPromptSlug": "<string>",
"judgePromptSlug": "<string>",
"judges": [
{
"model": "<string>",
"enabled": true
}
]
},
"nonDelegatedDocuments": {
"enabled": true,
"systemPromptSlug": "<string>",
"judgePromptSlug": "<string>",
"judges": [
{
"model": "<string>",
"enabled": true
}
]
}
}
},
"extraction": {
"enabled": true,
"promptSlug": "<string>"
},
"compliance": {
"enabled": true
},
"conversationSystemPrompt": "<string>"
}
}{
"title": "INVALID_TENANT"
}Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Tenant-level AI configuration (classification, extraction)
Show child attributes
Show child attributes
Was this page helpful?
⌘I

