Skip to content

List events

GET
/events
curl --request GET \
--url 'https://safe-api.safetyradar.com/v2/events?limit=50&page=1&dir=asc&updatedAfter=2026-09-01T00%3A00%3A00Z&updatedBefore=2026-09-30T00%3A00%3A00Z' \
--header 'Authorization: Bearer <token>'

Get a paginated list of events with optional filtering.

Poll for changes with updatedAfter / updatedBefore — ISO 8601 instants with Z or a timezone offset, exclusive on both ends, the same on every v2 endpoint that takes them. When either is present the default sort changes to updatedAt ascending, so the updatedAt of the last record on a page can be passed back as updatedAfter. A write can become visible with an updatedAt a little older than the cursor you already hold, so poll with an overlap: pass updatedAfter = the last updatedAt you saw minus 5 minutes, and de-duplicate on id.

limit

Results per page (default: 50, max: 1000). A larger value is refused with a 400 validation_error; it is not clamped.

integer
default: 50 <= 1000
Example
50

Results per page (default: 50, max: 1000). A larger value is refused with a 400 validation_error; it is not clamped.

page

Page number, starting at 1 (default: 1)

integer
default: 1
Example
1

Page number, starting at 1 (default: 1)

q
string
sort
string
dir
string
Allowed values: asc desc
conditions
Any of:
string
teams
Any of:
Array<string>
updatedAfter

Only events updated strictly after this instant (exclusive). ISO 8601 with Z or a timezone offset (URL-encode + as %2B), normalized to UTC. Page through with page until hasNext is false, then pass the updatedAt of the last record back as the next updatedAfter. Treat the poll as at-least-once and de-duplicate on id.

string format: date-time
Example
2026-09-01T00:00:00Z

Only events updated strictly after this instant (exclusive). ISO 8601 with Z or a timezone offset (URL-encode + as %2B), normalized to UTC. Page through with page until hasNext is false, then pass the updatedAt of the last record back as the next updatedAfter. Treat the poll as at-least-once and de-duplicate on id.

updatedBefore

Only events updated strictly before this instant (exclusive). ISO 8601 with Z or a timezone offset (URL-encode + as %2B), normalized to UTC.

string format: date-time
Example
2026-09-30T00:00:00Z

Only events updated strictly before this instant (exclusive). ISO 8601 with Z or a timezone offset (URL-encode + as %2B), normalized to UTC.

metricData
Any of:
string
unlocated
Any of:
boolean

Paginated list of events

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
organizationId
required
string format: uuid
externalId
required
string
type
required
string
title
required
string
eventDate
required

Event date and time in UTC. Accepts a full ISO 8601 timestamp (e.g. “2026-05-19T14:23:00Z”) or a date-only string (“2026-05-19”); date-only inputs are anchored at 08:00 UTC for backwards compatibility.

string format: date-time
reportDate
required
string
nullable
address1
required
string
nullable
address2
required
string
nullable
city
required
string
nullable
state
required
string
nullable
zip
required
string
nullable
latitude
required
number
nullable >= -140737488355328 <= 140737488355327
longitude
required
number
nullable >= -140737488355328 <= 140737488355327
description
required
string
ownerId
required

Deprecated: use assignedToUserId. Carries the ASSIGNEE’s id (same value).

string format: uuid
nullable
assignedToUserId
required
string format: uuid
nullable
reportedBy
required
string format: uuid
nullable
locationId
required
string format: uuid
nullable
assetId
required
string format: uuid
nullable
statusId
required
string format: uuid
nullable
actionTaken
required
string
nullable
metadata
required
object
key
additional properties
nullable
media
required
Array<string>
nullable
metricData
required
object
key
additional properties
nullable
trainingMetadata
required
Array<object>
nullable
object
name
required
string
value
required
string
tag
required
string
embeddingsBatchStatus
required
string
nullable
createdAt
required
string
updatedAt
required
string
deletedAt
required
string
nullable
locationName
required
string
nullable
location
required
object
id
required
string format: uuid
organizationId
required
string format: uuid
name
required
string
description
required
string
nullable
slug
required
string
address1
required
string
nullable
address2
required
string
nullable
city
required
string
nullable
state
required
string
nullable
zip
required
string
nullable
latitude
required
number
nullable >= -140737488355328 <= 140737488355327
longitude
required
number
nullable >= -140737488355328 <= 140737488355327
status
required
string
Allowed values: active inactive
type
required
string
Allowed values: equipment location
parentId
required
string format: uuid
nullable
externalId
required
string
nullable
metadata
required
Any of:
string
createdById
required
string format: uuid
nullable
lastEditedById
required
string format: uuid
nullable
searchText
nullable
createdAt
required
string
updatedAt
required
string
deletedAt
required
string
nullable
parentExternalId
required
string
nullable
assigneeName
required

Full name of the user the event is assigned to.

string
nullable
ownerName
required

Deprecated: use assigneeName. Before SAFE-1903 the owner was the assignee; this field still carries the ASSIGNEE’s name.

string
nullable
statusName
required
string
nullable
meta
required
object
pagination
required
object
page
required
number
limit
required
number
total
required
number
totalPages
required
number
hasNext
required
boolean
hasPrev
required
boolean
Example
{
"data": [
{
"eventDate": "2026-05-19T14:23:00.000Z",
"location": {
"status": "active",
"type": "equipment"
}
}
]
}

Invalid request: a parameter or the body failed validation (validation_error), or the body is not valid JSON (invalid_json)

Media typeapplication/json
object
code
required

Machine-readable error code

string
message
required

Human-readable error message

string
details

Additional error details. For validation_error: issues, a list of { location, path, message } (location is query, param, header or json).

object
key
additional properties
nullable
Example
{
"code": "validation_error",
"message": "Request validation failed"
}

Unauthorized

Media typeapplication/json
object
code
required

Machine-readable error code

string
message
required

Human-readable error message

string
details

Additional error details. For validation_error: issues, a list of { location, path, message } (location is query, param, header or json).

object
key
additional properties
nullable
Example
{
"code": "validation_error",
"message": "Request validation failed"
}

Rate limit exceeded (rate_limit_exceeded)

Media typeapplication/json
object
code
required

Machine-readable error code

string
message
required

Human-readable error message

string
details

Additional error details. For validation_error: issues, a list of { location, path, message } (location is query, param, header or json).

object
key
additional properties
nullable
Example
{
"code": "validation_error",
"message": "Request validation failed"
}

Unexpected server error (internal_error)

Media typeapplication/json
object
code
required

Machine-readable error code

string
message
required

Human-readable error message

string
details

Additional error details. For validation_error: issues, a list of { location, path, message } (location is query, param, header or json).

object
key
additional properties
nullable
Example
{
"code": "validation_error",
"message": "Request validation failed"
}

Version bd999fd · Released November 23, 2026