Agent Tools
funnel / analyze
Walks the events you pass through the ordered steps you name and reports per step: how many arrived, conversion from the previous step and from the first, drop-off in users and as a rate, and time to the next step as median, p90 and mean. A step counts only if it happened after the one before and inside the window. Where events carry a segment, each is tested against the largest with the same two-proportion test the A/B endpoint uses. Nothing is stored.
POST https://tools.halowerk.com/v1/funnel/analyzeEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| steps | array | Ja | Step names in the order they are meant to happen. Each name once. |
| events | array | Ja | Each event needs user_id, step and a timestamp (time_unix_s in seconds since 1970, or time as ISO 8601). Optional: segment. Events whose step is not in steps are counted in events_outside_funnel and otherwise left alone. The service caps the whole request body at 256 KB, so long records reach that limit before maxItems. |
| window_s | integer | Nein | How long a user has, from the first step on, to reach the later ones. |
| strict_order | boolean | Nein | true requires each step to happen at or after the previous one. false only requires that it happened inside the window. |
| compare_segments | boolean | Nein | Break the funnel down by segment and test the segments against the largest one. |
| confidence_level | number | Nein | |
| max_segments | integer | Nein | How many segments are reported, largest first. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"steps",
"events"
],
"properties": {
"steps": {
"type": "array",
"minItems": 2,
"maxItems": 20,
"items": {
"type": "string"
},
"description": "Step names in the order they are meant to happen. Each name once."
},
"events": {
"type": "array",
"minItems": 1,
"maxItems": 4000,
"description": "Each event needs user_id, step and a timestamp (time_unix_s in seconds since 1970, or time as ISO 8601). Optional: segment. Events whose step is not in steps are counted in events_outside_funnel and otherwise left alone. The service caps the whole request body at 256 KB, so long records reach that limit before maxItems."
},
"window_s": {
"type": "integer",
"minimum": 1,
"maximum": 31536000,
"default": 604800,
"description": "How long a user has, from the first step on, to reach the later ones."
},
"strict_order": {
"type": "boolean",
"default": true,
"description": "true requires each step to happen at or after the previous one. false only requires that it happened inside the window."
},
"compare_segments": {
"type": "boolean",
"default": true,
"description": "Break the funnel down by segment and test the segments against the largest one."
},
"confidence_level": {
"type": "number",
"minimum": 0.5,
"maximum": 0.9999,
"default": 0.95
},
"max_segments": {
"type": "integer",
"minimum": 2,
"maximum": 20,
"default": 8,
"description": "How many segments are reported, largest first."
}
}
}Veröffentlichtes Eingabebeispiel
{
"steps": [
"view",
"cart",
"checkout",
"purchase"
],
"events": [
{
"user_id": "u1",
"step": "view",
"time_unix_s": 1786000000,
"segment": "eu"
},
{
"user_id": "u1",
"step": "cart",
"time_unix_s": 1786000120,
"segment": "eu"
},
{
"user_id": "u1",
"step": "checkout",
"time_unix_s": 1786000420,
"segment": "eu"
},
{
"user_id": "u1",
"step": "purchase",
"time_unix_s": 1786000900,
"segment": "eu"
},
{
"user_id": "u2",
"step": "view",
"time_unix_s": 1786000010,
"segment": "us"
},
{
"user_id": "u2",
"step": "cart",
"time_unix_s": 1786000200,
"segment": "us"
},
{
"user_id": "u3",
"step": "view",
"time_unix_s": 1786000020,
"segment": "us"
}
],
"window_s": 604800
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Agent Tools0,002 USDC
abtest / evaluate
POSThttps://tools.halowerk.com/v1/abtest/evaluateReads one conversion experiment two ways at once. Frequentist: two-proportion test, p value, confidence interval on the absolute lift, and the sample size the requested minimum detectable effect needs at the requested power. Bayesian: Beta-
- Agent Tools0,002 USDC
address / validate
POSThttps://tools.halowerk.com/v1/address/validateParse, validate and normalize a supplied postal address. See the linked schema for inputs, coverage and limitations.
- Agent Tools0,004 USDC
agent / access
POSThttps://tools.halowerk.com/v1/agent/accessInspect published access rules for software agents on a web page. See the linked schema for inputs, coverage and limitations.