Skip to main content
Version: 0.6.x (Current)

Agents

An Agent represents a single tfc-agent process registered to an Agent Pool. Each agent reports its connection status, IP address, and heartbeat timestamp.

Available Queries

QueryDescription
agents(poolId: ID!, filter: AgentFilter)List all agents in a pool
agent(id: ID!)Fetch a single agent by ID

Example

query AgentsInPool($poolId: ID!) {
agents(poolId: $poolId) {
id
name
status
ipAddress
lastPingAt
}
}

Fields

FieldTypeDescription
idID!Agent identifier
nameStringHuman-readable agent name
statusString!Current status (e.g. idle, busy, errored)
ipAddressString!IP address the agent connected from
lastPingAtDateTime!Timestamp of the most recent heartbeat

Filter Fields

FieldComparison Type
idStringComparisonExp
nameStringComparisonExp
statusStringComparisonExp
ipAddressStringComparisonExp
lastPingAtDateTimeComparisonExp