> ## 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 object store buckets

> Retrieves a list of all object store buckets



## OpenAPI

````yaml /api-reference/endpoint/storage/openapi.json get /storage/obj
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/obj:
    get:
      tags:
        - Object Store
      summary: List all object store buckets
      description: Retrieves a list of all object store buckets
      operationId: getObjectStoreBucketList
      responses:
        '200':
          description: Successfully retrieved object bucket list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BucketListResponse'
              examples:
                multiple_buckets:
                  summary: Multiple buckets
                  value:
                    body:
                      results:
                        - name: media-assets
                          description: Production media files
                          entry_total: 1523
                          metadata:
                            environment: production
                            team: content
                          placement:
                            cluster: us-east-1
                            tags:
                              - ssd
                              - high-iops
                          created: '2024-01-15T10:30:00Z'
                        - name: user-uploads
                          description: User-generated content
                          entry_total: 8492
                          metadata:
                            environment: production
                          placement:
                            cluster: us-west-2
                            tags:
                              - standard
                          created: '2024-02-20T14:15:00Z'
                      results_total: 2
                    metadata:
                      duration: 12ms
                empty_list:
                  summary: No buckets
                  value:
                    body:
                      results: []
                      results_total: 0
                    metadata:
                      duration: 3ms
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    BucketListResponse:
      type: object
      properties:
        body:
          type: object
          properties:
            results:
              type: array
              description: List of kv buckets
              items:
                $ref: '#/components/schemas/BucketListItem'
            results_total:
              type: integer
              description: Total number of kv buckets returned
              example: 2
        metadata:
          $ref: '#/components/schemas/Metadata'
    BucketListItem:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        entry_total:
          type: integer
        metadata:
          type: object
          additionalProperties:
            type: string
        placement:
          type: object
          properties:
            cluster:
              type: string
            tags:
              type: array
              items:
                type: string
        created:
          type: string
          format: date-time
    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

````