Chief Tools Logo
Server Chief API v1

Requests sent to your webhook endpoints when something happens. Each page shows the headers and body of the request, and the response your endpoint should give.


server.created

POSTyour webhook endpointWebhook

A server was added and waits for its agent.

server.created › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.created › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server was added and waits for its agent.

Enum values:
server.created
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.created › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.enrolled

POSTyour webhook endpointWebhook

A server's agent enrolled for the first time.

server.enrolled › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.enrolled › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server's agent enrolled for the first time.

Enum values:
server.enrolled
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.enrolled › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.updated

POSTyour webhook endpointWebhook

A server's name, metadata, location or settings changed.

server.updated › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.updated › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server's name, metadata, location or settings changed.

Enum values:
server.updated
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.updated › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.deleted

POSTyour webhook endpointWebhook

A server was removed.

server.deleted › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.deleted › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server was removed.

Enum values:
server.deleted
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.deleted › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.offline

POSTyour webhook endpointWebhook

A server stopped checking in.

server.offline › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.offline › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server stopped checking in.

Enum values:
server.offline
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.offline › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.online

POSTyour webhook endpointWebhook

An offline server checks in again.

server.online › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.online › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

An offline server checks in again.

Enum values:
server.online
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.online › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.reboot_stalled

POSTyour webhook endpointWebhook

A server did not come back after a reboot.

server.reboot_stalled › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.reboot_stalled › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server did not come back after a reboot.

Enum values:
server.reboot_stalled
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.reboot_stalled › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

alert.fired

POSTyour webhook endpointWebhook

A metric alert rule fired.

alert.fired › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

alert.fired › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A metric alert rule fired.

Enum values:
alert.fired
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

alert.fired › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

alert.resolved

POSTyour webhook endpointWebhook

A firing alert resolved.

alert.resolved › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

alert.resolved › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A firing alert resolved.

Enum values:
alert.resolved
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

alert.resolved › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

metrics.stalled

POSTyour webhook endpointWebhook

An online server stopped delivering metrics.

metrics.stalled › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

metrics.stalled › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

An online server stopped delivering metrics.

Enum values:
metrics.stalled
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

metrics.stalled › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

metrics.resumed

POSTyour webhook endpointWebhook

A server delivers metrics again.

metrics.resumed › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

metrics.resumed › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server delivers metrics again.

Enum values:
metrics.resumed
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

metrics.resumed › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.storage_unhealthy

POSTyour webhook endpointWebhook

A RAID array or ZFS pool degraded, or a disk failed.

server.storage_unhealthy › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.storage_unhealthy › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A RAID array or ZFS pool degraded, or a disk failed.

Enum values:
server.storage_unhealthy
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.storage_unhealthy › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

server.storage_healthy

POSTyour webhook endpointWebhook

A server's storage is healthy again.

server.storage_healthy › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

server.storage_healthy › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A server's storage is healthy again.

Enum values:
server.storage_healthy
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

server.storage_healthy › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned

webhook_endpoint.test

POSTyour webhook endpointWebhook

A test event sent from the dashboard.

webhook_endpoint.test › Headers

webhook-id
​string · required

The event's id, the same on every attempt.

webhook-timestamp
​string · required

The Unix time this attempt was sent, reject requests more than five minutes from your clock.

webhook-signature
​string · required

Space-separated v1,{base64} HMAC-SHA256 signatures of {webhook-id}.{webhook-timestamp}.{body}, following Standard Webhooks. Two while a rotated secret is still valid.

webhook_endpoint.test › Request Body

id
​string · required

Identifies the event, the same as the webhook-id header. It stays the same on retries and resends, use it to skip events you processed.

Example: event_01m6v3f5aydrktmzrbpz1pqh7e
type
​string · enum · required

A test event sent from the dashboard.

Enum values:
webhook_endpoint.test
timestamp
​string · date-time · required

When the event happened, in UTC. It does not change on retries.

api_version
​string · required

The version of the payload format.

Example: v1
​object · required

webhook_endpoint.test › Responses

Any 2xx status within 15 seconds acknowledges the delivery. Any other status, a timeout or a redirect fails it, and it is retried.

No data returned