Update agent
Update an agent's mutable fields; a slug renames the handle and can never be cleared
Path parameters
Agent ID (agt_*).
Headers
Unique key for safely retrying a request without creating duplicates.
Caller-chosen identifier for the agent run, session, or conversation, required when an agent moves money.
Request body
Response
Successful Response
Changes
Changed in 4 of the 28 revisions of this API.324
- ○
deleted the
headerrequest parameterX-Agent-IDwith deprecationrequest-parameter-removed-with-deprecation
- ○
- ○
headerrequest parameterX-Agent-IDwas deprecatedrequest-parameter-deprecated
- ○
- ○
added the new optional request property
data/attributes/tagsnew-optional-request-property
- ○
added the required property
data/attributes/tagsto the response with the200statusresponse-required-property-added
- ○
- ▲
request property
data/attributes/sluglist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
the
data/attributes/name/anyOf[subschema #1]/request property's maxLength was decreased to32request-property-max-length-decreased
- ▲
added the pattern
^[a-z0-9][a-z0-9._]{1,28}[a-z0-9]$to the request propertydata/attributes/slugrequest-property-pattern-added
- ●
for the
headerrequest parameterIdempotency-Key, the maxLength was set to255request-parameter-max-length-set
- ●
the
data/attributes/description/anyOf[subschema #1]/request property's maxLength was set to100request-property-max-length-set
- ▲