Voice

Save an agent as a reusable template

Turn a working agent into a starting point for new ones.

The template is a SNAPSHOT: later changes to the agent do not flow into it, and instantiating the template with POST /voice/agents/clone does not link back.

post/voice/agents/{agent_id}/save-as-template

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/voice/agents/{agent_id}/save-as-template
  • Auth: HTTP bearer

Path parameters

agent_idstring required

The agent to templatise.

Query parameters

template_namestring nullable

Template name. Defaults to the agent's own name.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Response

Successful Response

dataVoicePayload required

One voice object - a collection, an agent, a route, a chat.

Open-shaped: voice adds fields to these bodies on its own release cadence and a dropped-or-added key must not be a 500 in this service.

Changes

No recorded changes to this operation across all 2 revisions of this API.