VAST Data Racks API

The Racks API from VAST Data — 6 operation(s) for racks.

Operations 9

POST /racks/{id}/bgpconfig/ Configure BGP on Rack #
GET /racks/ Get all existing Racks #
POST /racks/ Create a Rack #
DELETE /racks/{id}/ Delete a Rack #
GET /racks/{id}/ Return Details of a Rack #
PATCH /racks/{id}/ Update a Rack #
POST /racks/{id}/add_boxes/ Add Boxes to a Rack #
PATCH /racks/{id}/control_led/ Control Rack Boxes LED #
PATCH /racks/{id}/rename/ Rename Rack #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vastdata-racks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vastdata-racks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: VAST Management API definition
  title: VAST API Swagger Schema activedirectory Racks API
  version: '1.0'
security:
- ApiToken: []
tags:
- name: Racks
paths:
  /racks/{id}/bgpconfig/:
    post:
      description: Bulk update BGP configuration on all cnodes in the rack
      operationId: racks_update_bgpconfig
      parameters:
      - description: Rack ID
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/RackBGPConfig'
        x-originalParamName: RackBgpConfig
      responses:
        '204':
          description: ''
      summary: Configure BGP on Rack
      tags:
      - Racks
  /racks/:
    get:
      description: This endpoint lists Racks
      operationId: racks_list
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Rack'
                title: Racks
                type: array
          description: Racks information
      summary: Get all existing Racks
      tags:
      - Racks
    post:
      description: This endpoint creates a Rack.
      operationId: racks_create
      requestBody:
        content:
          application/json:
            schema:
              properties:
                description:
                  type: string
                ip_range:
                  items:
                    format: ipv4
                    type: string
                  maxItems: 2
                  minItems: 2
                  type: array
                name:
                  description: Rack name
                  type: string
                number_of_units:
                  type: integer
                rack_unit:
                  type: string
                row:
                  type: string
              required:
              - name
              type: object
        required: true
        x-originalParamName: RackCreateParams
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncRack'
          description: ''
      summary: Create a Rack
      tags:
      - Racks
      x-cli-command: rack
      x-cli-subcommand: create
  /racks/{id}/:
    delete:
      operationId: racks_delete
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Deleted
      summary: Delete a Rack
      tags:
      - Racks
    get:
      description: This endpoint returns information about a specific Rack.
      operationId: racks_read
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Rack'
          description: ''
      summary: Return Details of a Rack
      tags:
      - Racks
    patch:
      operationId: racks_partial_update
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          '*/*':
            schema:
              properties:
                description:
                  type: string
                ip_range:
                  items:
                    format: ipv4
                    type: string
                  maxItems: 2
                  minItems: 2
                  type: array
                name:
                  description: Rack name
                  type: string
                number_of_units:
                  type: integer
                rack_unit:
                  type: string
                row:
                  type: string
              type: object
        x-originalParamName: RackModifyParams
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Rack'
          description: Updated
      summary: Update a Rack
      tags:
      - Racks
  /racks/{id}/add_boxes/:
    post:
      description: This endpoint adds Boxes to a Rack
      operationId: addBoxes
      parameters:
      - description: Rack ID
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                cbox:
                  items:
                    $ref: '#/components/schemas/BoxRackUpdate'
                  type: array
                dbox:
                  items:
                    $ref: '#/components/schemas/BoxRackUpdate'
                  type: array
              type: object
        x-originalParamName: RacksAddBoxes
      responses:
        '204':
          description: ''
      summary: Add Boxes to a Rack
      tags:
      - Racks
  /racks/{id}/control_led/:
    patch:
      description: This endpoint controls the Rack Boxes LED
      operationId: control_led
      parameters:
      - description: Rack ID
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                control:
                  description: LED state
                  enum:
                  - true
                  - false
                  type: string
              type: object
        x-originalParamName: CnodeControlLed
      responses:
        '204':
          description: ''
      summary: Control Rack Boxes LED
      tags:
      - Racks
  /racks/{id}/rename/:
    patch:
      description: This endpoint renames a Rack.
      operationId: rename
      parameters:
      - description: Rack ID
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                name:
                  description: New Rack name
                  type: string
              type: object
        x-originalParamName: RackRename
      responses:
        '204':
          description: ''
      summary: Rename Rack
      tags:
      - Racks
components:
  schemas:
    RackBGPConfig:
      properties:
        ip_ranges:
          items:
            type: string
          type: array
        ips_represent:
          description: IP address representation (odd/even)
          enum:
          - odd
          - even
          type: string
        self_asn:
          description: ASN
          type: string
        subnet_bits:
          description: Subnet bits
          type: integer
      type: object
    Rack:
      properties:
        available_capacity:
          type: integer
        cnode_ip_pool:
          items:
            items:
              format: ipv4
              type: string
            maxItems: 2
            minItems: 2
            type: array
          type: array
        cnode_ipmi_pool:
          items:
            items:
              format: ipv4
              type: string
            maxItems: 2
            minItems: 2
            type: array
          type: array
        description:
          type: string
        dnode_ip_pool:
          items:
            items:
              format: ipv4
              type: string
            maxItems: 2
            minItems: 2
            type: array
          type: array
        dnode_ipmi_pool:
          items:
            items:
              format: ipv4
              type: string
            maxItems: 2
            minItems: 2
            type: array
          type: array
        guid:
          type: string
        id:
          type: integer
          x-cli-header: ID
        is_bgp_enabled:
          description: Is BGP enabled for the rack
          type: boolean
        name:
          type: string
          x-cli-header: Name
        number_of_units:
          type: integer
        row:
          type: string
          x-cli-header: Row
        total_capacity:
          type: integer
      required:
      - name
      type: object
    AsyncRack:
      allOf:
      - $ref: '#/components/schemas/Rack'
      - $ref: '#/components/schemas/AsyncTaskInResponse'
    BoxRackUpdate:
      properties:
        id:
          type: integer
          x-cli-header: ID
        rack_index:
          type: integer
        rack_unit:
          type: string
      required:
      - id
      type: object
    AsyncTaskInResponse:
      properties:
        async_task:
          description: Creation Async task properties
          type: object
      type: object
  securitySchemes:
    ApiToken:
      description: Send current valid API token in an Authorization header with format Api-Token <token>.
      in: header
      name: ApiToken
      type: apiKey
    basicAuth:
      description: Basic authentication using VMS user name and password
      scheme: basic
      type: http