Skip to Content
OpenPerf

Errors

Get an error occurrence

GET
/api/v1/errors/{id}/occurrence

Returns a single error event occurrence for a group with navigation cursors to adjacent events.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Path Parameters

id*string

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time
eventId?string
Length1 <= length
bucketFrom?string
Formatdate-time
bucketTo?string
Formatdate-time

Response Body

application/json
  1. response
occurrence*|null
newerId*string|null
olderId*string|null
position*integer
total*integer
Example Request
curl -X GET 'https://api.example.com/api/v1/errors/string/occurrence?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'
Example Response
{
  "occurrence": {
    "id": "string",
    "projectId": "string",
    "fingerprint": "string",
    "timestamp": "2019-08-24T14:15:22Z",
    "environment": "string",
    "platform": "server",
    "level": "warn",
    "handled": true,
    "type": "string",
    "message": "string",
    "culprit": "string",
    "stack": "string",
    "rawStack": "string",
    "transaction": "string",
    "traceId": "string",
    "spanId": "string",
    "userId": "string",
    "attributes": {
      "property1": "string",
      "property2": "string"
    },
    "resourceAttributes": {
      "property1": "string",
      "property2": "string"
    },
    "breadcrumbs": []
  },
  "newerId": "string",
  "olderId": "string",
  "position": 0,
  "total": 0
}