Zum Hauptinhalt springen

Docs

Docs sind Coperas Rich-Text-Seiten. Die Docs-API erlaubt, den Dokumentenbaum zu browsen, Dokumente anzulegen und zu löschen, Metadaten zu bearbeiten, Inhalt als Markdown zu lesen und zu schreiben und über alles zu suchen, worauf Sie Zugriff haben.

Quick Start

# Browse the document tree (root level)
curl -X GET https://api.copera.ai/public/v1/docs/tree \
-H "Authorization: Bearer YOUR_API_KEY"

# Search documents
curl -X GET "https://api.copera.ai/public/v1/docs/search?q=onboarding" \
-H "Authorization: Bearer YOUR_API_KEY"

# Read a document's markdown content
curl -X GET https://api.copera.ai/public/v1/docs/DOC_ID/md \
-H "Authorization: Bearer YOUR_API_KEY"

# Create a document
curl -X POST https://api.copera.ai/public/v1/docs/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "title": "New Doc", "content": "# Hello" }'

Verfügbar in

Public APICLIMCPCopera AI
✅ Voll✅ Voll✅ Voll

Die Docs-API und die CLI decken jede Operation ab; der gehostete MCP-Server stellt dieselbe Oberfläche KI-Clients bereit. Docs sind dem In-App-Assistenten Copera AI nicht freigegeben.

Weiter

  • So funktionieren Docs — Dokumentmodell Titel/Body/Parent, Zugriffsmodell, Baum browsen, Markdown asynchron lesen und schreiben, Dokumente verwalten und Volltextsuche.
  • Docs in der API-Referenz — Tree-, Search-, Get/Create/Update/Delete- und Markdown-Content-Endpunkte mit vollständigen Schemas.