For the complete documentation index, see llms.txt. This page is also available as Markdown.

On Premise Agent Groups

An on-premise agent group is an ordered set of agents that can each reach the same systems. A connection binds either _agentId (one agent) or _agentGroupId (a group) — never both.

When a connection is bound to a group, the platform resolves a healthy member on every dispatch. Per the eligibility rule the platform implements, a member stops receiving new work when it goes offline, when its heartbeat goes stale, or when its local worker reports unhealthy, and the connection stays online while any member can still serve (source-only: read from the platform's dispatch code; not yet observed on an entitled account).

Agents themselves are unaware of grouping — a group is N ordinary agents, each with its own tunnel. Use the On-premise Agents API to install, configure, and monitor the members.

Ordering

members order is failover priority. members[0] is preferred and is used whenever it is eligible. Reordering takes effect on the next dispatch and does not interrupt work in flight (source-only, as above).

Health

Health is not embedded in these responses. Read offline and lastHeartbeatAt from GET /v1/agents for each members[]._agentId to compose a live view of the group.

On-premise agent group schema

List agent groups

get
/v1/agentgroups

Returns all on-premise agent groups configured in the environment. Member health is not included — fetch GET /v1/agents and match on members[]._agentId to show which members are currently eligible.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
includestringOptional

Comma-separated list of fields to project into each returned record. Triggers summary projection: the response contains a minimal identity set (_id, name, plus resource-specific fields) with the requested fields added on top. Supports dot notation for nested fields. Mutually exclusive with exclude.

Example: _integrationId,disabled,lastModified
excludestringOptional

Comma-separated list of fields to strip from the default response. Unlike include, does not trigger summary projection — returns the full record with the named fields removed. Protected identity fields (e.g. name) cannot be stripped. Mutually exclusive with include.

Example: createdAt,lastModified
limitinteger · min: 1 · max: 1000Optional

Maximum number of agent groups to return per page.

Default: 1000Example: 100
sort_bystringOptional

Field to sort the agent group list by (for example name).

Example: name
afterstringOptional

Opaque pagination cursor from a previous page's Link header; returns results after that position. Invalid cursor values return 400 invalid_query_param.

beforestringOptional

Opaque pagination cursor from a previous page's Link header; returns results before that position. Invalid cursor values return 400 invalid_query_param.

permissionsbooleanOptional

When true, each returned agent group additionally carries _accessLevel — the calling user's effective access to that group.

Example: true
Responses
200

Array of agent group objects.

application/json
get/v1/agentgroups
GET /v1/agentgroups HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "_id": "6512ab7939dc306a3806eab5",
    "name": "Production ERP agents",
    "description": "Two hosts in separate racks, both reach the prod Oracle instance.",
    "members": [
      {
        "_agentId": "62e1387939dc306a3806eab5"
      },
      {
        "_agentId": "5ecd2c3ce1ec9c4fcaf60b10"
      }
    ],
    "routingPolicy": "failover",
    "createdAt": "2026-07-02T10:30:00.000Z",
    "lastModified": "2026-08-14T01:52:12.086Z"
  },
  {
    "_id": "6512ab7939dc306a3806eac1",
    "name": "Warehouse SFTP agents",
    "members": [
      {
        "_agentId": "6398ddf316be761fb16a6523"
      }
    ],
    "routingPolicy": "failover",
    "createdAt": "2026-07-20T08:00:00.000Z",
    "lastModified": "2026-07-20T08:00:00.000Z"
  }
]

Create an agent group

post
/v1/agentgroups

Creates an on-premise agent group. Every member must be an existing agent in the same environment. members order is failover priority.

The service does not reject a group whose members share one agent extension (source-only — agent extension placement is not customer-controllable), but such a group is not highly available: that host is a single point of failure in front of the group.

Requires the agent groups entitlement. Only the name check runs before it, so an account without the entitlement gets 403 feature_not_entitled for any request that has a name, whatever its members or routingPolicy (live-verified with members absent, [], a non-array, a nonexistent agent id, and four repeats of one id, and with routingPolicy: balanced — every shape answered 403). Reads, updates and deletes do not check the entitlement — on the same account, list and get answer normally and PUT / DELETE on an unknown id answer 404, not 403 (live-verified).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Fields for creating or updating an on-premise agent group.

