Update Agent
Beta/v1/ai/agents/{id}Idempotent with Idempotency-Key header. Learn more
Updates a custom agent.
Only the fields provided in the request are changed. Augno's system agents cannot be edited — the only thing you can change about them is whether they are enabled for your account, with the Update Agent Status endpoint.
idstringAgent definition ID.
include[]optional arrayenumValues:configtoolsroleSub-objects to expand in the response. When omitted, sub-objects are returned as null.
nameoptional stringHuman-readable name of the agent.
slugoptional stringURL-friendly identifier for the agent.
descriptionoptional stringnullableDescription of what the agent does.
Send null to clear the description; omit to leave it unchanged. Send null to clear.
category_codeoptional stringCategory grouping for the agent (e.g. order_processing), used to organize agents in the UI.
trigger_typeoptional stringenumValues:scheduledmanualeventHow runs of this agent are initiated.
When changing the trigger type, also provide a config with a trigger_config appropriate for the new type (a cron schedule for scheduled, at least one event filter for event).
configoptional objectAgent-level configuration controlling LLM behavior and trigger settings.
Replaces the stored configuration in full rather than merging into it, so send every setting you want to keep — anything you leave out is cleared.
system_promptoptional stringInstructions that define the agent's role and how it should behave.
Sent to the model on every turn of a run, alongside the platform guidance Augno adds automatically.
tieroptional stringenumValues:frontierhighbalancedIntelligence and cost tier for the agent's reasoning. Defaults to high.
Selects how capable (and how expensive) a model the agent uses without pinning a specific model, so the agent keeps working as the underlying model catalog changes.
frontier: the most capable and most expensive; multi-step planning, ambiguous work, tool-heavy workflows.high: normal planning, synthesis, and customer-facing reasoning.balanced: research, summarization, classification, structured extraction, and light tool use.cheap: simple transforms, validation, formatting, keyword lookup, and routing.legacy: older models kept for compatibility and regression comparison; avoid unless you specifically need them.
temperatureoptional numberHow much randomness the model uses when generating text.
Lower values make the agent's output more repeatable; higher values make it more varied.
trigger_configoptional objectTrigger-specific configuration.
Required contents depend on the agent's trigger_type; see the trigger config schema.
cron_scheduleoptional stringCron expression for scheduled triggers (e.g. 0 9 * * *).
timezoneoptional stringIANA timezone for the cron schedule (e.g. America/New_York).
event_filtersoptional array of stringEvent types that trigger this agent (e.g. ["email.received", "order.created"]).
endpoint_tool_slugsoptional array of stringAPI-endpoint tools the agent may discover and use, by slug (e.g. create_account_group).
These are the tools listed by the List Tools endpoint with category api_endpoint. The single entry * grants the entire endpoint-tool catalog. Omit or leave empty to grant none.
endpoint_tool_reviewoptional objectPer-endpoint-tool human-review overrides, keyed by tool slug.
Set a slug to true to require human approval before the agent may execute that endpoint-tool; the run pauses in awaiting_approval until approved via the Continue Agent Run endpoint. Slugs omitted from the map do not require review.
toolsoptional array of objectBuilt-in tools to attach to the agent.
Replaces the existing tool set when provided.
toolstringenumValues:create_artifactread_docfetch_urlThe built-in tool to attach.
Only Augno's built-in tools are attached here. Access to API-endpoint tools (creating a customer, listing orders, and so on) is granted separately through config.endpoint_tool_slugs. The List Tools endpoint (GET /v1/ai/tools) returns both kinds, with API-endpoint tools in the api_endpoint category.
config_jsonoptional stringJSON-encoded configuration for this tool instance.
The expected structure depends on the tool (see the tool's config_schema).
sort_orderoptional integerDisplay order among the agent's tools (lower values appear first).
require_reviewoptional booleanWhether actions from this tool require human review before they execute.
When review is required, a call to this tool pauses the run in awaiting_approval and records an action in pending_review until someone approves or rejects it through the Continue Agent Run endpoint. Approvals are one-time, so a later call to the same tool pauses again.
role_idoptional stringnullableID of the role that defines the permissions the agent operates with.
Send null to detach the role; omit to leave it unchanged. An agent with no role cannot execute, so detaching the role makes its runs fail immediately. Send null to clear.
idstringAgent definition ID.
objectstringenumValues:agent_definitionResource type identifier.
definition_typestringenumValues:systemcustomWhether the agent is provided by Augno or created in this account.
system: provided by Augno; cannot be edited or deleted.custom: created by a user in this account.
category_codestringCategory grouping for the agent (e.g. order_processing), used to organize agents in the UI.
trigger_typestringenumValues:scheduledmanualeventHow runs of this agent are initiated.
scheduled: runs on a cron schedule (seeconfig.trigger_config.cron_schedule).event: runs in response to platform events (seeconfig.trigger_config.event_filters).manual: runs only when explicitly invoked.chat: runs in response to a chat message; the run is linked to a conversation and posts its reply back into it.
namestringHuman-readable name of the agent.
slugstringURL-friendly identifier for the agent.
Unique within the account.
descriptionstringnullableDescription of what the agent does.
editabilitystringenumValues:editableread_onlyWhether this agent definition can be edited.
Always read_only for system definitions.
statusstringenumValues:activeinactiveWhether this agent is enabled for the current account.
Activation is per-account: a system agent shared across accounts can be active for one account and inactive for another. An inactive agent cannot be triggered.
Role defining the permissions the agent operates with.
The agent acts as its own actor, and everything it does is authorized against this role — it can never reach data or actions the role does not grant. An agent with no role cannot execute: its runs fail immediately.
idstringRole ID.
objectstringenumValues:roleResource type identifier.
namestringDisplay name of the role.
Unique within the account.
typestringenumValues:adminuserscannerThe kind of role.
The type gates behavior that individual permissions do not cover, and some actions are reserved for a single role type.
admin: full administrative access. Sensitive areas such as API keys, billing, and third-party integrations are restricted to admins no matter what permissions another role holds.user: a custom role tailored to a specific need, with its permissions defined explicitly. Roles created through the API always have this type.scanner: the role used by shop-floor scanning stations, assigned automatically when a scanning-station user is created.sales_rep: a role for sales representatives. Order analytics are scoped to the rep's own orders.agent: a role assigned to an automated agent rather than a person.
ownerownernullableProvenance of this role.
System-owned roles are platform-provided defaults shared across all accounts and cannot be updated or deleted; account-owned roles are custom to your account.
null in this endpoint.permissionsarray of stringExpandablenullablePermissions granted by this role, in {permission}:{action} format, such as customers:read.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
configagent_definition_configExpandablenullableAgent-level configuration controlling LLM behavior and trigger settings.
objectstringenumValues:agent_definition_configResource type identifier.
system_promptstringnullableStanding instructions that define the agent's role and how it should behave on every run.
tierstringnullableenumValues:frontierhighbalancedIntelligence and cost tier for the agent's reasoning.
Selects how capable and expensive a model the agent uses without pinning a specific model; higher tiers reason better but cost more. Each tier resolves to an ordered chain of equivalent models, so a run automatically fails over to another provider's model if the preferred one is unavailable.
frontier: the most capable tier, for multi-step planning, ambiguous agent work, and hard coding or architecture tasks.high: for normal planning, code edits, synthesis, and customer-facing reasoning.balanced: for research, summarization, classification, structured extraction, and light tool use.cheap: for simple transforms, validation, formatting, and routing.legacy: older-generation models kept for compatibility and regression comparison; avoid unless you specifically need them.
Leaving the tier unset picks one from how the agent is triggered: chat and manual runs use high, while scheduled and event-driven runs use balanced so background work stays cheap.
temperaturenumbernullableLLM sampling temperature between 0 and 1.
Lower values make the agent's output more repeatable and literal; higher values make it more varied.
trigger_configtrigger_confignullableTrigger-specific configuration.
Shape depends on the agent's trigger_type.
null in this endpoint.endpoint_tool_slugsarray of stringAPI-endpoint tools the agent may discover and use, by slug (e.g. create_account_group).
These correspond to tools listed by the List Tools endpoint with category api_endpoint. A single entry * grants the entire endpoint-tool catalog.
endpoint_tool_reviewobjectPer-endpoint-tool human-review overrides, keyed by tool slug.
When an entry is true, the run pauses in awaiting_approval each time the agent calls that endpoint-tool until it is approved via the Continue Agent Run endpoint. Slugs absent from the map do not require review.
Tools attached to this agent.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of agent_definition_toolResources in this page.
idstringAgent definition tool ID.
objectstringenumValues:agent_definition_toolResource type identifier.
toolavailable_toolAttached tool.
null in this endpoint.review_requirementstringenumValues:not_requiredrequiredWhether calls to this tool must be approved by a user before they execute.
When required, the run pauses in the awaiting_approval status each time the agent invokes this tool; approve or allow the tool via the Continue Agent Run endpoint to proceed. A tool whose mutating flag is true still pauses for approval even when this is not_required.
configobjectnullableInstance-specific configuration for this tool.
Must conform to the tool's config_schema.
Encoded as a JSON value (object, array, string, number, boolean, or null), not a JSON-encoded string.
sort_orderintegerSort order within the agent.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for Update Agent