Das Private Gateway für Claude: Gerät, Adresse, Profile, gemessener Zustand; die Geräte, die es betreiben können
curl --request GET \
--url https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway \
--header 'Authorization: Bearer <token>'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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 => "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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway")
.header("Authorization", "Bearer <token>")
.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::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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>"
}
},
"devices": [
{
"id": "<string>",
"name": "<string>",
"online": true,
"refusal": "url-not-https",
"version": "<string>",
"addresses": [
"<string>"
]
}
],
"upstreams": [
{
"id": "<string>",
"name": "<string>",
"provider": "bedrock",
"region": "<string>"
}
],
"canEdit": true,
"lock": "<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"
}Das Private Gateway für Claude: Gerät, Adresse, Profile, gemessener Zustand; die Geräte, die es betreiben können
Das Private Gateway für Claude: Gerät, Adresse, Profile, gemessener Zustand; die Geräte, die es betreiben können.
Im Chat mit «Mono Admin»: betrieb_status.
GET
/
mandanten
/
{id}
/
claude-gateway
Das Private Gateway für Claude: Gerät, Adresse, Profile, gemessener Zustand; die Geräte, die es betreiben können
curl --request GET \
--url https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway \
--header 'Authorization: Bearer <token>'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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 => "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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway"
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://ki.muster.example/api/v1/mandanten/{id}/claude-gateway")
.header("Authorization", "Bearer <token>")
.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::Get.new(url)
request["Authorization"] = 'Bearer <token>'
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>"
}
},
"devices": [
{
"id": "<string>",
"name": "<string>",
"online": true,
"refusal": "url-not-https",
"version": "<string>",
"addresses": [
"<string>"
]
}
],
"upstreams": [
{
"id": "<string>",
"name": "<string>",
"provider": "bedrock",
"region": "<string>"
}
],
"canEdit": true,
"lock": "<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"
}