Creates a new revision of an existing agent. If the agent does not
exist for the current user, a new agent may be created.
Accepts all AgentCreateRequest / AgentRevisionConfigBase fields
(including promptCachingEnabled and promptCacheKey) plus
AgentRevisionConfigUpdateOnly (reasoningEffort, thinkingEnabled,
thinkingBudgetTokens, searchDomainFilter, searchRecencyFilter) and
agent-level customShareUrl, allowPublicSharing, and hasPhoneNumber.
Omitted revision fields are preserved from the current revision.
JSON Structured Output can be enabled or disabled via the
jsonOutputEnabled and jsonSchema fields. When enabling, provide a
valid JSON Schema Draft 7 object or string. When disabling, set
jsonOutputEnabled: false and jsonSchema: null.
Set model to a name from GET /api/models (not displayName).
Deprecated or inactive catalog entries are rejected with 400.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
