Resolved Profile
curl --request GET \
--url https://{deployment}/v1/market-profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://{deployment}/v1/market-profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{deployment}/v1/market-profile', 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://{deployment}/v1/market-profile",
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://{deployment}/v1/market-profile"
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://{deployment}/v1/market-profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{deployment}/v1/market-profile")
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{
"code": "<string>",
"name": "<string>",
"jurisdictions": [
"<string>"
],
"clause_maps": [
"<string>"
],
"locale": "<string>",
"currency": "<string>",
"jurisdiction_packs": [
"<string>"
],
"retention_days": 123,
"fairness_attributes": [
{
"name": "<string>",
"source": "<string>",
"categories": [
"<string>"
],
"enforced_conditions": [
"<string>"
],
"legal_basis": "<string>"
}
],
"incident_regimes": [
{
"code": "<string>",
"authority": "<string>",
"clocks_hours": {},
"note": "<string>"
}
],
"disclosure_regimes": [
"<string>"
],
"forbidden_capabilities": {},
"resolved_from": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Market
Resolved Profile
Which regime applies here, and WHY it was chosen.
“Which laws did this deployment believe applied to this decision, at the moment it was made?” — answerable, with the resolution level attached.
Who may call it: any role. A workspace API key is refused here: this is an act that belongs to a named person.
GET
/
v1
/
market-profile
Resolved Profile
curl --request GET \
--url https://{deployment}/v1/market-profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://{deployment}/v1/market-profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{deployment}/v1/market-profile', 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://{deployment}/v1/market-profile",
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://{deployment}/v1/market-profile"
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://{deployment}/v1/market-profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{deployment}/v1/market-profile")
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{
"code": "<string>",
"name": "<string>",
"jurisdictions": [
"<string>"
],
"clause_maps": [
"<string>"
],
"locale": "<string>",
"currency": "<string>",
"jurisdiction_packs": [
"<string>"
],
"retention_days": 123,
"fairness_attributes": [
{
"name": "<string>",
"source": "<string>",
"categories": [
"<string>"
],
"enforced_conditions": [
"<string>"
],
"legal_basis": "<string>"
}
],
"incident_regimes": [
{
"code": "<string>",
"authority": "<string>",
"clocks_hours": {},
"note": "<string>"
}
],
"disclosure_regimes": [
"<string>"
],
"forbidden_capabilities": {},
"resolved_from": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Response
Successful Response
The regime in force, and what it decides.
