Use this API to update behavioral/version fields on a custom agent. Creates a new versionDocumentation Index
Fetch the complete documentation index at: https://velt-raghul-agent-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
N+1 in the versions subcollection, updates the version pointer on the root document, and bumps updatedAt.
In-flight executions stay pinned to whatever version they started on — the update only affects future executions.
The schema uses .passthrough() so additional behavioral fields are forwarded. Deep validation happens in the service layer via updateCustomAgentConfigSchema.
Custom agents only. Use Update Agent for identity edits on built-in agents.
POST https://api.velt.dev/v2/agents/version/update
| Field | Type | Description |
|---|---|---|
data.version | number | New version number after the update |
NOT_FOUND (agent does not exist) / INVALID_ARGUMENT (validation failure or attempting to update a built-in agent’s behavior).