Agents

Update Agent Version

Update a specific version of an agent.

put/core/agents/{id}/versions/{version}

Request

  • Base URL
    https://api.anyreach.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

idstring required
versioninteger required

Headers

x-anyreach-orgstring nullable

Organization ID for user PATs (pat_ prefix tokens)

Request body

expected_updated_atstring date-time nullable

The version's updated_at as the caller last loaded it. When set, the save is refused with 409 if the version changed since, instead of overwriting that change. Send back exactly the value the API returned: it carries microseconds.

Response

Successful Response

idstring required
organization_idstring required
agent_idstring required
versioninteger required
publishedboolean required
instruction_builder_inputsobject nullable
trained_instruction_builder_inputsobject nullable
generation_timestampstring date-time nullable
manually_editedboolean
is_updatedboolean
cache_fingerprintsstring[]
created_atstring date-time required
updated_atstring date-time required
created_bystring nullable
modified_bystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.