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

# Get Tasks Exist

> Whether the tenant has any non-archived task. Used to gate the empty state.

Unlike /list, this ignores completion retention, future start dates, and
any subscriber/assignee defaults — it answers "is there any visible task
here" so a task with a future start date doesn't leave the user stuck on
the empty state. Archived tasks still don't count, since they've been
deliberately removed from the workspace.



## OpenAPI

````yaml get /task/exists
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /task/exists:
    get:
      tags:
        - Tasks
      summary: Get Tasks Exist
      description: >-
        Whether the tenant has any non-archived task. Used to gate the empty
        state.


        Unlike /list, this ignores completion retention, future start dates, and

        any subscriber/assignee defaults — it answers "is there any visible task

        here" so a task with a future start date doesn't leave the user stuck on

        the empty state. Archived tasks still don't count, since they've been

        deliberately removed from the workspace.
      operationId: get_tasks_exist_task_exists_get
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  type: boolean
                type: object
                title: Response Get Tasks Exist Task Exists Get

````