---
title: "Divide the agent into different groups, which collect different stream source tasks."
method: POST
path: "/inlong/manager/openapi/agent/bindGroup"
tags: ["Open-Agent-API"]
---

# Divide the agent into different groups, which collect different stream source tasks.

`POST /inlong/manager/openapi/agent/bindGroup`

## Request body

- ClusterNodeBindAndUnbindStreamSourceLabelRequestStreamSourceLabelIsAFilterToJudgeWhetherToAcceptTheStreamSourceTask
  - `agentGroup` string — Cluster agent group
  - `bindClusterNodes` string[] — Cluster node ip list which needs to bind tag
  - `clusterName` string — Cluster name
  - `unbindClusterNodes` string[] — Cluster node ip list which needs to unbind tag

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/apache/apis/untitled-api-2.md) · [All operations](https://skmtc.dev/apache/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/untitled-api-2/revisions/41c687f48683/schema)
