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

# List Threads

> List all threads owned by the authenticated user.

Returns every thread without filtering. Use the search endpoint for
filtered queries.



## OpenAPI

````yaml /openapi.json get /threads
openapi: 3.1.0
info:
  title: Aegra
  description: Production-ready Agent Protocol server
  version: 0.9.24
servers: []
security: []
tags:
  - name: Assistants
    description: A configured instance of a graph.
  - name: Threads
    description: Accumulated state and outputs from a group of runs.
  - name: Thread Runs
    description: Invoke a graph on a thread, updating its persistent state.
  - name: Stateless Runs
    description: Invoke a graph without state or memory persistence.
  - name: Crons
    description: Scheduled recurring runs on a cron schedule.
  - name: Store
    description: Persistent key-value and semantic storage available from any thread.
  - name: Event Streaming
    description: Agent Protocol v2 thread event streaming and commands.
  - name: Health
    description: Server health checks and service information.
paths:
  /threads:
    get:
      tags:
        - Threads
      summary: List Threads
      description: |-
        List all threads owned by the authenticated user.

        Returns every thread without filtering. Use the search endpoint for
        filtered queries.
      operationId: list_threads_threads_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThreadList'
components:
  schemas:
    ThreadList:
      properties:
        threads:
          items:
            $ref: '#/components/schemas/Thread'
          type: array
          title: Threads
        total:
          type: integer
          title: Total
      type: object
      required:
        - threads
        - total
      title: ThreadList
      description: Response model for listing threads
    Thread:
      properties:
        thread_id:
          type: string
          title: Thread Id
          description: Unique identifier for the thread.
        status:
          type: string
          title: Status
          description: 'Current thread status: idle, busy, interrupted, or error.'
          default: idle
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Arbitrary metadata attached to the thread.
        user_id:
          type: string
          title: User Id
          description: Identifier of the user who owns this thread.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Timestamp when the thread was created.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: Timestamp when the thread was last updated.
      type: object
      required:
        - thread_id
        - user_id
        - created_at
        - updated_at
      title: Thread
      description: |-
        Thread entity model

        Status values: idle, busy, interrupted, error

````