curl --request POST \
--url https://app.apigene.ai/api/org/settings/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"proxy_server_url": "<string>",
"model_registry": {
"selected": "<string>",
"available_models": [
{
"id": "<string>",
"provider": "<string>",
"apiKey": "<string>",
"baseURL": "<string>",
"model": "<string>",
"modelVersion": "<string>",
"modelSettings": {},
"headers": {},
"queryParams": {},
"providerSpecificOptions": {}
}
]
},
"product_visual_settings": {
"sidebar_icon": "<string>",
"product_name": "<string>",
"copilot_icon": "<string>",
"copilot_welcome_text": "<string>",
"copilot_welcome_image": "<string>"
},
"webhook_config": {
"url": "<string>",
"headers": {},
"connect_timeout": 30,
"read_timeout": 30,
"retry_count": 2,
"retry_delay": 5
},
"interaction_cache": {
"enabled": false,
"ttl_sec": 3600,
"operation_type": "both"
},
"interaction_recording": {
"mode": "full"
},
"workflow_recording": {
"mode": "full"
},
"response_size_control": {
"enabled": false,
"max_size_bytes": 100000,
"handling_mode": "auto_truncate"
},
"json_compression": {
"enabled": false,
"min_compression_ratio": 5,
"mode": "json-compact"
},
"pii_sanitization": {
"enabled": false,
"patterns": {}
},
"mock_execution": {
"enabled": false,
"use_llm_fallback": false
}
}
'import requests
url = "https://app.apigene.ai/api/org/settings/update"
payload = {
"proxy_server_url": "<string>",
"model_registry": {
"selected": "<string>",
"available_models": [
{
"id": "<string>",
"provider": "<string>",
"apiKey": "<string>",
"baseURL": "<string>",
"model": "<string>",
"modelVersion": "<string>",
"modelSettings": {},
"headers": {},
"queryParams": {},
"providerSpecificOptions": {}
}
]
},
"product_visual_settings": {
"sidebar_icon": "<string>",
"product_name": "<string>",
"copilot_icon": "<string>",
"copilot_welcome_text": "<string>",
"copilot_welcome_image": "<string>"
},
"webhook_config": {
"url": "<string>",
"headers": {},
"connect_timeout": 30,
"read_timeout": 30,
"retry_count": 2,
"retry_delay": 5
},
"interaction_cache": {
"enabled": False,
"ttl_sec": 3600,
"operation_type": "both"
},
"interaction_recording": { "mode": "full" },
"workflow_recording": { "mode": "full" },
"response_size_control": {
"enabled": False,
"max_size_bytes": 100000,
"handling_mode": "auto_truncate"
},
"json_compression": {
"enabled": False,
"min_compression_ratio": 5,
"mode": "json-compact"
},
"pii_sanitization": {
"enabled": False,
"patterns": {}
},
"mock_execution": {
"enabled": False,
"use_llm_fallback": False
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
proxy_server_url: '<string>',
model_registry: {
selected: '<string>',
available_models: [
{
id: '<string>',
provider: '<string>',
apiKey: '<string>',
baseURL: '<string>',
model: '<string>',
modelVersion: '<string>',
modelSettings: {},
headers: {},
queryParams: {},
providerSpecificOptions: {}
}
]
},
product_visual_settings: {
sidebar_icon: '<string>',
product_name: '<string>',
copilot_icon: '<string>',
copilot_welcome_text: '<string>',
copilot_welcome_image: '<string>'
},
webhook_config: {
url: '<string>',
headers: {},
connect_timeout: 30,
read_timeout: 30,
retry_count: 2,
retry_delay: 5
},
interaction_cache: {enabled: false, ttl_sec: 3600, operation_type: 'both'},
interaction_recording: {mode: 'full'},
workflow_recording: {mode: 'full'},
response_size_control: {enabled: false, max_size_bytes: 100000, handling_mode: 'auto_truncate'},
json_compression: {enabled: false, min_compression_ratio: 5, mode: 'json-compact'},
pii_sanitization: {enabled: false, patterns: {}},
mock_execution: {enabled: false, use_llm_fallback: false}
})
};
fetch('https://app.apigene.ai/api/org/settings/update', 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://app.apigene.ai/api/org/settings/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'proxy_server_url' => '<string>',
'model_registry' => [
'selected' => '<string>',
'available_models' => [
[
'id' => '<string>',
'provider' => '<string>',
'apiKey' => '<string>',
'baseURL' => '<string>',
'model' => '<string>',
'modelVersion' => '<string>',
'modelSettings' => [
],
'headers' => [
],
'queryParams' => [
],
'providerSpecificOptions' => [
]
]
]
],
'product_visual_settings' => [
'sidebar_icon' => '<string>',
'product_name' => '<string>',
'copilot_icon' => '<string>',
'copilot_welcome_text' => '<string>',
'copilot_welcome_image' => '<string>'
],
'webhook_config' => [
'url' => '<string>',
'headers' => [
],
'connect_timeout' => 30,
'read_timeout' => 30,
'retry_count' => 2,
'retry_delay' => 5
],
'interaction_cache' => [
'enabled' => false,
'ttl_sec' => 3600,
'operation_type' => 'both'
],
'interaction_recording' => [
'mode' => 'full'
],
'workflow_recording' => [
'mode' => 'full'
],
'response_size_control' => [
'enabled' => false,
'max_size_bytes' => 100000,
'handling_mode' => 'auto_truncate'
],
'json_compression' => [
'enabled' => false,
'min_compression_ratio' => 5,
'mode' => 'json-compact'
],
'pii_sanitization' => [
'enabled' => false,
'patterns' => [
]
],
'mock_execution' => [
'enabled' => false,
'use_llm_fallback' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.apigene.ai/api/org/settings/update"
payload := strings.NewReader("{\n \"proxy_server_url\": \"<string>\",\n \"model_registry\": {\n \"selected\": \"<string>\",\n \"available_models\": [\n {\n \"id\": \"<string>\",\n \"provider\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"baseURL\": \"<string>\",\n \"model\": \"<string>\",\n \"modelVersion\": \"<string>\",\n \"modelSettings\": {},\n \"headers\": {},\n \"queryParams\": {},\n \"providerSpecificOptions\": {}\n }\n ]\n },\n \"product_visual_settings\": {\n \"sidebar_icon\": \"<string>\",\n \"product_name\": \"<string>\",\n \"copilot_icon\": \"<string>\",\n \"copilot_welcome_text\": \"<string>\",\n \"copilot_welcome_image\": \"<string>\"\n },\n \"webhook_config\": {\n \"url\": \"<string>\",\n \"headers\": {},\n \"connect_timeout\": 30,\n \"read_timeout\": 30,\n \"retry_count\": 2,\n \"retry_delay\": 5\n },\n \"interaction_cache\": {\n \"enabled\": false,\n \"ttl_sec\": 3600,\n \"operation_type\": \"both\"\n },\n \"interaction_recording\": {\n \"mode\": \"full\"\n },\n \"workflow_recording\": {\n \"mode\": \"full\"\n },\n \"response_size_control\": {\n \"enabled\": false,\n \"max_size_bytes\": 100000,\n \"handling_mode\": \"auto_truncate\"\n },\n \"json_compression\": {\n \"enabled\": false,\n \"min_compression_ratio\": 5,\n \"mode\": \"json-compact\"\n },\n \"pii_sanitization\": {\n \"enabled\": false,\n \"patterns\": {}\n },\n \"mock_execution\": {\n \"enabled\": false,\n \"use_llm_fallback\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.apigene.ai/api/org/settings/update")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"proxy_server_url\": \"<string>\",\n \"model_registry\": {\n \"selected\": \"<string>\",\n \"available_models\": [\n {\n \"id\": \"<string>\",\n \"provider\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"baseURL\": \"<string>\",\n \"model\": \"<string>\",\n \"modelVersion\": \"<string>\",\n \"modelSettings\": {},\n \"headers\": {},\n \"queryParams\": {},\n \"providerSpecificOptions\": {}\n }\n ]\n },\n \"product_visual_settings\": {\n \"sidebar_icon\": \"<string>\",\n \"product_name\": \"<string>\",\n \"copilot_icon\": \"<string>\",\n \"copilot_welcome_text\": \"<string>\",\n \"copilot_welcome_image\": \"<string>\"\n },\n \"webhook_config\": {\n \"url\": \"<string>\",\n \"headers\": {},\n \"connect_timeout\": 30,\n \"read_timeout\": 30,\n \"retry_count\": 2,\n \"retry_delay\": 5\n },\n \"interaction_cache\": {\n \"enabled\": false,\n \"ttl_sec\": 3600,\n \"operation_type\": \"both\"\n },\n \"interaction_recording\": {\n \"mode\": \"full\"\n },\n \"workflow_recording\": {\n \"mode\": \"full\"\n },\n \"response_size_control\": {\n \"enabled\": false,\n \"max_size_bytes\": 100000,\n \"handling_mode\": \"auto_truncate\"\n },\n \"json_compression\": {\n \"enabled\": false,\n \"min_compression_ratio\": 5,\n \"mode\": \"json-compact\"\n },\n \"pii_sanitization\": {\n \"enabled\": false,\n \"patterns\": {}\n },\n \"mock_execution\": {\n \"enabled\": false,\n \"use_llm_fallback\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.apigene.ai/api/org/settings/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"proxy_server_url\": \"<string>\",\n \"model_registry\": {\n \"selected\": \"<string>\",\n \"available_models\": [\n {\n \"id\": \"<string>\",\n \"provider\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"baseURL\": \"<string>\",\n \"model\": \"<string>\",\n \"modelVersion\": \"<string>\",\n \"modelSettings\": {},\n \"headers\": {},\n \"queryParams\": {},\n \"providerSpecificOptions\": {}\n }\n ]\n },\n \"product_visual_settings\": {\n \"sidebar_icon\": \"<string>\",\n \"product_name\": \"<string>\",\n \"copilot_icon\": \"<string>\",\n \"copilot_welcome_text\": \"<string>\",\n \"copilot_welcome_image\": \"<string>\"\n },\n \"webhook_config\": {\n \"url\": \"<string>\",\n \"headers\": {},\n \"connect_timeout\": 30,\n \"read_timeout\": 30,\n \"retry_count\": 2,\n \"retry_delay\": 5\n },\n \"interaction_cache\": {\n \"enabled\": false,\n \"ttl_sec\": 3600,\n \"operation_type\": \"both\"\n },\n \"interaction_recording\": {\n \"mode\": \"full\"\n },\n \"workflow_recording\": {\n \"mode\": \"full\"\n },\n \"response_size_control\": {\n \"enabled\": false,\n \"max_size_bytes\": 100000,\n \"handling_mode\": \"auto_truncate\"\n },\n \"json_compression\": {\n \"enabled\": false,\n \"min_compression_ratio\": 5,\n \"mode\": \"json-compact\"\n },\n \"pii_sanitization\": {\n \"enabled\": false,\n \"patterns\": {}\n },\n \"mock_execution\": {\n \"enabled\": false,\n \"use_llm_fallback\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Org Settings Update
curl --request POST \
--url https://app.apigene.ai/api/org/settings/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"proxy_server_url": "<string>",
"model_registry": {
"selected": "<string>",
"available_models": [
{
"id": "<string>",
"provider": "<string>",
"apiKey": "<string>",
"baseURL": "<string>",
"model": "<string>",
"modelVersion": "<string>",
"modelSettings": {},
"headers": {},
"queryParams": {},
"providerSpecificOptions": {}
}
]
},
"product_visual_settings": {
"sidebar_icon": "<string>",
"product_name": "<string>",
"copilot_icon": "<string>",
"copilot_welcome_text": "<string>",
"copilot_welcome_image": "<string>"
},
"webhook_config": {
"url": "<string>",
"headers": {},
"connect_timeout": 30,
"read_timeout": 30,
"retry_count": 2,
"retry_delay": 5
},
"interaction_cache": {
"enabled": false,
"ttl_sec": 3600,
"operation_type": "both"
},
"interaction_recording": {
"mode": "full"
},
"workflow_recording": {
"mode": "full"
},
"response_size_control": {
"enabled": false,
"max_size_bytes": 100000,
"handling_mode": "auto_truncate"
},
"json_compression": {
"enabled": false,
"min_compression_ratio": 5,
"mode": "json-compact"
},
"pii_sanitization": {
"enabled": false,
"patterns": {}
},
"mock_execution": {
"enabled": false,
"use_llm_fallback": false
}
}
'import requests
url = "https://app.apigene.ai/api/org/settings/update"
payload = {
"proxy_server_url": "<string>",
"model_registry": {
"selected": "<string>",
"available_models": [
{
"id": "<string>",
"provider": "<string>",
"apiKey": "<string>",
"baseURL": "<string>",
"model": "<string>",
"modelVersion": "<string>",
"modelSettings": {},
"headers": {},
"queryParams": {},
"providerSpecificOptions": {}
}
]
},
"product_visual_settings": {
"sidebar_icon": "<string>",
"product_name": "<string>",
"copilot_icon": "<string>",
"copilot_welcome_text": "<string>",
"copilot_welcome_image": "<string>"
},
"webhook_config": {
"url": "<string>",
"headers": {},
"connect_timeout": 30,
"read_timeout": 30,
"retry_count": 2,
"retry_delay": 5
},
"interaction_cache": {
"enabled": False,
"ttl_sec": 3600,
"operation_type": "both"
},
"interaction_recording": { "mode": "full" },
"workflow_recording": { "mode": "full" },
"response_size_control": {
"enabled": False,
"max_size_bytes": 100000,
"handling_mode": "auto_truncate"
},
"json_compression": {
"enabled": False,
"min_compression_ratio": 5,
"mode": "json-compact"
},
"pii_sanitization": {
"enabled": False,
"patterns": {}
},
"mock_execution": {
"enabled": False,
"use_llm_fallback": False
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
proxy_server_url: '<string>',
model_registry: {
selected: '<string>',
available_models: [
{
id: '<string>',
provider: '<string>',
apiKey: '<string>',
baseURL: '<string>',
model: '<string>',
modelVersion: '<string>',
modelSettings: {},
headers: {},
queryParams: {},
providerSpecificOptions: {}
}
]
},
product_visual_settings: {
sidebar_icon: '<string>',
product_name: '<string>',
copilot_icon: '<string>',
copilot_welcome_text: '<string>',
copilot_welcome_image: '<string>'
},
webhook_config: {
url: '<string>',
headers: {},
connect_timeout: 30,
read_timeout: 30,
retry_count: 2,
retry_delay: 5
},
interaction_cache: {enabled: false, ttl_sec: 3600, operation_type: 'both'},
interaction_recording: {mode: 'full'},
workflow_recording: {mode: 'full'},
response_size_control: {enabled: false, max_size_bytes: 100000, handling_mode: 'auto_truncate'},
json_compression: {enabled: false, min_compression_ratio: 5, mode: 'json-compact'},
pii_sanitization: {enabled: false, patterns: {}},
mock_execution: {enabled: false, use_llm_fallback: false}
})
};
fetch('https://app.apigene.ai/api/org/settings/update', 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://app.apigene.ai/api/org/settings/update",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'proxy_server_url' => '<string>',
'model_registry' => [
'selected' => '<string>',
'available_models' => [
[
'id' => '<string>',
'provider' => '<string>',
'apiKey' => '<string>',
'baseURL' => '<string>',
'model' => '<string>',
'modelVersion' => '<string>',
'modelSettings' => [
],
'headers' => [
],
'queryParams' => [
],
'providerSpecificOptions' => [
]
]
]
],
'product_visual_settings' => [
'sidebar_icon' => '<string>',
'product_name' => '<string>',
'copilot_icon' => '<string>',
'copilot_welcome_text' => '<string>',
'copilot_welcome_image' => '<string>'
],
'webhook_config' => [
'url' => '<string>',
'headers' => [
],
'connect_timeout' => 30,
'read_timeout' => 30,
'retry_count' => 2,
'retry_delay' => 5
],
'interaction_cache' => [
'enabled' => false,
'ttl_sec' => 3600,
'operation_type' => 'both'
],
'interaction_recording' => [
'mode' => 'full'
],
'workflow_recording' => [
'mode' => 'full'
],
'response_size_control' => [
'enabled' => false,
'max_size_bytes' => 100000,
'handling_mode' => 'auto_truncate'
],
'json_compression' => [
'enabled' => false,
'min_compression_ratio' => 5,
'mode' => 'json-compact'
],
'pii_sanitization' => [
'enabled' => false,
'patterns' => [
]
],
'mock_execution' => [
'enabled' => false,
'use_llm_fallback' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.apigene.ai/api/org/settings/update"
payload := strings.NewReader("{\n \"proxy_server_url\": \"<string>\",\n \"model_registry\": {\n \"selected\": \"<string>\",\n \"available_models\": [\n {\n \"id\": \"<string>\",\n \"provider\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"baseURL\": \"<string>\",\n \"model\": \"<string>\",\n \"modelVersion\": \"<string>\",\n \"modelSettings\": {},\n \"headers\": {},\n \"queryParams\": {},\n \"providerSpecificOptions\": {}\n }\n ]\n },\n \"product_visual_settings\": {\n \"sidebar_icon\": \"<string>\",\n \"product_name\": \"<string>\",\n \"copilot_icon\": \"<string>\",\n \"copilot_welcome_text\": \"<string>\",\n \"copilot_welcome_image\": \"<string>\"\n },\n \"webhook_config\": {\n \"url\": \"<string>\",\n \"headers\": {},\n \"connect_timeout\": 30,\n \"read_timeout\": 30,\n \"retry_count\": 2,\n \"retry_delay\": 5\n },\n \"interaction_cache\": {\n \"enabled\": false,\n \"ttl_sec\": 3600,\n \"operation_type\": \"both\"\n },\n \"interaction_recording\": {\n \"mode\": \"full\"\n },\n \"workflow_recording\": {\n \"mode\": \"full\"\n },\n \"response_size_control\": {\n \"enabled\": false,\n \"max_size_bytes\": 100000,\n \"handling_mode\": \"auto_truncate\"\n },\n \"json_compression\": {\n \"enabled\": false,\n \"min_compression_ratio\": 5,\n \"mode\": \"json-compact\"\n },\n \"pii_sanitization\": {\n \"enabled\": false,\n \"patterns\": {}\n },\n \"mock_execution\": {\n \"enabled\": false,\n \"use_llm_fallback\": false\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.apigene.ai/api/org/settings/update")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"proxy_server_url\": \"<string>\",\n \"model_registry\": {\n \"selected\": \"<string>\",\n \"available_models\": [\n {\n \"id\": \"<string>\",\n \"provider\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"baseURL\": \"<string>\",\n \"model\": \"<string>\",\n \"modelVersion\": \"<string>\",\n \"modelSettings\": {},\n \"headers\": {},\n \"queryParams\": {},\n \"providerSpecificOptions\": {}\n }\n ]\n },\n \"product_visual_settings\": {\n \"sidebar_icon\": \"<string>\",\n \"product_name\": \"<string>\",\n \"copilot_icon\": \"<string>\",\n \"copilot_welcome_text\": \"<string>\",\n \"copilot_welcome_image\": \"<string>\"\n },\n \"webhook_config\": {\n \"url\": \"<string>\",\n \"headers\": {},\n \"connect_timeout\": 30,\n \"read_timeout\": 30,\n \"retry_count\": 2,\n \"retry_delay\": 5\n },\n \"interaction_cache\": {\n \"enabled\": false,\n \"ttl_sec\": 3600,\n \"operation_type\": \"both\"\n },\n \"interaction_recording\": {\n \"mode\": \"full\"\n },\n \"workflow_recording\": {\n \"mode\": \"full\"\n },\n \"response_size_control\": {\n \"enabled\": false,\n \"max_size_bytes\": 100000,\n \"handling_mode\": \"auto_truncate\"\n },\n \"json_compression\": {\n \"enabled\": false,\n \"min_compression_ratio\": 5,\n \"mode\": \"json-compact\"\n },\n \"pii_sanitization\": {\n \"enabled\": false,\n \"patterns\": {}\n },\n \"mock_execution\": {\n \"enabled\": false,\n \"use_llm_fallback\": false\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.apigene.ai/api/org/settings/update")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"proxy_server_url\": \"<string>\",\n \"model_registry\": {\n \"selected\": \"<string>\",\n \"available_models\": [\n {\n \"id\": \"<string>\",\n \"provider\": \"<string>\",\n \"apiKey\": \"<string>\",\n \"baseURL\": \"<string>\",\n \"model\": \"<string>\",\n \"modelVersion\": \"<string>\",\n \"modelSettings\": {},\n \"headers\": {},\n \"queryParams\": {},\n \"providerSpecificOptions\": {}\n }\n ]\n },\n \"product_visual_settings\": {\n \"sidebar_icon\": \"<string>\",\n \"product_name\": \"<string>\",\n \"copilot_icon\": \"<string>\",\n \"copilot_welcome_text\": \"<string>\",\n \"copilot_welcome_image\": \"<string>\"\n },\n \"webhook_config\": {\n \"url\": \"<string>\",\n \"headers\": {},\n \"connect_timeout\": 30,\n \"read_timeout\": 30,\n \"retry_count\": 2,\n \"retry_delay\": 5\n },\n \"interaction_cache\": {\n \"enabled\": false,\n \"ttl_sec\": 3600,\n \"operation_type\": \"both\"\n },\n \"interaction_recording\": {\n \"mode\": \"full\"\n },\n \"workflow_recording\": {\n \"mode\": \"full\"\n },\n \"response_size_control\": {\n \"enabled\": false,\n \"max_size_bytes\": 100000,\n \"handling_mode\": \"auto_truncate\"\n },\n \"json_compression\": {\n \"enabled\": false,\n \"min_compression_ratio\": 5,\n \"mode\": \"json-compact\"\n },\n \"pii_sanitization\": {\n \"enabled\": false,\n \"patterns\": {}\n },\n \"mock_execution\": {\n \"enabled\": false,\n \"use_llm_fallback\": false\n }\n}"
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Body
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Configuration for webhook execution
Show child attributes
Show child attributes
Interaction caching configuration
Show child attributes
Show child attributes
Controls what request/response data is persisted for OpenAPI and MCP interactions
Show child attributes
Show child attributes
Controls what workflow run history data is persisted
Show child attributes
Show child attributes
Response size control configuration for managing large API responses
Show child attributes
Show child attributes
JSON compression configuration for reducing response payload sizes
Show child attributes
Show child attributes
PII sanitization configuration for masking sensitive information in API responses
Show child attributes
Show child attributes
Mock execution mode — return OpenAPI-based mock responses instead of calling real APIs
Show child attributes
Show child attributes
Portable model reasoning effort for Copilot chat across providers. None disables forced reasoning; low/medium/high map to each provider's native thinking controls. When unset, Copilot defaults to medium.
none, low, medium, high Response
Successful Response
