Skip to content

Build Agents API

GET /buildagent

Returns all agents accessible to the authenticated user.

Response:

[
{
"id": "uuid",
"name": "My-Agent",
"platform": 1,
"status": 0,
"isOnline": true,
"canBuildIOS": true,
"canBuildAndroid": true,
"canBuildWeb": true,
"lastHeartbeatAt": "2024-01-01T00:00:00Z"
}
]
GET /buildagent/{id}
POST /buildagent/register

Body:

{
"name": "My-Agent",
"platform": 1,
"canBuildIOS": true,
"canBuildAndroid": true,
"canBuildWeb": true
}
PUT /buildagent/{id}
DELETE /buildagent/{id}
GET /buildagent/{id}/poll

Used by agents to check for pending builds.