Get the Latest Event Subscription Execution

GET /groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}/execution

Return information about the most recent execution of an event subscription.

Path parameters

Responses

  • 200 application/json

    Success.

    Hide response attributes Show response attributes object
    • data object
    • resource_id object
    • completed_at object

      The last time a batch was processed from the event stream.

      The value of completed_at should be relatively close to the current time. If completed_at is not updating over time, it might mean that the event processor (e.g. Device Sync) is down or stuck.

    • cluster_time object

      The time of the latest event in the most recently processed batch.

      If the value of cluster_time is significantly earlier than the completed_at time, the event processor (e.g. Device Sync) is lagging behind the event.

GET /groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}/execution
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/event_subscriptions/{eventSubscriptionId}/execution' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {},
  "resource_id": {},
  "completed_at": {},
  "cluster_time": {}
}