#Hello ### Hey team đź‘‹, I need help replicating the agent creation flow from the ElevenLabs portal

1 messages · Page 1 of 1 (latest)

cunning oakBOT
#
AI-generated Answer for konica.m

Short answer: there aren’t public API endpoints to list the portal’s “categories” or “use cases.” In the API, classification is handled via free‑form tags on the agent object. You can create/update agents and set tags, and you can build your own taxonomy client‑side. This is what’s documented today.

How to replicate the portal flow programmatically

  • Select agent type (voice, chat, or both)

    • Create an agent and configure conversation settings. For chat-only, use the Chat Mode guide (configure the agent for text-only or apply a runtime override). (elevenlabs.io)
  • Choose category / Pick use case

    • No documented endpoints for “categories” or “use cases.” Use the tags field when creating or updating an agent, and filter/search by tags in your app. The API shows tags in create, update, and list responses. (elevenlabs.io)
    • If you want ElevenLabs-provided starting points similar to the portal, the ConvAI CLI exposes templates (e.g., customer-service, assistant) that you can use to scaffold configs, then sync via API. (elevenlabs.io)
  • Fill in agent details

    • Create the agent with POST /v1/convai/agents/create, providing conversation_config (LLM, prompt, TTS/ASR, turn-taking, etc.), optional platform_settings, name, and tags. (elevenlabs.io)
  • Create agent and bind data (knowledge base)

    • Add knowledge base items via:
      • POST /v1/convai/knowledge-base (file upload) and/or POST /v1/convai/knowledge-base/url (scrape a URL). The docs explicitly say: “After creating the document, update the agent’s knowledge base by calling Update agent.” (elevenlabs.io)
    • Then PATCH /v1/convai/agents/:agent_id to attach the knowledge base to the agent (update the agent’s configuration accordingly). (elevenlabs.io)
    • General KB concepts/use limits are documented here. (elevenlabs.io)

Helpful references

  • Create agent (POST /v1/convai/agents/create) — includes tags field. (elevenlabs.io)
  • Update agent (PATCH /v1/convai/agents/:agent_id) — includes tags and conversation_config. (elevenlabs.io)
  • List agents (GET /v1/convai/agents) — returns tags for filtering. (elevenlabs.io)
  • Knowledge base: add file/URL and then update the agent. (elevenlabs.io)
  • Chat Mode (text-only) guide. (elevenlabs.io)
  • ConvAI CLI templates (optional scaffolding similar to portal presets). (elevenlabs.io)

If you need, I can sketch a minimal sequence (create agent → add KB

daring knot
#

i want to know if there is any api that helps to generate the prompt based on a category/industry and use case ?