Skip to Content
Event Definitions

List Event Rules

GET
/v0/projects/{idOrSlug}/event-rules

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/event-rules'
Example Response
[
  {
    "pattern": "string",
    "sentWith": "api_key",
    "properties": [
      {
        "key": "string",
        "type": "string",
        "required": true,
        "values": [
          "string"
        ],
        "min": 0,
        "max": 0
      }
    ],
    "unknownProperties": "allow",
    "updatedAt": "string"
  }
]