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

# List to-dos



## OpenAPI

````yaml /api-reference/openapi.json get /todos
openapi: 3.1.0
info:
  title: dazie API
  version: 1.0.0
  summary: Read and write a dazie user's journal, to-dos and companion memories.
  description: >-
    dazie is a voice-first journaling companion. Every request acts as one
    signed-in user and sees only their data. Get a token with `npx dazie login`,
    or run the OAuth 2.1 flow described at
    /.well-known/oauth-protected-resource. The same operations are available as
    MCP tools at /mcp.
  contact:
    url: https://docs.dazie.io
servers:
  - url: https://api.dazie.io/v1
security:
  - bearer: []
tags:
  - name: Account
  - name: Journal
  - name: To-dos
  - name: Memories
  - name: Calls
paths:
  /todos:
    get:
      tags:
        - To-dos
      summary: List to-dos
      operationId: listTodos
      parameters:
        - name: status
          in: query
          schema:
            $ref: '#/components/schemas/TodoStatus'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Todo'
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    TodoStatus:
      type: string
      enum:
        - open
        - done
        - dropped
    Todo:
      type: object
      required:
        - id
        - text
        - status
      properties:
        id:
          type: integer
        text:
          type: string
        status:
          $ref: '#/components/schemas/TodoStatus'
        dueDate:
          type:
            - string
            - 'null'
          format: date
        sourceCallId:
          type:
            - integer
            - 'null'
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - not_found
                - onboarding_required
                - internal_error
            message:
              type: string
  responses:
    InvalidRequest:
      description: The request did not validate
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid or expired access token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: A dazie access token from `dazie login` or the OAuth 2.1 flow.

````

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