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

# List buckets

> List the buckets visible to the caller's organization object storage credentials.



## OpenAPI

````yaml https://engine.tensorpool.dev/openapi.json get /object-storage/bucket/list
openapi: 3.1.0
info:
  title: TensorPool API
  description: >
    TensorPool API


    All API endpoints (except `/healthz`) require authentication using your
    TensorPool API key.


    ### For REST Endpoints


    Include your API key in the `Authorization` header as a Bearer token:


    ```bash

    Authorization: Bearer YOUR_TENSORPOOL_KEY

    ```

    ### For WebSocket Endpoints


    Send your API key as the first message in JSON format:


    ```json

    {"TENSORPOOL_KEY": "YOUR_TENSORPOOL_KEY"}

    ```
  version: 0.1.0
servers: []
security: []
tags:
  - name: job
    description: >-
      GPU job execution and management. Run workloads on ephemeral clusters with
      automatic cleanup.
  - name: cluster
    description: >-
      GPU cluster provisioning and lifecycle management. Create persistent
      compute resources.
  - name: storage
    description: >-
      Shared storage volume management. Persistent storage that can be attached
      to eligible clusters.
  - name: object-storage
    description: S3-compatible object storage management.
  - name: ssh
    description: SSH key management for secure cluster access.
  - name: user
    description: >-
      User account management including balance, billing, and organization
      operations.
  - name: requests
    description: Cloud resource provisioning request tracking and status monitoring.
paths:
  /object-storage/bucket/list:
    get:
      tags:
        - object-storage
      summary: List buckets
      description: >-
        List the buckets visible to the caller's organization object storage
        credentials.
      operationId: bucket_list_object_storage_bucket_list_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectStorageBucketListResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ObjectStorageBucketListResponse:
      properties:
        buckets:
          items:
            type: string
          type: array
          title: Buckets
          description: Bucket names visible to the organization
        message:
          type: string
          title: Message
          description: TSV-formatted bucket list for CLI output
      type: object
      required:
        - message
      title: ObjectStorageBucketListResponse
      description: Response model for listing object-storage buckets.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````