App oder eine ihrer Funktionen testen: Probelauf, Schreiben nur simuliert
curl --request POST \
--url https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test', 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}/catalog/{app}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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"
"net/http"
"io"
)
func main() {
url := "https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test"
req, _ := http.NewRequest("POST", url, nil)
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}/catalog/{app}/test")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test")
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'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"subject": {
"kind": "app",
"id": "<string>",
"name": "<string>"
},
"digest": "<string>",
"as": {
"kind": "self",
"id": "<string>",
"name": "<string>",
"standard": true
},
"verdict": "nicht_gestartet",
"text": "<string>",
"said": [
{
"code": "<string>",
"vars": {}
}
],
"next": {
"action": "<string>",
"label": "<string>"
},
"steps": [
{
"title": "<string>",
"tool": "<string>",
"kind": "read",
"mark": "gemessen",
"ms": 4503599627370495,
"note": "<string>"
}
],
"request": "<string>",
"answer": "<string>",
"usage": {
"steps": 4503599627370495,
"calls": 4503599627370495,
"tokens": 4503599627370495,
"ms": 4503599627370495,
"chf": 1,
"model": "<string>",
"provider": "<string>"
},
"at": "<string>",
"by": {
"id": "<string>",
"name": "<string>"
},
"expiresAt": "<string>",
"wissen": {
"client": "<string>",
"klassen": [
"öffentlich"
],
"sprache": "<string>",
"ansichten": 4503599627370495,
"lanes": [
"woertlich"
],
"ms": {
"suche": 4503599627370495,
"gesamt": 4503599627370495,
"budget": 4503599627370495
},
"uebergeben": {
"treffer": 4503599627370495,
"zeichen": 4503599627370495,
"zurueckgehalten": true
},
"ausserhalb": 4503599627370495,
"treffer": [
{
"rang": 123,
"ref": "<string>",
"quelle": "<string>",
"titel": "<string>",
"seite": 4503599627370495,
"abschnitt": 4503599627370495,
"klasse": "öffentlich",
"lanes": {
"woertlich": 4503599627370495,
"woerter": 4503599627370495,
"bedeutung": 4503599627370495
},
"rrf": 1,
"rerank": {
"score": 123,
"vorher": 123
},
"state": "uebergeben"
}
],
"stamp": "<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"
}App oder eine ihrer Funktionen testen: Probelauf, Schreiben nur simuliert
App oder eine ihrer Funktionen testen: Probelauf, Schreiben nur simuliert.
Im Chat mit «Mono Admin»: studio_overview.
POST
/
mandanten
/
{id}
/
catalog
/
{app}
/
test
App oder eine ihrer Funktionen testen: Probelauf, Schreiben nur simuliert
curl --request POST \
--url https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test', 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}/catalog/{app}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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"
"net/http"
"io"
)
func main() {
url := "https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test"
req, _ := http.NewRequest("POST", url, nil)
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}/catalog/{app}/test")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/catalog/{app}/test")
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'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"subject": {
"kind": "app",
"id": "<string>",
"name": "<string>"
},
"digest": "<string>",
"as": {
"kind": "self",
"id": "<string>",
"name": "<string>",
"standard": true
},
"verdict": "nicht_gestartet",
"text": "<string>",
"said": [
{
"code": "<string>",
"vars": {}
}
],
"next": {
"action": "<string>",
"label": "<string>"
},
"steps": [
{
"title": "<string>",
"tool": "<string>",
"kind": "read",
"mark": "gemessen",
"ms": 4503599627370495,
"note": "<string>"
}
],
"request": "<string>",
"answer": "<string>",
"usage": {
"steps": 4503599627370495,
"calls": 4503599627370495,
"tokens": 4503599627370495,
"ms": 4503599627370495,
"chf": 1,
"model": "<string>",
"provider": "<string>"
},
"at": "<string>",
"by": {
"id": "<string>",
"name": "<string>"
},
"expiresAt": "<string>",
"wissen": {
"client": "<string>",
"klassen": [
"öffentlich"
],
"sprache": "<string>",
"ansichten": 4503599627370495,
"lanes": [
"woertlich"
],
"ms": {
"suche": 4503599627370495,
"gesamt": 4503599627370495,
"budget": 4503599627370495
},
"uebergeben": {
"treffer": 4503599627370495,
"zeichen": 4503599627370495,
"zurueckgehalten": true
},
"ausserhalb": 4503599627370495,
"treffer": [
{
"rang": 123,
"ref": "<string>",
"quelle": "<string>",
"titel": "<string>",
"seite": 4503599627370495,
"abschnitt": 4503599627370495,
"klasse": "öffentlich",
"lanes": {
"woertlich": 4503599627370495,
"woerter": 4503599627370495,
"bedeutung": 4503599627370495
},
"rrf": 1,
"rerank": {
"score": 123,
"vorher": 123
},
"state": "uebergeben"
}
],
"stamp": "<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
Pfadparameter
Abfrageparameter
Antwort
Angelegt.