Skip to Content
Funnels

Suggest Funnels

GET
/v0/projects/{idOrSlug}/funnels/suggestions

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/funnels/suggestions'
Example Response
[
  {
    "id": "string",
    "reason": "string",
    "definition": {
      "name": "string",
      "description": "string",
      "steps": [
        {
          "type": "event",
          "id": "string",
          "name": "string",
          "match": "all",
          "filters": [
            {
              "field": "string",
              "operator": "equals",
              "value": "string"
            }
          ]
        }
      ],
      "exclusions": [
        {
          "type": "event",
          "id": "string",
          "name": "string",
          "match": "all",
          "filters": [
            {
              "field": "string",
              "operator": "equals",
              "value": "string"
            }
          ]
        }
      ],
      "holdProperty": "string",
      "conversionWindowSeconds": 0,
      "strictOrder": true,
      "anyOrder": true,
      "timeRangeSeconds": 0,
      "breakdown": "string"
    },
    "unit": "people",
    "counts": [
      0
    ]
  }
]