Errors
Agent errors
List all agent errors in descending order with backward pagination. You can optionally filter dismissed or not dismissed errors.
GEThttps://cloud-api.calyptia.com/v1/agents/{agentID}/errors
Authorization
Path parameters
agentID*string (uuid)
Query parameters
Response
OK
Headers
Body
id*string (uuid)
agentID*string (uuid)
error*string
Example: "[config] section 'foo' tried to instance a plugin name that don't exists"
dismissedAt*nullable string (date-time)
dismissReason*nullable string
createdAt*string (date-time)
Request
Response
Create agent error
Create a new agent error. This endpoint should be called directly by agents themselves. Notice that if there is an error that matches exactly and has not been dismissed yet since the last time the config was updated, then the error will be simply ignored and not persisted.
POSThttps://cloud-api.calyptia.com/v1/agents/{agentID}/errors
Authorization
Path parameters
agentID*string (uuid)
Body
error*string
Example: "[config] section 'foo' tried to instance a plugin name that don't exists"
Response
Created
Body
id*string (uuid)
createdAt*string (date-time)
Request
Response