Skip to main content
GET
/
v1
/
taxonomies
/
{taxonomy_id}
/
analytics
/
available-steps
Get Available Steps
curl --request GET \
  --url https://api.mixpeek.com/v1/taxonomies/{taxonomy_id}/analytics/available-steps
{
  "taxonomy_id": "<string>",
  "collection_id": "<string>",
  "total_events": 1,
  "total_sequences": 1,
  "steps": [
    {
      "step_key": "<string>",
      "event_count": 1,
      "sequence_count": 1,
      "first_seen": "<string>",
      "last_seen": "<string>"
    }
  ]
}

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

X-Namespace
string

REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'

Path Parameters

taxonomy_id
string
required

Query Parameters

collection_id
string
required

Collection ID to analyze

Response

Successful Response

Response containing all available steps for a taxonomy/collection.

This endpoint helps users discover what steps exist in their analytics data before querying transitions or paths.

Example Response: json { "taxonomy_id": "tax_sales_stages", "collection_id": "col_emails", "total_events": 5432, "total_sequences": 1000, "steps": [ { "step_key": "inquiry", "event_count": 1000, "sequence_count": 1000, "first_seen": "2025-11-01T00:00:00Z", "last_seen": "2025-12-07T00:00:00Z" }, { "step_key": "followup", "event_count": 450, "sequence_count": 450, "first_seen": "2025-11-02T00:00:00Z", "last_seen": "2025-12-06T00:00:00Z" }, { "step_key": "closed_won", "event_count": 350, "sequence_count": 350, "first_seen": "2025-11-05T00:00:00Z", "last_seen": "2025-12-07T00:00:00Z" } ] }

taxonomy_id
string
required

Taxonomy ID

collection_id
string
required

Collection ID

total_events
integer
required

Total events in dataset

Required range: x >= 0
total_sequences
integer
required

Total unique sequences

Required range: x >= 0
steps
StepInfo · object[]
required

Available steps sorted by count