Updates an existing agent configuration. Accepts a partial body —
only the provided fields are updated.
Requires agent_config:edit permission.
Bearer token using an API key (format nl_live_* or nl_test_*)
Agent configuration ObjectId
Request body for creating or updating an agent configuration. All fields are optional on update.
Agent display name
active, inactive, draft System prompt sent to the LLM
Conversation language
High-level goal for the agent
Additional instructions
Updated agent configuration
MongoDB ObjectId
Account ObjectId this agent belongs to
Agent display name
System prompt sent to the LLM for every conversation
High-level goal for the agent
active, inactive, draft Conversation language
Additional instructions for the agent
Criteria used to qualify leads
Message sent when the conversation is handed off to a human
Ordered conversation stages
ObjectIds of attached knowledge bases