GamebeastDocs
Dashboard
Server APIMarkers

List raw markers

POST
/application/{applicationId}/analytics/v1/markers/raw

Fetches lists of raw markers. Supports pagination and filtering.

Authorization

AuthorizationBearer <token>

Secret server key (prefixed gb_sk_) for server-to-server calls. Send it as Authorization: Bearer <key>. Never ship a secret key in a game client.

In: header

Path Parameters

applicationId*number

Gamebeast project ID

Query Parameters

markerType*string
pageSize?number
Range1 <= value <= 5000
Default100
pageCursor?string
sortOrder?string
Default"desc"

Value in

  • "asc"
  • "desc"

Header Parameters

environment_id*number

Gamebeast environment ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/application/0/analytics/v1/markers/raw?markerType=string" \  -H "environment_id: 0" \  -H "Content-Type: application/json" \  -d '{    "timeFilter": {      "step": "second",      "relative": {        "step": "second",        "value": 0      }    }  }'
{  "nextCursor": "string",  "data": [    {      "user_id": "string",      "session_id": "string",      "timestamp": "2019-08-24T14:15:22Z",      "properties": {        "country": "string",        "language": "string",        "device": "string",        "deviceSubType": "string",        "inputType": "string",        "sdkVersion": "string",        "serverId": "string"      },      "arguments": {        "property1": null,        "property2": null      }    }  ]}