Update Agent
Update the specified agent.
editSettingsAuthorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
The agentId.
Body
The agent prompt: defines the agent's role, tone, and goals. Guides how it answers using the provided context. Corresponds to the 'Agent prompt' field in the dashboard.
The system prompt: defines system-level rules and constraints. Guides how the agent uses tools, features, and generates context. Prepended before instructions in the final prompt sent to the LLM. Typically injected by an agent template — modify with caution, as changes may affect behavior, tool usage, or response accuracy. Corresponds to the 'System prompt' field in the dashboard.
- clientSideToolConfig
- algoliaSearchToolConfig
- algoliaRecommendToolConfig
- algoliaDisplayResultsToolConfig
- mcpServerToolConfig
- unknownToolConfig
Response
Successful Response.
draft, published - clientSideToolConfig
- algoliaSearchToolConfig
- algoliaRecommendToolConfig
- algoliaDisplayResultsToolConfig
- mcpServerToolConfig
- unknownToolConfig