Update an agent
Agents
Update an agent
Partially updates an agent. Only the fields you include are modified.
Set knowledge_base_id to null to detach the current knowledge base.
PATCH
Update an agent
Authorizations
API key obtained from the OpenMic dashboard.
Path Parameters
The agent UID.
Body
application/json
Required string length:
1 - 255Minimum string length:
1Cannot be combined with auto_first_message: true.
Set to null to detach the current knowledge base.
Available options:
OpenAI, ElevenLabs, Deepgram, Cartesia Required range:
0 <= x <= 2Available options:
Deepgram Maximum array length:
30Response
Updated agent.
Unique agent identifier (slug/UUID).
Available options:
OpenAI, ElevenLabs, Deepgram, Cartesia Required range:
0 <= x <= 2Available options:
Deepgram Maximum array length:
30