Skip to main content
View as Markdown

Home - Conversational Agents

Conversational Agents APIs​

These APIs serve as the management layer for the Kaltura avatar platform, enabling configuration of visual/voice building blocks, avatar personalities, and intelligent conversational agents.

The Cast​

ServiceRoleAnalogy
Catalog ServiceLibrary of visual appearances and voices"The wardrobe & voice studio"
Avatar ServicePairs a face with a voice"The character casting"
Knowledge ServiceIndexed content the AI can search"The reference library"
Intellect ServiceConfigures the Avatar brain"The script & personality"
Agent ServiceCombines avatar + intelligence"The actor on stage"

How It All Fits Together​

A layered architecture where each layer builds on the one beneath:

  1. Catalog — upload or browse voice samples and avatar visuals
  2. Avatar — combine a voice and visual into a reusable character
  3. Knowledge — index Kaltura media library or web content
  4. Intellect — define AI personality, prompts, glossary, and attach knowledge
  5. Agent — link an avatar with an intellect, tune conversation behaviour
  6. Deliver — call getEmbedScript with an agentId, paste returned HTML into any webpage

Building Blocks Summary​

  • A catalog item represents a raw asset (face or voice)
  • An avatar composes one visual + one voice into a named character
  • A knowledge record is an indexed content collection for AI search
  • An intellect holds AI configuration: persona, prompts, glossary, knowledge, capabilities
  • An agent is the deployment unit combining avatar + intellect + conversation settings

API Routing Conventions​

Action-based routing (Agent, Avatar, Catalog)​

Pattern:

POST /service/{prefix}/action/{actionName}
ServicePrefixExample
AgentagentPOST /service/agent/action/create
AvataravatarPOST /service/avatar/action/list
Catalogcatalog-itemPOST /service/catalog-item/action/get

Requests use POST with a JSON body, except Catalog create/update which use multipart/form-data.

REST-style routing (Intellect, Knowledge)​

Pattern:

POST /v1/{service}/{action}
ServiceExample
IntellectPOST /v1/intellect/add
KnowledgePOST /v1/knowledge/get

All requests use POST with a JSON body.

Why Action-based Routing?​

Kaltura's APIs employ a service/action pattern rather than REST resource/method for consistency across hundreds of API services. Key implications:

  • All calls use POST — no GET, PUT, PATCH, DELETE
  • The action name (e.g., create, list, get) appears in the URL path
  • Request parameters go in the JSON body, not query strings

Common Response Shapes​

Successful responses return the resource directly:

{
"agentId": "550e8400-e29b-41d4-a716-446655440000",
"displayName": "My Assistant",
...
}

List actions return a paginated wrapper:

{
"objects": [ ... ],
"totalCount": 42
}

Pagination​

All list actions accept a pager object:

{
"pager": {
"offset": 0,
"limit": 30
}
}
  • Default: offset: 0, limit: 30
  • Maximum limit: 30 items per page
  • Use offset to page through results (page 2 = offset: 30, page 3 = offset: 60)
  • Live Avatar SDK — Client SDK and Control API for real-time interactive avatar sessions (display, messaging, state management)
  • Avatar Videos — Pre-recorded avatar video generation via server-side API or browser widget

Next Steps​