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

# Get dashboard view for a date

> Returns overdue tasks, today's pending/completed tasks, and stats (pending count, completed today, streak). Ideal for AI agent daily briefings.



## OpenAPI

````yaml https://znift.com/api/v1/openapi.json get /api/v1/tasks/dashboard
openapi: 3.1.0
info:
  title: Znift Tasks API
  version: 1.0.0
  description: >-
    Public REST API for managing Znift tasks. Designed for AI agents, CLI tools,
    and automation. Authenticate with an API key via the x-api-key header.
servers:
  - url: https://znift.com
    description: Znift Production API
security:
  - apiKey: []
paths:
  /api/v1/tasks/dashboard:
    get:
      summary: Get dashboard view for a date
      description: >-
        Returns overdue tasks, today's pending/completed tasks, and stats
        (pending count, completed today, streak). Ideal for AI agent daily
        briefings.
      operationId: getDashboard
      parameters:
        - name: date
          in: query
          required: true
          schema:
            type: string
            format: date
          description: Date in YYYY-MM-DD format
      responses:
        '200':
          description: Dashboard data
          content:
            application/json:
              schema:
                type: object
                properties:
                  overdue:
                    type: array
                    items:
                      type: object
                  pending:
                    type: array
                    items:
                      type: object
                  completedToday:
                    type: array
                    items:
                      type: object
                  stats:
                    type: object
                    properties:
                      pendingCount:
                        type: number
                      completedTodayCount:
                        type: number
                      streak:
                        type: number
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key with znift_ prefix. Create one in Profile > API Keys.

````