customAgentId.
The Agent ID is not the agent name. The agent name still identifies the agent in every API call, including the calls on this page.
This API lets you:
- Get Agents - read agent details, including each agent’s Agent ID.
- Set Agent ID - set, change or clear the Agent ID of one or more agents.
Support Matrix
The following are descriptions of items in the API’s calls below:
- Coordinator IP Address/Hostname – the IP address or hostname of the Coordinator.
- Coordinator UI Port – the port number of the Coordinator Manager. By default, this is 8000.
-
Version - use
1.6.0. Get Agents with an older version, or with no version, returns the older response, which has nocustomAgentId. Set Agent ID with a version older than 1.6.0 returns “API not implemented”. -
Coordinator ID - The ID assigned by Incredibuild to your Coordinator. You can view this in the Coordinator Manager > Settings > API Access area.

Get Agents
Returns details of the requested agents. Repeat theagents parameter once per agent.
Request Syntax
agentsInRequest- the number of agents requested.agentsInResults- the number of requested agents that were found.agentsNotFound- the number of requested agents that were not found. Agents that are not found are left out ofagentsDetails.nameandid- the agent name.customAgentId- the agent’s Agent ID, ornullif it has none.
Set Agent ID
Sets the same Agent ID on every listed agent. All the agents are sent to the Coordinator in one request, and the response has one result per agent. Request SyntaxcustomAgentId(required) - the new Agent ID. Send""ornullto clear it. The Coordinator removes spaces at the start and end. It can be up to 64 characters and cannot contain control characters such as tabs or line breaks.agents(required) - the names of the agents, at least one.
"status": "fail" is not changed, and message says why:
Agent not found- no agent with that name.CustomAgentId "..." is already used by agent ...- the Agent ID is taken and Require a unique Agent ID is on.Coordinator is not primary- the call reached a backup Coordinator. Agent IDs can be changed only on the primary Coordinator.
- 400 - the body is not valid:
customAgentIdis missing, is not a string ornull, is longer than 64 characters (not counting spaces at the start and end), or contains a control character; oragentsis missing or empty. Nothing is changed. - 501 - “API not implemented”: the version is older than 1.6.0.