Skip to main content
GET
/
v1
/
patterns
/
metrics
Aggregate pipeline metrics
curl --request GET \
  --url https://api.seynlabs.com/v1/patterns/metrics \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "stageVelocity": [
      {
        "stage": "<string>",
        "medianDays": 123,
        "p90Days": 123,
        "transitions": 123
      }
    ],
    "pipelineDistribution": [
      {
        "stage": "<string>",
        "activeDeals": 123
      }
    ],
    "killPrecursors": [
      {
        "stage": "<string>",
        "killCount": 123
      }
    ],
    "quarterlyTrend": [
      {
        "quarter": "<string>",
        "avgCycleDays": 123,
        "dealCount": 123
      }
    ],
    "quarterlyKillTrend": [
      {
        "quarter": "<string>",
        "killCount": 123,
        "totalDeals": 123,
        "killRatePct": 123
      }
    ],
    "actorPatterns": [
      {
        "actorName": "<string>",
        "dealCount": 123,
        "deadDeals": 123,
        "killRatePct": 123,
        "avgCycleDays": 123
      }
    ],
    "totalDeals": 123,
    "totalDeadDeals": 123,
    "dataSpan": {
      "earliestEvent": "<string>",
      "latestEvent": "<string>",
      "totalEvents": 123
    }
  },
  "meta": {
    "requestId": "<string>"
  }
}
Aggregate analytics computed by SQL over the event data, not by LLMs: stage velocity, pipeline distribution, quarterly trends, and per-actor patterns. Designed to feed BI tools and dashboards. See Core Concepts → Pattern Metrics for what each array means.

Authorizations

Authorization
string
header
required

Bearer token from app.seynlabs.com → Settings → API Keys. Send as Authorization: Bearer sk_live_....

Response

Pattern metrics blob.

success
enum<boolean>
required
Available options:
true
data
object
required

Aggregate pipeline analytics blob.

meta
object
required