Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt

Use this file to discover all available pages before exploring further.

AI API

A focused set of LLM-backed primitives that the Orbit platform uses internally — message analysis, reply suggestion, intent classification, summarization, content generation, and a small knowledge-base utility. The provider is abstracted: requests run through Orbit’s LLM gateway and you don’t manage OpenAI / Anthropic keys directly. Base path: /v1/ai Authentication: API key (X-API-Key) or session JWT. Service-to-service callers (with X-Internal-Token) get the developer role to cap blast radius.

Analysis & insight

MethodPathPurpose
POST/v1/ai/analyzeGeneral message / content analysis
POST/v1/ai/analyze-message/{id}Analyze a specific message by ID
POST/v1/ai/classify-intentClassify a message’s intent
POST/v1/ai/summarize-conversationSummarize a long conversation
POST/v1/ai/dashboard-insightsGenerate dashboard insight prose

Generation & rewriting

MethodPathPurpose
POST/v1/ai/suggest-replyDraft a reply to an inbound message
POST/v1/ai/generate-contentGenerate marketing content from a brief
POST/v1/ai/improve-textRewrite for tone / clarity / length
POST/v1/ai/translateTranslate to a target language
POST/v1/ai/compose-campaignCompose a multi-step campaign from a goal
POST/v1/ai/optimize-channelRecommend best channel/time for a contact

Knowledge base

Small embedded KB sufficient for single-document reasoning. For multi-document, multi-tenant retrieval-augmented generation, use the Knowledge Bases API instead.
MethodPathPurpose
GET/v1/ai/kb/documentsList embedded KB documents
POST/v1/ai/kb/documentsUpload a document (multipart)
GET/v1/ai/kb/documents/{id}Get a document
DELETE/v1/ai/kb/documents/{id}Delete
POST/v1/ai/kb/documents/{id}/reindexForce reindex
POST/v1/ai/kb/searchSemantic search across documents

Example — suggest a reply

curl -X POST https://orbit-api.devotel.io/api/v1/ai/suggest-reply \
  -H "X-API-Key: dv_live_sk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "conversation_id": "conv_abc",
    "tone": "friendly",
    "max_length": 240
  }'

See also