namestring · max: 100Required

Display name identifying the group of on-premise agents. The server caps it at 100 characters (size_limit_exceeded) — a cap read from the model's size limit, enforced by the same plugin that caps agent names (verified live there), not yet confirmed on an agent group.

Example: Production ERP agents
descriptionstring · max: 5120Optional

Optional note about the group's purpose or the hosts it spans; capped at 5,120 characters by the same model size limit as name (source-only).

Example: Two hosts in separate racks, both reach the prod Oracle instance.
routingPolicystring · enumOptional

How the platform picks a member for each dispatch. Leave it at failover (the only accepted value today); member order in members is the priority order.

Absent is treated as failover.

Default: failoverExample: failoverPossible values:
Responses
201

Created agent group.

application/json

On-premise agent group object as returned by the API. Member health is not embedded — read offline and lastHeartbeatAt from GET /v1/agents for each _agentId to compose a live view of the group.

namestring · max: 100Required

Display name identifying the group of on-premise agents. The server caps it at 100 characters (size_limit_exceeded) — a cap read from the model's size limit, enforced by the same plugin that caps agent names (verified live there), not yet confirmed on an agent group.

Example: Production ERP agents
descriptionstring · max: 5120Optional

Optional note about the group's purpose or the hosts it spans; capped at 5,120 characters by the same model size limit as name (source-only).

Example: Two hosts in separate racks, both reach the prod Oracle instance.
routingPolicystring · enumOptional

How the platform picks a member for each dispatch. Leave it at failover (the only accepted value today); member order in members is the priority order.

Absent is treated as failover.

Default: failoverExample: failoverPossible values:
_idstring · objectIdRead-onlyRequired

Unique identifier for the resource. Format is a 24-character hexadecimal string.

Example: 5f8d43a1b9e5a80011a35f2c
createdAtstring · date-timeRead-onlyRequired

Timestamp when the resource was created. Set automatically and cannot be modified.

Example: 2023-04-01T09:15:32Z
lastModifiedstring · date-timeRead-onlyRequired

Timestamp when the resource was last updated. Changes whenever any property is modified.

Example: 2023-04-15T14:30:15Z
deletedAtstring · nullableRead-onlyOptional

Timestamp when the resource was soft-deleted. When null or absent, the resource is active.

Example: 2023-05-20T11:45:32Z
_accessLevelstringRead-onlyOptional

The calling user's effective access level for this group. Present only when the list request sets permissions=true.

Example: manage
post/v1/agentgroups
POST /v1/agentgroups HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 233

{
  "name": "Production ERP agents",
  "description": "Two hosts in separate racks, both reach the prod Oracle instance.",
  "members": [
    {
      "_agentId": "62e1387939dc306a3806eab5"
    },
    {
      "_agentId": "5ecd2c3ce1ec9c4fcaf60b10"
    }
  ],
  "routingPolicy": "failover"
}
{
  "_id": "6512ab7939dc306a3806eab5",
  "name": "Production ERP agents",
  "description": "Two hosts in separate racks, both reach the prod Oracle instance.",
  "members": [
    {
      "_agentId": "62e1387939dc306a3806eab5"
    },
    {
      "_agentId": "5ecd2c3ce1ec9c4fcaf60b10"
    }
  ],
  "routingPolicy": "failover",
  "createdAt": "2026-07-02T10:30:00.000Z",
  "lastModified": "2026-07-02T10:30:00.000Z"
}

Get an agent group

get
/v1/agentgroups/{_id}

Returns a single on-premise agent group. Member health is not embedded — read GET /v1/agents for each members[]._agentId to show live eligibility.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
_idstring · objectIdRequired

Agent group resource ID.

Responses
200

Agent group object.

application/json

On-premise agent group object as returned by the API. Member health is not embedded — read offline and lastHeartbeatAt from GET /v1/agents for each _agentId to compose a live view of the group.

