> ## Documentation Index
> Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulletin report sign-off status breakdown

> Powers the **Reports pending** KPI card on the **Bulletins** screen and the executive alert on the **Overview** screen (*'N bulletin reports pending sign-off'*).

Returns `report_status` counts for both platforms. Frontend should sum `report_status = awaiting_review` across platforms to derive the alert count.

Report status values:
- `draft` — editor has not yet signed off
- `awaiting_review` — editor signed off, head of news review pending
- `reviewed` — head of news review complete
- `signed_off` — fully closed



## OpenAPI

````yaml /openapi/content.yaml get /api/v1/analytics/bulletins/report-status
openapi: 3.0.3
info:
  title: Content Service API
  version: 1.0.0
  description: |2-

        **Content Service API** - Comprehensive content(story) and management system.
        
servers:
  - url: https://api.capedigital.co.ke/content
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/analytics/bulletins/report-status:
    get:
      tags:
        - Bulletin Analytics
      summary: Bulletin report sign-off status breakdown
      description: >-
        Powers the **Reports pending** KPI card on the **Bulletins** screen and
        the executive alert on the **Overview** screen (*'N bulletin reports
        pending sign-off'*).


        Returns `report_status` counts for both platforms. Frontend should sum
        `report_status = awaiting_review` across platforms to derive the alert
        count.


        Report status values:

        - `draft` — editor has not yet signed off

        - `awaiting_review` — editor signed off, head of news review pending

        - `reviewed` — head of news review complete

        - `signed_off` — fully closed
      operationId: analytics_bulletins_report_status_list
      parameters:
        - in: query
          name: period
          schema:
            type: string
          description: |-
            Period string. Accepted formats:
            - `2026-05` — calendar month
            - `Q2-2026` — quarter (Q1–Q4)
            - `YTD-2026` — year to date
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BulletinReportStatus'
              examples:
                May2026:
                  value:
                    - - platform: television
                        report_status: reviewed
                        count: 84
                        share_pct: '68.3'
                      - platform: television
                        report_status: awaiting_review
                        count: 18
                        share_pct: '14.6'
                      - platform: television
                        report_status: draft
                        count: 21
                        share_pct: '17.1'
                      - platform: radio
                        report_status: reviewed
                        count: 310
                        share_pct: '82.7'
                      - platform: radio
                        report_status: awaiting_review
                        count: 32
                        share_pct: '8.5'
                      - platform: radio
                        report_status: draft
                        count: 33
                        share_pct: '8.8'
                  summary: May 2026
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    BulletinReportStatus:
      type: object
      properties:
        platform:
          type: string
        report_status:
          type: string
        count:
          type: integer
        share_pct:
          type: string
          format: decimal
          pattern: ^-?\d{0,4}(?:\.\d{0,1})?$
      required:
        - count
        - platform
        - report_status
        - share_pct
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your JWT token in the format: Bearer <token>'

````