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

# Get InfiniBand partition

> > ⚠️ This endpoint is in [public preview](/preview/roadmap#feature-states).

Get an InfiniBand partition by ID or resource path.



## OpenAPI

````yaml /preview/openapi.json get /preview/v2/infiniband_partitions/{id}
openapi: 3.1.0
info:
  title: sfc-api
  description: >-
    SF Compute API public-preview routes — subject to change. Prefer the stable
    /v2 routes where a resource has graduated.
  version: 0.1.0
servers:
  - url: https://api.sfcompute.com
security:
  - bearer_auth: []
tags:
  - name: Limits
    description: Account limits and current usage.
  - name: Account
    description: The authenticated account and logged-in user.
  - name: Pools
    description: A bucket of owned compute balance over time.
  - name: Orders
    description: >-
      Place orders targeting a capacity to increase your reserved compute
      balance during some time period.
  - name: Instance Templates
    description: Reusable instance configuration.
  - name: Images
    description: Custom machine images for instances.
  - name: Roles
    description: TOML-based permission role definitions.
  - name: Grants
    description: Bind principals (users or tokens) to roles on a workspace.
  - name: Tokens
    description: Workspace-scoped API tokens.
  - name: Instances
    description: Spin up instances in a capacity to use your available compute.
  - name: Instance SKU Catalog
    description: Browse available instance SKU property definitions.
  - name: VPCs
    description: Isolated networks with routed subnets within one availability zone.
  - name: Subnets
    description: Private networks for instance-to-instance communication within a zone.
  - name: Procurements
    description: Market automations that maintain capacity by placing buy/sell orders.
  - name: Users
    description: Read-only access to users within the caller's organization.
  - name: Workspaces
    description: Resource containers scoped to an account.
  - name: Permissions
    description: Inspect what the caller is allowed to do.
  - name: Billing
    description: Billing profile, contacts, and auto top-up settings.
  - name: Faults
    description: Report problems with your resources.
  - name: InfiniBand Partitions
    description: Isolated InfiniBand networks for groups of instances.
  - name: Orderbook
    description: >-
      Read-only orderbook visibility: bid/ask spread, depth, open and filled
      orders, and historical fills, keyed on hardware requirements + delivery
      window.
  - name: Orders
    description: >-
      Estimate an order before placing it: filled price, fee, and operational
      notices.
paths:
  /preview/v2/infiniband_partitions/{id}:
    get:
      tags:
        - InfiniBand Partitions
      summary: Get InfiniBand partition
      description: >-
        > ⚠️ This endpoint is in [public
        preview](/preview/roadmap#feature-states).


        Get an InfiniBand partition by ID or resource path.
      operationId: get_infiniband_partition
      parameters:
        - name: id
          in: path
          description: InfiniBand partition ID or resource path
          required: true
          schema:
            type: string
            description: >-
              A resource path like
              'sfc:infiniband_partition:acme:prod:my-infiniband_partition' _or_
              an ID. Resource paths are human-readable but not stable - they
              change when resources are renamed or moved. IDs are stable and
              permanent.
            examples:
              - ibpart_k3R-nX9vLm7Qp2Yw5Jd8F
            pattern: >-
              (ibpart_[0-9a-zA-Z_-]{1,21})|(sfc:infiniband_partition:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})
      responses:
        '200':
          description: InfiniBand partition details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfinibandPartitionResponse'
        '400':
          description: Malformed request parameters or body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestError'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedError'
        '403':
          description: Forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: InfiniBand partition not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '429':
          description: >-
            Rate limit exceeded. Retry after the interval indicated by the
            rate-limit response headers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitedError'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
components:
  schemas:
    InfinibandPartitionResponse:
      type: object
      required:
        - object
        - id
        - resource_path
        - workspace
        - name
        - fabric
        - region
        - availability_zone
        - created_at
      properties:
        object:
          type: string
          const: infiniband_partition
          default: infiniband_partition
          readOnly: true
        id:
          $ref: '#/components/schemas/InfinibandPartitionId'
        resource_path:
          $ref: >-
            #/components/schemas/infiniband_partitionResourcePath_InfinibandPartitionId
        workspace:
          $ref: '#/components/schemas/WorkspaceSummaryPreview'
          description: Workspace this partition belongs to.
        name:
          $ref: '#/components/schemas/Name'
        fabric:
          $ref: '#/components/schemas/Name'
          description: >-
            InfiniBand fabric serving this partition. Partitions on different
            fabrics cannot reach each other.
        region:
          $ref: '#/components/schemas/Region'
        availability_zone:
          $ref: '#/components/schemas/AvailabilityZone'
        created_at:
          $ref: '#/components/schemas/UnixEpoch'
    BadRequestError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              const: invalid_request_error
              default: invalid_request_error
            message:
              type: string
              x-speakeasy-error-message: true
            details:
              type: array
              items:
                $ref: '#/components/schemas/ErrorDetail'
    UnauthorizedError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              const: authentication_error
              default: authentication_error
            message:
              type: string
              x-speakeasy-error-message: true
    ForbiddenError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              const: forbidden
              default: forbidden
            message:
              type: string
              x-speakeasy-error-message: true
    NotFoundError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              const: not_found
              default: not_found
            message:
              type: string
              x-speakeasy-error-message: true
    RateLimitedError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              const: rate_limited
              default: rate_limited
            message:
              type: string
              x-speakeasy-error-message: true
    InternalServerError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              const: api_error
              default: api_error
            message:
              type: string
              x-speakeasy-error-message: true
    InfinibandPartitionId:
      type: string
      examples:
        - ibpart_k3R-nX9vLm7Qp2Yw5Jd8F
      pattern: ibpart_[0-9a-zA-Z_-]{1,21}
    infiniband_partitionResourcePath_InfinibandPartitionId:
      type: string
      description: >-
        A resource path for a infiniband_partition resource. Format:
        sfc:infiniband_partition:<account>:<workspace>:<name>.
      examples:
        - sfc:infiniband_partition:<account_id>:<workspace>:<name>
      pattern: sfc:infiniband_partition:([a-zA-Z0-9._-]+:){2}[a-zA-Z0-9._-]+
    WorkspaceSummaryPreview:
      type: object
      required:
        - id
        - name
      properties:
        id:
          $ref: '#/components/schemas/WorkspaceId'
        name:
          $ref: '#/components/schemas/Name'
    Name:
      type: string
      examples:
        - my-resource-name
      maxLength: 255
      minLength: 1
      pattern: '[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}'
    Region:
      type: string
      description: >-
        The geographic region where the hardware is located, e.g.
        `europe-north1`.
    AvailabilityZone:
      type: string
      description: An independent failure domain within a region, e.g. `a`.
    UnixEpoch:
      type: integer
      format: int64
      description: Unix timestamp.
      example: 1738972800
    ErrorDetail:
      type: object
      required:
        - code
        - message
      properties:
        field:
          type:
            - string
            - 'null'
          description: The field that caused the error (for validation errors)
        code:
          type: string
          description: Specific error code for this detail
        message:
          type: string
          description: Human-readable error message
    WorkspaceId:
      type: string
      examples:
        - wksp_k3R-nX9vLm7Qp2Yw5Jd8F
      pattern: wksp_[0-9a-zA-Z_-]{1,21}
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Create an API token using `sf tokens create` or at
        https://sfcompute.com/dashboard/tokens.

````