> ## 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

> Returns activities matching the given filters. Each activity includes its task, resource, duration, and time range.



## OpenAPI

````yaml 26.06.25 post /api/activity/activities.list
openapi: 3.1.0
info:
  title: tipee
  version: 26.06.25
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/activities.list:
    post:
      tags:
        - Activity
      summary: List
      description: >-
        Returns activities matching the given filters. Each activity includes
        its task, resource, duration, and time range.
      operationId: post_app_ui_api_activity_entry_activityquery_listactivities
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListActivitiesQuery'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActivityView'
components:
  schemas:
    ListActivitiesQuery:
      properties:
        filters:
          type: array
          items:
            $ref: '#/components/schemas/ListActivitiesQueryFilter'
      type: object
    ActivityView:
      required:
        - id
        - resource_id
        - task_id
        - billable
        - type
        - date
        - duration
        - remark
        - time_range
        - project_status
        - state
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        resource_id:
          $ref: '#/components/schemas/Snowflake'
        task_id:
          $ref: '#/components/schemas/Snowflake'
        billable:
          type: boolean
        type:
          $ref: '#/components/schemas/ActivityType'
        date:
          $ref: '#/components/schemas/LocalDate'
        duration:
          oneOf:
            - $ref: '#/components/schemas/Duration'
            - type: 'null'
        remark:
          type:
            - string
            - 'null'
        time_range:
          oneOf:
            - $ref: '#/components/schemas/LocalDateTimeInterval'
            - type: 'null'
        project_status:
          $ref: '#/components/schemas/ProjectStatus'
        state:
          $ref: '#/components/schemas/ActivityState'
      type: object
    ListActivitiesQueryFilter:
      discriminator:
        propertyName: key
      oneOf:
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: activity.date_range
              enum:
                - activity.date_range
            value:
              $ref: '#/components/schemas/LocalDateInterval'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: activity.projects_ids
              enum:
                - activity.projects_ids
            value:
              type: array
              items:
                $ref: '#/components/schemas/Snowflake'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: activity.resources
              enum:
                - activity.resources
            value:
              type: array
              items:
                $ref: '#/components/schemas/Snowflake'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: activity.tasks_ids
              enum:
                - activity.tasks_ids
            value:
              type: array
              items:
                $ref: '#/components/schemas/Snowflake'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: activity.open_activities
              enum:
                - activity.open_activities
            value:
              type: boolean
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: or
              enum:
                - or
            value:
              type: array
              items:
                $ref: '#/components/schemas/ListActivitiesQueryFilter'
          type: object
        - required:
            - key
            - value
          properties:
            key:
              type: string
              example: and
              enum:
                - and
            value:
              type: array
              items:
                $ref: '#/components/schemas/ListActivitiesQueryFilter'
          type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    ActivityType:
      type: string
      example: duration
      enum:
        - duration
        - range
    LocalDate:
      type: string
      format: local-date
      example: '2019-11-11'
    Duration:
      description: '[ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations)'
      type: string
      format: duration
      example: PT1H30M20S
    LocalDateTimeInterval:
      type: string
      format: local-date-time-interval
      example: 2019-11-11T12:34:56/2019-12-12T23:59:59
    ProjectStatus:
      type: string
      example: draft
      enum:
        - draft
        - active
        - locked
        - archived
    ActivityState:
      required:
        - status
        - editable
      properties:
        status:
          $ref: '#/components/schemas/DayTaskStatus'
        editable:
          title: True only if every DayTask covered by the activity is editable.
          type: boolean
      type: object
    LocalDateInterval:
      type: string
      format: local-date-interval
      example: 2019-11-11/2019-12-12
    DayTaskStatus:
      type: string
      example: editing
      enum:
        - editing
        - submitted
        - validated
        - rejected

````