Skip to main content
GET
Get a heartbeat

Authorizations

Authorization
string
header
required

Use a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer '.

Scopes

heartbeats:read

Headers

X-Phare-Project-Id
integer

A project header is required when using an organization-scoped API key.

Example:

1

X-Phare-Project-Slug
string

A project header is required when using an organization-scoped API key.

Example:

"luminous-guiding-tower"

Path Parameters

heartbeatId
integer
required

ID of the heartbeat to show

Response

Success, heartbeat retrieved

name
string
required

Heartbeat name

Required string length: 2 - 45
Example:

"Nightly backup"

display_name
string | null
required

Public name of the heartbeat on status pages, defaults to the heartbeat name

Required string length: 2 - 45
Example:

"Backups"

interval
integer
required

Expected time between two pings, in seconds, a whole number of minutes from 1 minute to 31 days

Required range: 60 <= x <= 2678400
Example:

86400

grace
integer
required

Time allowed after an expected ping before it counts as missed, in seconds, a whole number of minutes from 1 minute to 7 days

Required range: 60 <= x <= 604800
Example:

300

incident_confirmations
enum<integer>
required

Number of uninterrupted missed or failed pings required to create an incident

Available options:
1,
2,
3,
4,
5
Example:

1

recovery_confirmations
enum<integer>
required

Number of uninterrupted successful pings required to resolve an incident

Available options:
1,
2,
3,
4,
5
Example:

1

id
integer

Heartbeat ID

Example:

1

project_id
integer

Parent project ID

Example:

1

status
enum<string>

Heartbeat current status, waiting until its first ping, and until its next ping after an incident is recovered or deleted by hand

Available options:
waiting,
online,
offline,
paused
paused
boolean

Whether the heartbeat is currently paused

Example:

false

ping_url
string<uri>
read-only

URL to request with GET, HEAD or POST when the job succeeds, add /start when it begins and /fail to report a failure

Example:

"https://beacon.phare.io/heartbeats/tVcyL8FuedAF3RzKgdXxYzznLkXIpo2364OqgVhi4a95ccf5"

tags
string[] | null

Resource tags, made of lowercase letters, numbers, ., _, : and -. An organization can have up to 200 tags.

Maximum array length: 20
Required string length: 1 - 100
last_pinged_at
string<date-time> | null

Date of the last successful or failed ping with a 1 minute accuracy

created_at
string<date-time>

Date of creation for the entity

updated_at
string<date-time>

Date of last update for the entity

Last modified on November 25, 2026