Skip to main content
GET
/
stats
Get initiative counts by status and product
curl --request GET \
  --url https://crossproductroadmapbackend.vercel.app/api/v1/stats \
  --header 'Authorization: Bearer <token>' \
  --header 'x-tenant-slug: <x-tenant-slug>'
{
  "total": 123,
  "byStatus": [
    {
      "id": "<string>",
      "name": "<string>",
      "color": "<string>",
      "count": 123,
      "percentage": 123
    }
  ],
  "byProduct": [
    {
      "id": "<string>",
      "name": "<string>",
      "count": 123,
      "subProducts": [
        {
          "id": "<string>",
          "name": "<string>",
          "count": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Generate an API key in your workspace Settings → API Keys. Pass it as Authorization: Bearer tab_<key> on every request.

Headers

x-tenant-slug
string
required

Your workspace slug (e.g. acme).

Query Parameters

quarter
string

Filter to a specific quarter key (e.g. 2026_Q1)

productId
string
subProductId
string
statusId
string

Response

OK

total
integer
byStatus
object[]
byProduct
object[]