namestring · max: 100Required

Display name identifying the group of on-premise agents. The server caps it at 100 characters (size_limit_exceeded) — a cap read from the model's size limit, enforced by the same plugin that caps agent names (verified live there), not yet confirmed on an agent group.

Example: Production ERP agents
descriptionstring · max: 5120Optional

Optional note about the group's purpose or the hosts it spans; capped at 5,120 characters by the same model size limit as name (source-only).

Example: Two hosts in separate racks, both reach the prod Oracle instance.
routingPolicystring · enumOptional

How the platform picks a member for each dispatch. Leave it at failover (the only accepted value today); member order in members is the priority order.

Absent is treated as failover.

Default: failoverExample: failoverPossible values:
_idstring · objectIdRead-onlyRequired

Unique identifier for the resource. Format is a 24-character hexadecimal string.

Example: 5f8d43a1b9e5a80011a35f2c
createdAtstring · date-timeRead-onlyRequired

Timestamp when the resource was created. Set automatically and cannot be modified.

Example: 2023-04-01T09:15:32Z
lastModifiedstring · date-timeRead-onlyRequired

Timestamp when the resource was last updated. Changes whenever any property is modified.

Example: 2023-04-15T14:30:15Z
deletedAtstring · nullableRead-onlyOptional

Timestamp when the resource was soft-deleted. When null or absent, the resource is active.

Example: 2023-05-20T11:45:32Z
_accessLevelstringRead-onlyOptional

The calling user's effective access level for this group. Present only when the list request sets permissions=true.

Example: manage
get/v1/agentgroups/{_id}
GET /v1/agentgroups/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "_id": "6512ab7939dc306a3806eab5",
  "name": "Production ERP agents",
  "description": "Two hosts in separate racks, both reach the prod Oracle instance.",
  "members": [
    {
      "_agentId": "62e1387939dc306a3806eab5"
    },
    {
      "_agentId": "5ecd2c3ce1ec9c4fcaf60b10"
    }
  ],
  "routingPolicy": "failover",
  "createdAt": "2026-07-02T10:30:00.000Z",
  "lastModified": "2026-08-14T01:52:12.086Z"
}

Update an agent group

put
/v1/agentgroups/{_id}

Replaces an on-premise agent group. Send the complete desired document: the service's update handler treats the body as a full replace, not a merge — omitting members clears the membership list, and omitting description or routingPolicy clears those fields (source-only: read from the handler, not yet confirmed on an entitled account; sending the whole document is correct under either behaviour). There is no PATCH on this resource (live-verified: PATCH answers 404 resource_not_found).

Reordering members changes failover priority and, per the dispatch rule the service implements, takes effect on the next dispatch without interrupting work already in flight (source-only).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
_idstring · objectIdRequired

Agent group resource ID.

Body

Fields for creating or updating an on-premise agent group.

namestring · max: 100Required

Display name identifying the group of on-premise agents. The server caps it at 100 characters (size_limit_exceeded) — a cap read from the model's size limit, enforced by the same plugin that caps agent names (verified live there), not yet confirmed on an agent group.

Example: Production ERP agents
descriptionstring · max: 5120Optional

Optional note about the group's purpose or the hosts it spans; capped at 5,120 characters by the same model size limit as name (source-only).

Example: Two hosts in separate racks, both reach the prod Oracle instance.
routingPolicystring · enumOptional

How the platform picks a member for each dispatch. Leave it at failover (the only accepted value today); member order in members is the priority order.

Absent is treated as failover.

Default: failoverExample: failoverPossible values:
Responses
200

Updated agent group.

application/json

On-premise agent group object as returned by the API. Member health is not embedded — read offline and lastHeartbeatAt from GET /v1/agents for each _agentId to compose a live view of the group.

namestring · max: 100Required

Display name identifying the group of on-premise agents. The server caps it at 100 characters (size_limit_exceeded) — a cap read from the model's size limit, enforced by the same plugin that caps agent names (verified live there), not yet confirmed on an agent group.

