SigSentrySigSentry
Projects

GET /v1/config/projects/{slug}/stats

Per-project rollups — analysis count, log sources, repos, channels, watchdog status, and 30-day trend

Returns rollup counts and a 30-day analysis trend for one project, looked up by slug. Useful for project overview dashboards and admin tooling.

Authentication

API key with config:read permission.

Endpoint

GET /v1/config/projects/{slug}/stats

Path parameters

ParamTypeNotes
slugstring (1–100 chars)The project slug — lowercase alphanumeric with hyphens

Response

200 OK

{
  "success": true,
  "data": {
    "analysisCount": 47,
    "logSourceCount": 2,
    "repoCount": 1,
    "notificationChannelCount": 3,
    "supportDeskCount": 1,
    "watchdogEnabled": true,
    "dailyTrend": [
      { "date": "2026-03-27", "count": 1 },
      { "date": "2026-03-28", "count": 4 },
      { "date": "2026-04-25", "count": 2 }
    ]
  }
}
FieldTypeNotes
analysisCountintAnalyses created in the last 30 days
logSourceCountintConfigured log sources on this project
repoCountintConnected source-code repositories
notificationChannelCountintNotification channels scoped to this project
supportDeskCountintSupport-desk bindings on the tenant
watchdogEnabledbooleanWhether watchdog monitoring is currently enabled on this project
dailyTrendarrayOne entry per day with at least one analysis in the last 30 days
dailyTrend[].datestring (YYYY-MM-DD)Calendar date (UTC)
dailyTrend[].countintAnalyses created that day

dailyTrend only includes days that have at least one analysis. Days with zero analyses are omitted.

Error responses

Statuserror.codeWhen
400VALIDATION_ERRORslug failed validation
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENKey lacks config:read
404NOT_FOUNDNo project with that slug in your tenant

Example

curl https://api.sigsentry.com/v1/config/projects/checkout-api/stats \
  -H "Authorization: Bearer ss_secret_..."

See also

  • List projects — basic counts across every project
  • Usage — tenant-wide quota and projection
  • Errors — error code reference