Update Agent
Updates an existing agent configuration. Accepts a partial body —
only the provided fields are updated.
Requires agent_config:edit permission.
Documentation Index
Fetch the complete documentation index at: https://docs.naturalead.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token using an API key (format nl_live_* or nl_test_*)
Path Parameters
Agent configuration ObjectId
Body
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
Response
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