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

# List hourly budget stats

> Returns hourly budget consumption statistics for each project, broken down by task when applicable.



## OpenAPI

````yaml preview post /api/activity/projects.list-hourly-budget-stats
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Timeclock
    description: Timeclock
paths:
  /api/activity/projects.list-hourly-budget-stats:
    post:
      tags:
        - Activity
      summary: List hourly budget stats
      description: >-
        Returns hourly budget consumption statistics for each project, broken
        down by task when applicable.
      operationId: >-
        post_app_ui_api_activity_configuration_projectquery_listprojecthourlybudgetstats
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListProjectHourlyBudgetStatsQuery'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProjectHourlyBudgetStatsView'
components:
  schemas:
    ListProjectHourlyBudgetStatsQuery:
      properties:
        filters:
          type: array
          items:
            $ref: '#/components/schemas/ListProjectHourlyBudgetStatsQueryFilter'
      type: object
    ProjectHourlyBudgetStatsView:
      required:
        - project_id
        - hourly_budget_mode
        - hourly_budget
        - total_effective_hours
        - total_budget_hours
        - hours_by_tasks
      properties:
        project_id:
          $ref: '#/components/schemas/Snowflake'
        hourly_budget_mode:
          $ref: '#/components/schemas/ProjectHourlyBudgetMode'
        hourly_budget:
          $ref: '#/components/schemas/Duration'
        total_effective_hours:
          $ref: '#/components/schemas/Duration'
        total_budget_hours:
          $ref: '#/components/schemas/Duration'
        hours_by_tasks:
          type: array
          items:
            $ref: '#/components/schemas/TasksHoursStatsView'
      type: object
    ListProjectHourlyBudgetStatsQueryFilter:
      discriminator:
        propertyName: key
      oneOf:
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: project.ids
              enum:
                - project.ids
            value:
              type: array
              items:
                $ref: '#/components/schemas/Snowflake'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: or
              enum:
                - or
            value:
              type: array
              items:
                $ref: '#/components/schemas/ListProjectHourlyBudgetStatsQueryFilter'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: and
              enum:
                - and
            value:
              type: array
              items:
                $ref: '#/components/schemas/ListProjectHourlyBudgetStatsQueryFilter'
          type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    ProjectHourlyBudgetMode:
      type: string
      example: none
      enum:
        - none
        - project
        - task
    Duration:
      description: '[ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations)'
      type: string
      format: duration
      example: PT1H30M20S
    TasksHoursStatsView:
      required:
        - task_id
        - effective_hours
        - budget_hours
      properties:
        task_id:
          $ref: '#/components/schemas/Snowflake'
        effective_hours:
          $ref: '#/components/schemas/Duration'
        budget_hours:
          $ref: '#/components/schemas/Duration'
      type: object

````