Skip to main content
POST
Update Agent Group
Use this API to update an agent group’s name and/or description.
This endpoint updates only name and description. It cannot change membership — use Add Agents / Remove Agents for that. metadata is immutable after creation. Sending metadata, agentIds, or any other unknown field is rejected with a validation error (.strict()).
At least one of name or description must be provided — an empty update is rejected.

Endpoint

POST https://api.velt.dev/v2/agents/groups/update

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Response

Success Response

Returns the updated group document.

Failure Response

Errors:
  • NOT_FOUND — the group does not exist.
  • INVALID_ARGUMENT — neither name nor description provided, over-length values, or unknown fields (e.g. metadata, agentIds) sent.