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

# Count tasks waiting on you

> Counts the caller's tasks in Home's Waiting on you band, across every organization they can open: the number the app icon badge shows.

Use this tool when you need to:
- Show the app icon badge
- Check how many of the caller's tasks are waiting on their answer

Examples:
- GET /user/waiting-task-count

Hints:
- Takes no parameters and returns count.
- Counts the caller's own top-level tasks, review tasks excluded, whose display status is awaiting_input and that are neither archived, pinned nor hidden by them, in every organization that is not suspended and where their role reads tasks (a billing member's organizations are left out).
- Every push notification carries the same count.
- Use listTasks instead to list the tasks themselves; use listNotifications instead to read the notification inbox.
- Any signed-in user, for themselves.



## OpenAPI

````yaml api-reference/openapi.json GET /user/waiting-task-count
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /user/waiting-task-count:
    get:
      tags:
        - notifications
      summary: Count tasks waiting on you
      description: >-
        Counts the caller's tasks in Home's Waiting on you band, across every
        organization they can open: the number the app icon badge shows.


        Use this tool when you need to:

        - Show the app icon badge

        - Check how many of the caller's tasks are waiting on their answer


        Examples:

        - GET /user/waiting-task-count


        Hints:

        - Takes no parameters and returns count.

        - Counts the caller's own top-level tasks, review tasks excluded, whose
        display status is awaiting_input and that are neither archived, pinned
        nor hidden by them, in every organization that is not suspended and
        where their role reads tasks (a billing member's organizations are left
        out).

        - Every push notification carries the same count.

        - Use listTasks instead to list the tasks themselves; use
        listNotifications instead to read the notification inbox.

        - Any signed-in user, for themselves.
      operationId: getWaitingTaskCount
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WaitingTaskCount'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationsErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationsErrorResponse'
          description: Gone
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationsErrorResponse'
          description: Internal Server Error
components:
  schemas:
    WaitingTaskCount:
      additionalProperties: false
      properties:
        count:
          format: int64
          minimum: 0
          type: integer
      required:
        - count
      type: object
    NotificationsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - bad_gateway
            - bad_request
            - cli_upgrade_required
            - client_outdated
            - conflict
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - method_not_allowed
            - not_acceptable
            - not_found
            - not_implemented
            - payment_required
            - precondition_failed
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - service_unavailable
            - unauthenticated
            - unsupported_media_type
            - validation_failed
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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