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

# Get Threads

> Get threads for a specific organization with pagination support.

Requires READ permission on ANALYSIS resources.



## OpenAPI

````yaml https://analyst.heyhumm.ai/api/openapi.json get /threads
openapi: 3.1.0
info:
  title: Analyst API
  description: API for the Analyst service with proper organization-scoped permissions
  version: 1.0.0
servers:
  - url: https://analyst.heyhumm.ai
security: []
paths:
  /threads:
    get:
      tags:
        - threads
      summary: Get Threads
      description: |-
        Get threads for a specific organization with pagination support.

        Requires READ permission on ANALYSIS resources.
      operationId: get_threads_threads_get
      parameters:
        - name: organization_id
          in: query
          required: true
          schema:
            type: string
            title: Organization Id
        - name: my_threads_only
          in: query
          required: false
          schema:
            type: boolean
            description: If true, only return threads created by the current user
            default: false
            title: My Threads Only
          description: If true, only return threads created by the current user
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Maximum number of threads to return (1-100)
            default: 20
            title: Limit
          description: Maximum number of threads to return (1-100)
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Number of threads to skip
            default: 0
            title: Offset
          description: Number of threads to skip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````