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

# List Deep Searches

> List all deep searches with pagination and filtering options.



## OpenAPI

````yaml GET /deepSearch
openapi: 3.0.0
info:
  title: Cloudglue API
  description: API for Cloudglue
  license:
    name: Apache License 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: 0.7.13
servers:
  - url: https://api.cloudglue.dev/v1
security:
  - bearerAuth: []
paths:
  /deepSearch:
    get:
      tags:
        - Deep Search
      summary: List deep searches
      description: List all deep searches with pagination and filtering options.
      operationId: listDeepSearches
      parameters:
        - name: limit
          in: query
          description: Maximum number of deep searches to return
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
        - name: offset
          in: query
          description: Number of deep searches to skip
          required: false
          schema:
            type: integer
            minimum: 0
        - name: status
          in: query
          description: Filter by deep search status
          required: false
          schema:
            type: string
            enum:
              - in_progress
              - completed
              - failed
              - cancelled
        - name: created_before
          in: query
          description: >-
            Filter deep searches created before a specific date (YYYY-MM-DD
            format), in UTC timezone
          required: false
          schema:
            type: string
            format: date
        - name: created_after
          in: query
          description: >-
            Filter deep searches created after a specific date (YYYY-MM-DD
            format), in UTC timezone
          required: false
          schema:
            type: string
            format: date
      responses:
        '200':
          description: List of deep searches
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeepSearchList'
        '500':
          description: An unexpected error occurred on the server
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DeepSearchList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
          description: Object type identifier
        data:
          type: array
          items:
            $ref: '#/components/schemas/DeepSearchListItem'
          description: Array of deep search items
        total:
          type: integer
          description: Total number of deep searches
        limit:
          type: integer
          description: Maximum number of items returned
        offset:
          type: integer
          description: Number of items skipped
    Error:
      required:
        - error
      type: object
      properties:
        error:
          type: string
    DeepSearchListItem:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Deep search ID
        object:
          type: string
          enum:
            - deep_search
          description: Object type identifier
        status:
          type: string
          enum:
            - in_progress
            - completed
            - failed
            - cancelled
          description: Current status
        created_at:
          type: number
          description: Unix timestamp of creation
        query:
          type: string
          description: The original search query
        scope:
          type: string
          enum:
            - segment
            - file
          description: Search scope
        total:
          type: integer
          description: Total number of results
        usage:
          $ref: '#/components/schemas/DeepSearchUsage'
          nullable: true
          description: Token and search call usage
    DeepSearchUsage:
      type: object
      properties:
        input_tokens:
          type: integer
          description: Number of input tokens used
        output_tokens:
          type: integer
          description: Number of output tokens used
        total_tokens:
          type: integer
          description: Total number of tokens used
        search_calls:
          type: integer
          description: Number of search calls made
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````