> ## Documentation Index
> Fetch the complete documentation index at: https://microstrate-1133-notifications-prefs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List all streams

> Retrieves a list of all streams



## OpenAPI

````yaml /api-reference/endpoint/storage/openapi.json get /storage/streams
openapi: 3.0.3
info:
  title: quiva.ai Gateway
  description: >-
    A comprehensive interface for managing key-value stores, object stores,
    streams, and search indexing
  contact:
    name: quiva.ai Support
    url: https://quiva.ai/help-center/
  version: 1.0.0
servers:
  - url: https://api.quiva.ai
    description: Production API server
security:
  - bearerAuth: []
  - apiKeyAuth: []
paths:
  /storage/streams:
    get:
      tags:
        - Streams
      summary: List all streams
      description: Retrieves a list of all streams
      operationId: getStreamList
      responses:
        '200':
          description: Successfully retrieved stream list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StreamListResponse'
              examples:
                multiple_streams:
                  summary: Multiple streams
                  value:
                    body:
                      results:
                        - name: user-events
                          description: User activity events
                          subjects:
                            - events.user.*
                          metadata: {}
                          created: '2024-01-15T10:30:00Z'
                          messages_total: 15420
                        - name: system-logs
                          description: System log aggregation
                          subjects:
                            - logs.system.*
                            - logs.app.*
                          metadata: {}
                          created: '2024-01-10T08:00:00Z'
                          messages_total: 892341
                        - name: order-processing
                          description: E-commerce order events
                          subjects:
                            - orders.*
                          metadata: {}
                          created: '2024-02-01T14:20:00Z'
                          messages_total: 5230
                      results_total: 3
                    metadata:
                      duration: 12ms
                empty_list:
                  summary: No streams configured
                  value:
                    body:
                      results: []
                      results_total: 0
                    metadata:
                      duration: 2ms
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    StreamListResponse:
      type: object
      properties:
        body:
          type: object
          properties:
            results:
              type: array
              items:
                $ref: '#/components/schemas/StreamListItem'
            results_total:
              type: integer
        metadata:
          $ref: '#/components/schemas/Metadata'
    StreamListItem:
      type: object
      properties:
        name:
          type: string
        subjects:
          type: array
          items:
            type: string
        metadata:
          type: object
        created:
          type: string
          format: date-time
        messages_total:
          type: integer
        placement:
          type: object
          properties:
            cluster:
              type: string
            tags:
              type: array
              items:
                type: string
        description:
          type: string
    Metadata:
      type: object
      properties:
        bucket:
          type: string
          description: Bucket name
        duration:
          type: string
          description: Operation duration
        field:
          type: string
          description: Search field
        hits:
          type: integer
          description: Number of hits
        index_duration:
          type: string
          description: Index search duration
        index_hits:
          type: integer
          description: Number of index hits
        index_name:
          type: string
          description: Index name
        index_partitions:
          type: integer
          description: Number of index partitions
        key:
          type: string
          description: Entry key
        limit:
          type: integer
          description: Query limit
        partitions:
          type: integer
          description: Number of partitions
        search:
          type: string
          description: Search term
        stream:
          type: string
          description: Stream name
        subject:
          type: string
          description: Subject pattern
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message
  responses:
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: unauthorized
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: internal_error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````