Skills

Listet konfigurierte KI-Skills aus der Konfiguration ai.skills. Ungültige oder leere Konfiguration liefert eine leere Liste.

GET /api/ai/skills

Liefert alle konfigurierten Skills, sortiert nach Name.

RESPONSE-Feld Werttyp Beschreibung
name string Skill-Name.
description string Skill-Beschreibung.

Beispielanfrage

# Request
GET /api/ai/skills HTTP/1.1
Host: helpdesk.example.com
Authorization: Bearer <access_token>
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
[
  {
    "name": "Summarize",
    "description": "Creates a short summary of the input."
  }
]

GET /api/ai/skills/<skillName>

Liefert einen Skill über das Namens-Token. Der Abgleich ist unabhängig von Groß- und Kleinschreibung und akzeptiert auch eine hyphenisierte Form. Unbekannte Skills oder verschachtelte Pfade liefern 404. Falsche Methoden liefern 405.

Beispielanfrage

# Request
GET /api/ai/skills/Summarize HTTP/1.1
Host: helpdesk.example.com
Authorization: Bearer <access_token>
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
{
  "name": "Summarize",
  "description": "Creates a short summary of the input."
}