Logs
Retrieve a single log
Changed onReturns a single log entry by its composite key ({event_time_ms}:{event_id}). Unlike the list endpoint, this returns the full payload for the event.
get/logs/{event_time_and_id}
Request
- Base URLhttps://api.clerk.com/v1
- URLhttps://api.clerk.com/v1/logs/{event_time_and_id}
- AuthHTTP bearer
Path parameters
event_time_and_idstring required
Example:1776207110588:019d8e31-a1bc-7e07-9347-0fd20b25c475
Composite identifier in the format {event_time_ms}:{event_id}, where event_time_ms is the event timestamp as a Unix timestamp in milliseconds and event_id is the UUID of the event.
Response
A single log entry with full payload.
Example response
{
"object": "log",
"actor_type": "dashboard_user",
"event_context": {
"device": {
"location": {
"country_code": "US"
}
}
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking