Get Activities

Retrieve a list of enrichment actions taken on an incident

🚧

Authentication

All BigPanda APIs require Bearer Token Authorization in the call headers.

This API uses the User API Key type of Authorization token.

Activities can be filtered by activity type, using a comma separated query string of one or more activity types with the call.

Example queries:
/activities?page=5 - will return results from the 5th set of results
/activities?per_page=40 - will return 40 results per page instead of the default 20
/activities?types=incident_commented,incident_snoozed - will return only comment and snooze activity
/activities?types=incident_created,incident_resolved_ui_manually,incident_resolved_api,incident_resolved_by_alerts,incident_reopen - will return only opening and closing activity for the incident

Activity types available for retrieval are:

  • incident_created
  • incident_assigned
  • incident_unassigned
  • incident_become_flapping
  • incident_commented
  • incident_resolved_ui_manually
  • incident_resolved_api
  • Incident_alerts_resolved
  • incident_tag_removed
  • incident_tag_updated
  • incident_merged_destination
  • incident_merged_source
  • incident_rcc_update
  • incident_shared
  • incident_splitted_destination
  • incident_splitted_source
  • incident_snoozed
  • incident_unsnoozed
  • incident_opened
  • incident_reopen
  • incident_resolved_by_alerts

To learn more about incident activity types and what fields are included with each schema, see the Activities Object documentation.

🚧

Activities are returned in reverse timestamp order, most recent activities to oldest

Sample Call

curl --request POST \
     --url https://api.bigpanda.io/resources/v2.0/incidents/{incident_id}/activities \
     --header 'Authorization: Bearer <User API Key>' \
     --header "Content-Type: application/json" \
curl --request POST \
     --url https://eu-api.bigpanda.io/resources/v2.0/incidents/{incident_id}/activities \
     --header 'Authorization: Bearer <User API Key>' \
     --header "Content-Type: application/json" \
Language