API Reference / Code - Organization Performance

Get org bug fix activity

post https://api.intelig.ai/api/v1/intelig/code/performance/organizations/bug-fixes

Auth: Authorization: ApiKey <key> (an API key sent as Bearer is rejected) or Authorization: Bearer <jwt> for a dashboard session. operationId: getBugFixActivity

Returns daily breakdown of total commits versus bug fix commits for quality risk analysis. Identifies bug fix ratio trends and highlights periods of elevated fix activity. Filtered by the from/to date range.

Example request

curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/organizations/bug-fixes" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "2026-08-01",
    "to": "2026-08-31",
    "repositoryIds": [
      10,
      11
    ]
  }'

Request body

application/json

FieldTypeRequiredDescription
from string no Start date in YYYY-MM-DD format. Defaults to the first day of the current month. Example: 2026-08-01
to string no End date in YYYY-MM-DD format. Defaults to the last day of the current month. Example: 2026-08-31
repositoryIds integer[] no Optional repository filter. Empty or omitted means every repository in the organization. Example: [10,11]

Response 200

application/json · ApiResponseBugFixActivityResponseDto

FieldTypeDescription
success boolean
message string
data BugFixActivityResponseDto Bug fix activity chart data showing daily bug fix rates and growth trends

Status codes

  • 200 — Bug fix activity data returned
  • 400 — Invalid request body or date format
  • 401 — Authentication required
  • 403 — Insufficient permissions for Code Intelligence pillar
  • 429 — —

Every response is wrapped in { success, message, data }. A 4xx means the request is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.