Skip to content

Get recent activity

GET
/api/v1/activity/recent
curl --request GET \
--url 'http://localhost:3000/api/v1/activity/recent?limit=50' \
--header 'X-API-Key: <X-API-Key>'

Retrieves recent activity events (deployment status changes, device registrations, certificate issuances) for the current organization. Used by the dashboard.

limit
number
default: 50

Maximum number of items to return

x-organization-id
string format: uuid

UUID of the organization (tenant) the request acts in. It selects the tenant and grants nothing: the server checks membership or an open tenant switch. Not needed for global operations. A malformed value returns 400. API keys are fixed to their own organization; another organization returns 403. The x-organization-source header grants nothing.

Recent activity retrieved successfully

Media typeapplication/json
object
items
required

Recent activity items

Array<object>
object
id
required

Unique event ID

string
type
required

Event type

string
Allowed values: deployment.status device.registered certificate.issued registry-sync-failed
message
required

Human-readable event message

string
timestamp
required

When the event occurred

string format: date-time
metadata

Additional metadata about the event

object
Example
{
"items": [
{
"type": "deployment.status"
}
]
}

Unauthorized

Forbidden