Public M2M API — host-agents
Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.
Authentication and permissions · Requests, results and recovery
/api/v1/host-agents
Exported methods: GET, POST
GET
- Resource scopes:
monitoring:read - Query parameters:
agentId - Explicit response statuses:
404 - Explicit error codes:
not_found - Response keys observed across outcomes:
agent,agents,data,jobs,recentJobs
POST
- Resource scopes:
monitoring:write - Explicit response statuses:
201,422 - Explicit error codes:
host_agent_error,invalid_request - Response keys observed across outcomes:
action,agent,data,enrollment,job,session
These tables describe the validated form after the server normalizes the submitted input. Include the shown discriminator explicitly to select an alternative; the server may also accept omitted or aliased fields according to its route-specific normalization.
Provide one of these observed alternatives; additional validation may apply.