Intelligence
Read Tali workspace policy settings
Requires the configured Aida workspace feature (aida_workspace by default). View permits aida_view/capture/review/settings_manage or full access; mutation requires the action-specific capture, review or settings permission. All records belong to the current organization. Merges current source registry rows with saved settings and includes workflows/action availability and experiment governance.
GET
/
admin
/
aida
/
settings
Read Tali workspace policy settings
curl --request GET \
--url https://api.gratona.com/v1/admin/aida/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/aida/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/aida/settings', 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.gratona.com/v1/admin/aida/settings",
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.gratona.com/v1/admin/aida/settings"
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.gratona.com/v1/admin/aida/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/aida/settings")
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{
"data": {
"sources": [
{
"key": "<string>",
"enabled": true
}
],
"freshness": {
"stale_after_days": 123,
"recheck_before_approval": true,
"block_external_send_when_stale": true
},
"automation": {
"level": "<string>",
"external_send_requires_approval": true,
"enabled_work_types": [
"<string>"
],
"allowed_tool_paths": [
"<string>"
],
"available_tool_paths": [
"<string>"
],
"max_supported_level": "<string>",
"autonomy_policy": {
"approval_required_for_increase": true,
"future_autonomy_blocked": true,
"policy_source": "<string>"
},
"level_change_approval": {
"status": "<string>",
"note": "<string>"
},
"level_change_request": {},
"experiments": {}
},
"notifications": {
"daily_brief": true,
"approval_digest": true,
"blocked_work_alerts": true
},
"pause": {
"paused": true,
"reason": "<string>",
"until": "2023-11-07T05:31:56Z"
},
"workflows": [
{}
],
"actions": [
{}
],
"experiments": [
{}
]
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}⌘I
Read Tali workspace policy settings
curl --request GET \
--url https://api.gratona.com/v1/admin/aida/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/aida/settings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/aida/settings', 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.gratona.com/v1/admin/aida/settings",
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.gratona.com/v1/admin/aida/settings"
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.gratona.com/v1/admin/aida/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/aida/settings")
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{
"data": {
"sources": [
{
"key": "<string>",
"enabled": true
}
],
"freshness": {
"stale_after_days": 123,
"recheck_before_approval": true,
"block_external_send_when_stale": true
},
"automation": {
"level": "<string>",
"external_send_requires_approval": true,
"enabled_work_types": [
"<string>"
],
"allowed_tool_paths": [
"<string>"
],
"available_tool_paths": [
"<string>"
],
"max_supported_level": "<string>",
"autonomy_policy": {
"approval_required_for_increase": true,
"future_autonomy_blocked": true,
"policy_source": "<string>"
},
"level_change_approval": {
"status": "<string>",
"note": "<string>"
},
"level_change_request": {},
"experiments": {}
},
"notifications": {
"daily_brief": true,
"approval_digest": true,
"blocked_work_alerts": true
},
"pause": {
"paused": true,
"reason": "<string>",
"until": "2023-11-07T05:31:56Z"
},
"workflows": [
{}
],
"actions": [
{}
],
"experiments": [
{}
]
}
}{
"message": "Unauthorized",
"status": "error"
}{
"message": "Something went wrong. Please try again.",
"status": "error",
"error": "invalid_request",
"code": "DONOR_NOT_FOUND"
}