Example: Production ERP agents
descriptionstring · max: 5120Optional

Optional note about the group's purpose or the hosts it spans; capped at 5,120 characters by the same model size limit as name (source-only).

Example: Two hosts in separate racks, both reach the prod Oracle instance.
routingPolicystring · enumOptional

How the platform picks a member for each dispatch. Leave it at failover (the only accepted value today); member order in members is the priority order.

Absent is treated as failover.

Default: failoverExample: failoverPossible values:
_idstring · objectIdRead-onlyRequired

Unique identifier for the resource. Format is a 24-character hexadecimal string.

Example: 5f8d43a1b9e5a80011a35f2c
createdAtstring · date-timeRead-onlyRequired

Timestamp when the resource was created. Set automatically and cannot be modified.

Example: 2023-04-01T09:15:32Z
lastModifiedstring · date-timeRead-onlyRequired

Timestamp when the resource was last updated. Changes whenever any property is modified.

Example: 2023-04-15T14:30:15Z
deletedAtstring · nullableRead-onlyOptional

Timestamp when the resource was soft-deleted. When null or absent, the resource is active.

Example: 2023-05-20T11:45:32Z
_accessLevelstringRead-onlyOptional

The calling user's effective access level for this group. Present only when the list request sets permissions=true.

Example: manage
put/v1/agentgroups/{_id}
PUT /v1/agentgroups/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 273

{
  "name": "Production ERP agents",
  "description": "Two hosts in separate racks, both reach the prod Oracle instance.",
  "members": [
    {
      "_agentId": "62e1387939dc306a3806eab5"
    },
    {
      "_agentId": "5ecd2c3ce1ec9c4fcaf60b10"
    },
    {
      "_agentId": "6398ddf316be761fb16a6523"
    }
  ],
  "routingPolicy": "failover"
}
{
  "_id": "6512ab7939dc306a3806eab5",
  "name": "Production ERP agents",
  "description": "Two hosts in separate racks, both reach the prod Oracle instance.",
  "members": [
    {
      "_agentId": "62e1387939dc306a3806eab5"
    },
    {
      "_agentId": "5ecd2c3ce1ec9c4fcaf60b10"
    },
    {
      "_agentId": "6398ddf316be761fb16a6523"
    }
  ],
  "routingPolicy": "failover",
  "createdAt": "2026-07-02T10:30:00.000Z",
  "lastModified": "2026-08-21T11:04:55.120Z"
}

Delete an agent group

delete
/v1/agentgroups/{_id}

Deletes an on-premise agent group. Soft-deleted and retained in the recycle bin for 30 days. Member agents are not deleted or uninstalled — only the grouping is removed.

The service refuses the delete with 409 agent_group_in_use while any connection is still bound to this group (source-only: no group could be created on the probe account to bind one). Re-point those connections to a single _agentId, or to another group, first, and check GET /v1/agentgroups/{_id}/dependencies before deleting.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
_idstring · objectIdRequired

Agent group resource ID.

Responses
204

Agent group deleted.

No content

delete/v1/agentgroups/{_id}
DELETE /v1/agentgroups/{_id} HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

List dependencies of an agent group

get
/v1/agentgroups/{_id}/dependencies

Returns resources that depend on this on-premise agent group. Keys are resource types (connections); values are arrays of dependency entries.

Check dependencies before deleting — the service refuses DELETE with 409 agent_group_in_use while any connection is still bound (source-only until an entitled account confirms it). Returns {} for both zero-dependency and nonexistent IDs (live-verified for a nonexistent id).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
_idstring · objectIdRequired

Agent group resource ID.

Responses
200

Dependency map. Keys are resource-type strings; values are arrays of dependency entries. Returns {} when no dependents exist.

application/json

Map of dependent-resource types to arrays of dependency entries. Keys are plural resource type strings (e.g. flows, imports, connections). An empty object {} means no dependents.

get/v1/agentgroups/{_id}/dependencies
GET /v1/agentgroups/{_id}/dependencies HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{}

Last updated

Was this helpful?