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

# Generate project activity report

> Generate an Excel report of project activity with filtering and date range



## OpenAPI

````yaml /api-reference/cx/swagger.json post /todo/project/_activity_report
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /todo/project/_activity_report:
    post:
      tags:
        - todo
      summary: Generate project activity report
      description: >-
        Generate an Excel report of project activity with filtering and date
        range
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/pkg_routes_todo_project.ProjectActivityReportRequest
        description: Activity report request
        required: true
      responses:
        '200':
          description: Excel file with activity report
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
        '400':
          description: Bad request - invalid request body
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_todo_project.ProjectActivityReportRequest:
      type: object
      properties:
        after:
          type: string
        before:
          type: string
        filters:
          $ref: '#/components/schemas/pkg_routes_todo_project.ListProjectsFilters'
    pkg_routes_todo_project.ListProjectsFilters:
      type: object
      properties:
        assignee:
          type: array
          items:
            type: string
        category:
          type: array
          items:
            type: string
        client:
          type: array
          items:
            type: string
        client_request:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/types.ListFilterData'
        due:
          $ref: '#/components/schemas/types.ListFilterDate'
        fee_item:
          type: array
          items:
            type: string
        lead:
          type: array
          items:
            type: string
        plan:
          type: array
          items:
            type: string
        search:
          type: string
        showPlanYearDetail:
          type: boolean
        status:
          type: array
          items:
            type: string
        status_id:
          type: array
          items:
            type: integer
        tags:
          type: array
          items:
            type: string
        template:
          type: array
          items:
            type: string
    types.ListFilterData:
      type: object
      properties:
        key:
          type: string
        op:
          type: string
        value: {}
    types.ListFilterDate:
      type: object
      properties:
        after:
          type: string
        before:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.