Update Agent
Updates a Play.ai Agent.
Updates the properties of the agent with the specified ID.
Authorizations
API key required for this endpoint. Use Bearer YOUR_SECRET_API_KEY
. Get your key from https://play.ai/developers.
User ID required for this endpoint. Get it from https://play.ai/developers.
Headers
application/json
application/json
Path Parameters
The agent's ID.
Body
Response
The unique ID for each agent.
The unique ID for a PlayAI Voice.
The agent's name
250
The agent's description
500
The visibility of the agent
public
, private
If true, the agent will only respond with information from the critical knowledge field.
The voice speed, i.e. how fast is the agent's speech. Possible values are: 0.5
, 0.6
, 0.7
, 0.8
, 0.9
, 1.0
, 1.1
, 1.2
, 1.3
, 1.4
, 1.5
.
The greeting message for the agent
250
The greeting message for the agent
10000
The agent's critical knowledge
20000
Leave this field out or null
if you don't want the agent to use your custom LLM API. See Bring Your Own LLM for more info.
The URL of the agent's avatar photo