Updates the target agent (latest version by default, or specific version if provided) with the supplied data. These changes are saved to either a new draft or update an existing draft. Returns the version ID of the draft.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
2025-06-19 The ID of the agent to update. Use ca_8qm9JBCiTe7 for the latest version, or ca_8qm9JBCiTe7@v2 for a specific version.
Human-readable name for the agent.
Description of the agent.
Full configuration for the agent (e.g. voice, runtime, tools).
List of postprocessing procedural agent IDs that run after the conversation ends, e.g. ["pa_8qm9JBCiTe7"]