Event Payloads

Required Attributes

Attributes are simple data that Sentry understands to provide the most basic information about events. These are things like the unique ID of an event or the time when it occurred.

The following attributes are required for all events.


Hexadecimal string representing a uuid4 value. The length is exactly 32 characters. Dashes are not allowed.

  "event_id": "fc6d8c0c43fc4630ad850ee518f1b9d0"

Indicates when the logging record was created (in the Sentry SDK). The Sentry server assumes the time is in UTC. The timestamp should be in ISO 8601 format, without a timezone.

  "timestamp": "2011-05-02T17:41:36Z"

Alternatively, the timestamp can be specified as floating-point UNIX timestamp.

  "timestamp": 1304358096000

The name of the logger which created the record.

  "logger": "my.logger.name"

A string representing the platform the SDK is submitting from. This will be used by the Sentry interface to customize various components in the interface.

  "platform": "python"

Acceptable values are:

  • as3
  • c
  • cfml
  • cocoa
  • csharp
  • elixir
  • haskell
  • go
  • groovy
  • java
  • javascript
  • native
  • node
  • objc
  • other
  • perl
  • php
  • python
  • ruby

Optional Attributes

Additionally, there are several optional values which Sentry recognizes and are highly encouraged:


The record severity.

Defaults to error.

The value needs to be one on the supported level string values.

  "level": "warning"

Acceptable values are:

  • fatal
  • error
  • warning
  • info
  • debug

The name of the transaction which caused this exception.

For example, in a web app, this might be the route name.

  "transaction": "/users/<username>/"

Identifies the host from which the event was recorded.

  "server_name": "foo.example.com"

The release version of the application.

Release versions must be unique across all projects in your organization. This value can be the git SHA for the given project, or a product identifier with a semantic version.

  "release": "721e41770371db95eee98ca2707686226b993eda"

The distribution of the application.

Distributions are used to disambiguate build or deployment variants of the same release of an application. For example, the dist can be the build number of an XCode build or the version code of an Android build.

  "release": "721e41770371db95eee98ca2707686226b993eda",
  "dist": "14G60"

A map or list of tags for this event. Each tag must be less than 200 characters.

  "tags": {
    "ios_version": "4.0",
    "context": "production"

The environment name, such as production or staging.

  "environment": "production"

(New in version Sentry: 8.0)


A list of relevant modules and their versions.

  "modules": {
    "my.module.name": "1.0"

An arbitrary mapping of additional metadata to store with the event.

  "extra": {
    "my_key": 1,
    "some_other_value": "foo bar"

A list of strings used to dictate the deduplication of this event.

  "fingerprint": [
  "fingerprint": [
    "{{ default }}",

(New in version Protocol: 7)

For information about overriding grouping see Customize Grouping with Fingerprints.

Core Interfaces

All values in the event payload that are not basic attributes are data interfaces. The key is the canonical interface short name, and the value is the data expected by the interface (usually a dictionary).

For the most part, interfaces are an evolving part of Sentry. Like with attributes, SDKs are expected to assume that more interfaces will be added at any point in the future.

The core data interfaces are:

Scope Interfaces

Other Interfaces