Skip to main content
GET
/
metrics
/
last-seen
/
{siteId}
Get Last Seen Time
curl --request GET \
  --url https://v1.api.altostrat.io/metrics/last-seen/{siteId} \
  --header 'Authorization: Bearer <token>'
{
  "last_seen": "2 minutes ago"
}

Documentation Index

Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

siteId
string<uuid>
required

The unique identifier for the site.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

The last seen time for the device.

last_seen
string | null

A human-readable string indicating how long ago the device last checked in.

Example:

"2 minutes ago"