«Neue App» als Formular: dieselben Schritte und Prüfungen wie der Assistent, angelegt in der Sandbox (SY-12)
curl --request POST \
--url https://ki.muster.example/api/v1/mandanten/{id}/apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"answers": {},
"create": true,
"lang": "<string>"
}
'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/apps"
payload = {
"answers": {},
"create": True,
"lang": "<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({answers: {}, create: true, lang: '<string>'})
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/apps', 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}/apps",
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([
'answers' => [
],
'create' => true,
'lang' => '<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}/apps"
payload := strings.NewReader("{\n \"answers\": {},\n \"create\": true,\n \"lang\": \"<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}/apps")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"answers\": {},\n \"create\": true,\n \"lang\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/apps")
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 \"answers\": {},\n \"create\": true,\n \"lang\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"form": {
"title": "<string>",
"steps": [
{
"key": "<string>",
"label": "<string>",
"question": "<string>",
"required": true,
"done": true,
"value": "<string>",
"standard": "<string>",
"options": [
"<string>"
],
"values": [
"<string>"
],
"groups": [
"<string>"
]
}
],
"problems": [
"<string>"
],
"notes": [
{
"label": "<string>",
"value": "<string>"
}
],
"ready": true,
"proposes": true
},
"created": {
"app": {
"id": "<string>",
"name": "<string>",
"serverId": "<string>",
"purpose": "<string>",
"audience": "all",
"audienceNames": [
"<string>"
],
"systems": [
"<string>"
],
"writes": [
"<string>"
],
"model": "<string>",
"schedule": "<string>",
"status": "sandbox",
"paused": {
"at": "<string>",
"reason": "<string>",
"system": true
},
"createdBy": "<string>",
"createdAt": "<string>",
"tools": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"toolsCustomised": true,
"missing": [
{
"what": "<string>",
"text": "<string>"
}
],
"test": {
"at": "<string>",
"by": "<string>",
"durationMs": 4503599627370495,
"passed": true,
"current": true,
"checks": [
{
"id": "<string>",
"label": "<string>",
"state": "ok",
"text": "<string>",
"said": [
{
"code": "<string>",
"vars": {}
}
]
}
],
"ofLive": true,
"standing": {
"code": "not_run",
"tested": "<string>",
"now": "<string>"
},
"agent": {
"state": "done",
"steps": 4503599627370495,
"tokens": 4503599627370495,
"durationMs": 4503599627370495,
"calls": 4503599627370495,
"refusedWrites": [
"<string>"
],
"report": "<string>",
"text": "<string>",
"dataClass": "öffentlich",
"request": "<string>",
"requestBy": "admin",
"trail": [
{
"tool": "<string>",
"title": "<string>",
"kind": "read",
"outcome": "ok",
"ms": 4503599627370495,
"note": "<string>",
"chars": 4503599627370495,
"mark": "gemessen"
}
],
"probe": {
"id": "<string>",
"verdict": "nicht_gestartet",
"as": {
"kind": "self",
"id": "<string>",
"name": "<string>",
"standard": true
},
"usage": {
"steps": 4503599627370495,
"calls": 4503599627370495,
"tokens": 4503599627370495,
"ms": 4503599627370495,
"chf": 1,
"model": "<string>",
"provider": "<string>"
},
"expiresAt": "<string>"
}
}
},
"live": {
"version": 4503599627370495,
"at": "<string>",
"by": "<string>",
"entry": "<string>",
"prompt": "<string>"
},
"draft": true,
"goLive": {
"ok": true,
"reason": "<string>"
},
"entry": "<string>",
"automation": {
"aufgabe": "<string>",
"state": "<string>",
"nextAt": "<string>",
"schedule": "<string>",
"lastRuns": [
{
"id": "<string>",
"state": "<string>",
"dueAt": "<string>",
"endedAt": "<string>"
}
],
"counts": {
"runs": 4503599627370495,
"failed": 4503599627370495,
"tokens": 4503599627370495
},
"problem": "<string>",
"runs": true
},
"waitsFor": [
"<string>"
],
"grown": {
"reads": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"writes": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"off": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
]
},
"versions": [
{
"version": 4503599627370495,
"at": "<string>",
"by": "<string>",
"name": "<string>",
"tools": 4503599627370495,
"live": true,
"tested": true
}
],
"pinned": {
"at": "<string>",
"by": "<string>"
},
"members": [
{
"id": "<string>",
"name": "<string>",
"kind": "own",
"live": true
}
],
"sample": "<string>",
"suggestion": "<string>",
"suggestionPending": true,
"area": "<string>",
"claudeCode": {
"at": "<string>",
"by": "<string>"
},
"origin": {
"kind": "mono",
"publisher": "<string>",
"version": "<string>"
},
"usage": {
"calls7": 4503599627370495,
"calls30": 4503599627370495,
"last": "<string>",
"days": [
4503599627370495
],
"complete": true
}
},
"candidates": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"groups": [
{
"id": "<string>",
"name": "<string>"
}
],
"canEdit": true,
"running": {
"probe": "<string>"
},
"rolledBack": {
"live": 4503599627370495,
"atOnce": true,
"refused": "<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"
}«Neue App» als Formular: dieselben Schritte und Prüfungen wie der Assistent, angelegt in der Sandbox (SY-12)
«Neue App» als Formular: dieselben Schritte und Prüfungen wie der Assistent, angelegt in der Sandbox (SY-12).
Im Chat mit «Mono Admin»: der Assistent «app».
POST
/
mandanten
/
{id}
/
apps
«Neue App» als Formular: dieselben Schritte und Prüfungen wie der Assistent, angelegt in der Sandbox (SY-12)
curl --request POST \
--url https://ki.muster.example/api/v1/mandanten/{id}/apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"answers": {},
"create": true,
"lang": "<string>"
}
'import requests
url = "https://ki.muster.example/api/v1/mandanten/{id}/apps"
payload = {
"answers": {},
"create": True,
"lang": "<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({answers: {}, create: true, lang: '<string>'})
};
fetch('https://ki.muster.example/api/v1/mandanten/{id}/apps', 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}/apps",
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([
'answers' => [
],
'create' => true,
'lang' => '<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}/apps"
payload := strings.NewReader("{\n \"answers\": {},\n \"create\": true,\n \"lang\": \"<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}/apps")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"answers\": {},\n \"create\": true,\n \"lang\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ki.muster.example/api/v1/mandanten/{id}/apps")
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 \"answers\": {},\n \"create\": true,\n \"lang\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"form": {
"title": "<string>",
"steps": [
{
"key": "<string>",
"label": "<string>",
"question": "<string>",
"required": true,
"done": true,
"value": "<string>",
"standard": "<string>",
"options": [
"<string>"
],
"values": [
"<string>"
],
"groups": [
"<string>"
]
}
],
"problems": [
"<string>"
],
"notes": [
{
"label": "<string>",
"value": "<string>"
}
],
"ready": true,
"proposes": true
},
"created": {
"app": {
"id": "<string>",
"name": "<string>",
"serverId": "<string>",
"purpose": "<string>",
"audience": "all",
"audienceNames": [
"<string>"
],
"systems": [
"<string>"
],
"writes": [
"<string>"
],
"model": "<string>",
"schedule": "<string>",
"status": "sandbox",
"paused": {
"at": "<string>",
"reason": "<string>",
"system": true
},
"createdBy": "<string>",
"createdAt": "<string>",
"tools": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"toolsCustomised": true,
"missing": [
{
"what": "<string>",
"text": "<string>"
}
],
"test": {
"at": "<string>",
"by": "<string>",
"durationMs": 4503599627370495,
"passed": true,
"current": true,
"checks": [
{
"id": "<string>",
"label": "<string>",
"state": "ok",
"text": "<string>",
"said": [
{
"code": "<string>",
"vars": {}
}
]
}
],
"ofLive": true,
"standing": {
"code": "not_run",
"tested": "<string>",
"now": "<string>"
},
"agent": {
"state": "done",
"steps": 4503599627370495,
"tokens": 4503599627370495,
"durationMs": 4503599627370495,
"calls": 4503599627370495,
"refusedWrites": [
"<string>"
],
"report": "<string>",
"text": "<string>",
"dataClass": "öffentlich",
"request": "<string>",
"requestBy": "admin",
"trail": [
{
"tool": "<string>",
"title": "<string>",
"kind": "read",
"outcome": "ok",
"ms": 4503599627370495,
"note": "<string>",
"chars": 4503599627370495,
"mark": "gemessen"
}
],
"probe": {
"id": "<string>",
"verdict": "nicht_gestartet",
"as": {
"kind": "self",
"id": "<string>",
"name": "<string>",
"standard": true
},
"usage": {
"steps": 4503599627370495,
"calls": 4503599627370495,
"tokens": 4503599627370495,
"ms": 4503599627370495,
"chf": 1,
"model": "<string>",
"provider": "<string>"
},
"expiresAt": "<string>"
}
}
},
"live": {
"version": 4503599627370495,
"at": "<string>",
"by": "<string>",
"entry": "<string>",
"prompt": "<string>"
},
"draft": true,
"goLive": {
"ok": true,
"reason": "<string>"
},
"entry": "<string>",
"automation": {
"aufgabe": "<string>",
"state": "<string>",
"nextAt": "<string>",
"schedule": "<string>",
"lastRuns": [
{
"id": "<string>",
"state": "<string>",
"dueAt": "<string>",
"endedAt": "<string>"
}
],
"counts": {
"runs": 4503599627370495,
"failed": 4503599627370495,
"tokens": 4503599627370495
},
"problem": "<string>",
"runs": true
},
"waitsFor": [
"<string>"
],
"grown": {
"reads": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"writes": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"off": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
]
},
"versions": [
{
"version": 4503599627370495,
"at": "<string>",
"by": "<string>",
"name": "<string>",
"tools": 4503599627370495,
"live": true,
"tested": true
}
],
"pinned": {
"at": "<string>",
"by": "<string>"
},
"members": [
{
"id": "<string>",
"name": "<string>",
"kind": "own",
"live": true
}
],
"sample": "<string>",
"suggestion": "<string>",
"suggestionPending": true,
"area": "<string>",
"claudeCode": {
"at": "<string>",
"by": "<string>"
},
"origin": {
"kind": "mono",
"publisher": "<string>",
"version": "<string>"
},
"usage": {
"calls7": 4503599627370495,
"calls30": 4503599627370495,
"last": "<string>",
"days": [
4503599627370495
],
"complete": true
}
},
"candidates": [
{
"name": "<string>",
"title": "<string>",
"kind": "read",
"level": "off",
"delivered": true,
"system": "<string>"
}
],
"groups": [
{
"id": "<string>",
"name": "<string>"
}
],
"canEdit": true,
"running": {
"probe": "<string>"
},
"rolledBack": {
"live": 4503599627370495,
"atOnce": true,
"refused": "<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
Header
Body
application/json