Das Private Gateway für Claude einrichten (Gerät, Adresse, Für wen)
curl --request POST \
--url https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"connectorId": "<string>",
"url": "<string>",
"bind": "<string>",
"confidentialGroup": "<string>",
"postgresUrl": "<string>"
}
'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
payload = {
"connectorId": "<string>",
"url": "<string>",
"bind": "<string>",
"confidentialGroup": "<string>",
"postgresUrl": "<string>"
}
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({
connectorId: '<string>',
url: '<string>',
bind: '<string>',
confidentialGroup: '<string>',
postgresUrl: '<string>'
})
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway', 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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway",
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([
'connectorId' => '<string>',
'url' => '<string>',
'bind' => '<string>',
'confidentialGroup' => '<string>',
'postgresUrl' => '<string>'
]),
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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
payload := strings.NewReader("{\n \"connectorId\": \"<string>\",\n \"url\": \"<string>\",\n \"bind\": \"<string>\",\n \"confidentialGroup\": \"<string>\",\n \"postgresUrl\": \"<string>\"\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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"connectorId\": \"<string>\",\n \"url\": \"<string>\",\n \"bind\": \"<string>\",\n \"confidentialGroup\": \"<string>\",\n \"postgresUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway")
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 \"connectorId\": \"<string>\",\n \"url\": \"<string>\",\n \"bind\": \"<string>\",\n \"confidentialGroup\": \"<string>\",\n \"postgresUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"gateway": {
"id": "<string>",
"clientId": "<string>",
"device": {
"id": "<string>",
"name": "<string>",
"online": true
},
"url": "<string>",
"bind": "<string>",
"tls": "firm",
"postgresUrl": "<string>",
"profiles": [
{
"id": "<string>",
"name": "<string>",
"groups": [
"<string>"
],
"models": [
"<string>"
],
"webFetch": {
"on": true,
"domains": [
"<string>"
]
},
"confidential": true,
"desktop": true,
"groupNames": [
"<string>"
]
}
],
"upstreams": [
{
"id": "<string>",
"name": "<string>",
"provider": "bedrock",
"region": "<string>"
}
],
"renderedSha": "<string>",
"health": {
"state": "starting",
"version": "<string>",
"ready": true,
"alive": true,
"sha": "<string>",
"restarts": 4503599627370495,
"since": "<string>",
"error": "no-binary",
"issuer": true,
"hooks": {
"listening": true,
"rulesSha": "<string>",
"counts": [
{
"day": "<string>",
"profile": "<string>",
"checked": 4503599627370495,
"blocked": 4503599627370495,
"rules": {}
}
],
"usage": [
{
"day": "<string>",
"profile": "<string>",
"tokensIn": 4503599627370495,
"tokensOut": 4503599627370495,
"tokensCache": 4503599627370495,
"sessions": 4503599627370495
}
]
},
"steps": [
{
"id": "config",
"state": "ok",
"why": "<string>",
"profiles": [
{
"id": "<string>",
"blocked": true,
"passed": true
}
]
}
],
"signinUrl": "<string>",
"spend": {
"ok": true,
"applied": 4503599627370495,
"removed": 4503599627370495,
"rows": [
{
"user": "<string>",
"period": "daily",
"spend": 1,
"limit": 1,
"source": "<string>"
}
],
"error": "<string>"
}
},
"checkedAt": "<string>",
"signedIn": 4503599627370495,
"createdAt": "<string>",
"by": "<string>",
"live": true,
"liveSha": "<string>",
"draft": true,
"test": {
"sha": "<string>",
"at": "<string>",
"by": "<string>",
"steps": [
{
"id": "config",
"state": "ok",
"why": "<string>",
"profiles": [
{
"id": "<string>",
"blocked": true,
"passed": true
}
]
}
],
"passed": true,
"signinUrl": "<string>"
},
"hooks": [
{
"id": "<string>",
"name": "<string>",
"checked": 4503599627370495,
"blocked": 4503599627370495
}
],
"limits": {
"at": "<string>",
"applied": 4503599627370495,
"removed": 4503599627370495,
"skipped": 4503599627370495,
"error": "<string>"
}
},
"text": "<string>"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}Das Private Gateway für Claude einrichten (Gerät, Adresse, Für wen)
Das Private Gateway für Claude einrichten (Gerät, Adresse, Für wen).
Im Chat mit «Mono Admin»: .
POST
/
mandanten
/
{id}
/
claude-gateway
Das Private Gateway für Claude einrichten (Gerät, Adresse, Für wen)
curl --request POST \
--url https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"connectorId": "<string>",
"url": "<string>",
"bind": "<string>",
"confidentialGroup": "<string>",
"postgresUrl": "<string>"
}
'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
payload = {
"connectorId": "<string>",
"url": "<string>",
"bind": "<string>",
"confidentialGroup": "<string>",
"postgresUrl": "<string>"
}
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({
connectorId: '<string>',
url: '<string>',
bind: '<string>',
confidentialGroup: '<string>',
postgresUrl: '<string>'
})
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway', 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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway",
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([
'connectorId' => '<string>',
'url' => '<string>',
'bind' => '<string>',
'confidentialGroup' => '<string>',
'postgresUrl' => '<string>'
]),
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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
payload := strings.NewReader("{\n \"connectorId\": \"<string>\",\n \"url\": \"<string>\",\n \"bind\": \"<string>\",\n \"confidentialGroup\": \"<string>\",\n \"postgresUrl\": \"<string>\"\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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"connectorId\": \"<string>\",\n \"url\": \"<string>\",\n \"bind\": \"<string>\",\n \"confidentialGroup\": \"<string>\",\n \"postgresUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway")
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 \"connectorId\": \"<string>\",\n \"url\": \"<string>\",\n \"bind\": \"<string>\",\n \"confidentialGroup\": \"<string>\",\n \"postgresUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"gateway": {
"id": "<string>",
"clientId": "<string>",
"device": {
"id": "<string>",
"name": "<string>",
"online": true
},
"url": "<string>",
"bind": "<string>",
"tls": "firm",
"postgresUrl": "<string>",
"profiles": [
{
"id": "<string>",
"name": "<string>",
"groups": [
"<string>"
],
"models": [
"<string>"
],
"webFetch": {
"on": true,
"domains": [
"<string>"
]
},
"confidential": true,
"desktop": true,
"groupNames": [
"<string>"
]
}
],
"upstreams": [
{
"id": "<string>",
"name": "<string>",
"provider": "bedrock",
"region": "<string>"
}
],
"renderedSha": "<string>",
"health": {
"state": "starting",
"version": "<string>",
"ready": true,
"alive": true,
"sha": "<string>",
"restarts": 4503599627370495,
"since": "<string>",
"error": "no-binary",
"issuer": true,
"hooks": {
"listening": true,
"rulesSha": "<string>",
"counts": [
{
"day": "<string>",
"profile": "<string>",
"checked": 4503599627370495,
"blocked": 4503599627370495,
"rules": {}
}
],
"usage": [
{
"day": "<string>",
"profile": "<string>",
"tokensIn": 4503599627370495,
"tokensOut": 4503599627370495,
"tokensCache": 4503599627370495,
"sessions": 4503599627370495
}
]
},
"steps": [
{
"id": "config",
"state": "ok",
"why": "<string>",
"profiles": [
{
"id": "<string>",
"blocked": true,
"passed": true
}
]
}
],
"signinUrl": "<string>",
"spend": {
"ok": true,
"applied": 4503599627370495,
"removed": 4503599627370495,
"rows": [
{
"user": "<string>",
"period": "daily",
"spend": 1,
"limit": 1,
"source": "<string>"
}
],
"error": "<string>"
}
},
"checkedAt": "<string>",
"signedIn": 4503599627370495,
"createdAt": "<string>",
"by": "<string>",
"live": true,
"liveSha": "<string>",
"draft": true,
"test": {
"sha": "<string>",
"at": "<string>",
"by": "<string>",
"steps": [
{
"id": "config",
"state": "ok",
"why": "<string>",
"profiles": [
{
"id": "<string>",
"blocked": true,
"passed": true
}
]
}
],
"passed": true,
"signinUrl": "<string>"
},
"hooks": [
{
"id": "<string>",
"name": "<string>",
"checked": 4503599627370495,
"blocked": 4503599627370495
}
],
"limits": {
"at": "<string>",
"applied": 4503599627370495,
"removed": 4503599627370495,
"skipped": 4503599627370495,
"error": "<string>"
}
},
"text": "<string>"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}{
"error": "forbidden",
"message": "Nur für Admins dieses Mandanten",
"reason": "admins_only"
}Autorisierungen
Body
application/json