WikiAPI-Katalogworkflowsworkflows.export

workflows.export

POST /api/workflows/export workflows

Dokument exportieren

Hilfe

Exportiert Inhalt in ein bestimmtes Format (markdown, pdf, docx).

Parameter

Name Typ Required Default Beschreibung
content string Ja Zu exportierender Inhalt
filename string Ja Dateiname (ohne Erweiterung)
format string Nein markdown Exportformat (markdown, pdf, docx)
title string Nein Dokument-Titel

Rueckgabe

Exportpfad, Dateiname und Format

Beispiel-Prompts

  • Exportiere diesen Text als PDF
  • Erstelle einen DOCX-Export

HTTP-Request (curl)

curl -X POST 'http://HOST:8502/api/workflows/export' \
  -H 'Cookie: kiara_admin_session=SESSION' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'Content-Type: application/json' \
  -d '{
    "content": "...",
    "filename": "...",
    "format": "...",
    "title": "..."
  }'

Metadaten

raw_responseJa
Kategorieworkflows