Infrastructure/Agents
POSTAgentSince 1.0SynchronousAuth Required
RegisterAgent
Register a new agent with the platform and obtain its assigned UUID
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name for the new agent
Example: prod-agent-01
typeStringRequiredType of the agent (log, metric, trace)
Example: log
versionStringRequiredVersion of the agent binary being registered
Example: 1.2.3
endpointStringRequiredReachable endpoint of the agent
Example: http://192.168.1.10:7890
platformIdStringRequiredUUID of the platform this agent is associated with
Example: plat-001-abc
Responses
Endpoint
POST/api/v1/agents
/api/v1/agents
Request Example
curl -X POST '{host}/api/v1/agents' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"prod-agent-01","type":"log","version":"1.2.3","endpoint":"http://192.168.1.10:7890","platformId":"plat-001-abc","region":"us-east-1","labels":"{\"env\":\"prod\"}"}'
Response Example
200{
"uuid": "agent-abc123-def456",
"name": "prod-agent-01",
"type": "log",
"version": "1.2.3",
"status": "online",
"endpoint": "http://192.168.1.10:7890",
"platformId": "plat-001-abc",
"region": "us-east-1"
}Change History
This API has no change history records yet.
