Home / Companies / Speedscale / Blog / Post Details
Content Deep Dive

I built an API traffic classifier for business workflows

Blog post from Speedscale

Post Details
Company
Date Published
Author
Ken Ahrens
Word Count
1,175
Company Posts That Month
15
Language
English
Hacker News Points
-
Post removed?
No
Summary

An engineer developed a Python traffic classifier to infer business workflows directly from captured API traffic, aiming to reduce reliance on undocumented institutional knowledge. Using JWT subjects, request identifiers, session boundaries, state-changing calls, surrounding reads, and locally processed endpoint and field-name information, the tool analyzed a synthetic banking application’s traffic and identified recurring activities such as account overviews, deposits, transfers, registration, statement exports, and multiple transfer-verification variants. Initial approaches that matched exact endpoint sequences produced excessive, misleading workflow counts because retries, optional lookups, and reordered reads were treated as distinct behaviors; anchoring workflows on writes reduced this fragmentation substantially. The experiment also exposed classification errors involving ambiguous data formats, repetitive status text, and traffic accidentally merged from separate clusters, prompting changes to field-priority rules, text analysis, and environment-aware session keys. The author argues that comparing inferred workflows with existing tests could reveal and prioritize test coverage gaps, while acknowledging limitations involving unstructured text, non-JSON payloads, synthetic data, and cross-service workflows involving event systems.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 1 3,175 737 186 -24%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.