v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
groups

Modify Group

Create a new multi-agent group with the specified configuration.

patch/v1/groups/{group_id}

Path parameters

group_idstring required

Headers

X-Projectstring nullable

The project slug to associate with the group (cloud only).

The project slug to associate with the group (cloud only).

Request body

agent_idsstring[] nullable
descriptionstring nullable
project_idstring nullable

The associated project id.

shared_block_idsstring[] nullable

Response

Successful Response

idstring required

The id of the group. Assigned by the database.

manager_type'round_robin' | 'supervisor' | 'dynamic' | 'sleeptime' | 'voice_sleeptime' | 'swarm' required
agent_idsstring[] required
descriptionstring required
project_idstring nullable

The associated project id.

template_idstring nullable

The id of the template.

base_template_idstring nullable

The base template id.

deployment_idstring nullable

The id of the deployment.

shared_block_idsstring[]
manager_agent_idstring nullable
termination_tokenstring nullable
max_turnsinteger nullable
sleeptime_agent_frequencyinteger nullable
turns_counterinteger nullable
last_processed_message_idstring nullable
max_message_buffer_lengthinteger nullable

The desired maximum length of messages in the context window of the convo agent. This is a best effort, and may be off slightly due to user/assistant interleaving.

min_message_buffer_lengthinteger nullable

The desired minimum length of messages in the context window of the convo agent. This is a best effort, and may be off-by-one due to user/assistant interleaving.

hiddenboolean nullable

If set to True, the group will be hidden.