VAST Data openfiles API

The openfiles API from VAST Data — 3 operation(s) for openfiles.

Operations 3

GET /openfiles/ Get all open files. #
GET /openfiles/{id}/ Return details of an open file. #
POST /openfiles/{id}/list_open_handles/ List open handles for an open file. #

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-openfiles-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-openfiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: VAST Management API definition
  title: VAST API Swagger Schema activedirectory Openfiles API
  version: '1.0'
security:
- ApiToken: []
tags:
- name: openfiles
paths:
  /openfiles/:
    get:
      description: This endpoint lists open files.
      operationId: openfiles_list
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/OpenFilesQueryIdQP'
      - description: Filter by file path substring
        in: query
        name: path__icontains
        schema:
          type: string
      - description: Filter by lock status
        in: query
        name: has_locks
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OpenFile'
                title: Open Files
                type: array
          description: open files information
      summary: Get all open files.
      tags:
      - openfiles
  /openfiles/{id}/:
    get:
      description: This endpoint returns information about a specific open file.
      operationId: openfiles_read
      parameters:
      - $ref: '#/components/parameters/PathObjectId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFile'
          description: ''
      summary: Return details of an open file.
      tags:
      - openfiles
  /openfiles/{id}/list_open_handles/:
    post:
      description: This endpoint creates an async open handles listing task.
      operationId: openfiles_list_open_handles
      parameters:
      - $ref: '#/components/parameters/PathObjectId'
      requestBody:
        $ref: '#/components/requestBodies/OpenFileHandlesQueryParamsBody'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskInResponse'
          description: ''
      summary: List open handles for an open file.
      tags:
      - openfiles
components:
  schemas:
    AsyncTaskInResponse:
      properties:
        async_task:
          description: Creation Async task properties
          type: object
      type: object
    PartialVTask:
      properties:
        id:
          description: Task ID
          type: integer
        start_time:
          description: Task start time
          format: date-time
          type: string
          x-format: datetime2display
        state:
          description: Task state
          type: string
      type: object
    OpenFile:
      properties:
        has_locks:
          description: Whether the open file has locks
          type: boolean
        id:
          type: integer
          x-cli-header: ID
        list_open_handles_task:
          $ref: '#/components/schemas/PartialVTask'
        open_files_query_id:
          description: Open files query ID
          type: integer
        path:
          description: Open file's path
          type: string
        tenant_id:
          description: Tenant ID
          type: integer
      type: object
      x-cli-pagination: true
    OpenFileHandlesQueryParams:
      properties:
        protocol:
          description: Protocol type
          enum:
          - SMB
          type: string
      required:
      - protocol
      type: object
  parameters:
    PageSize:
      in: query
      name: page_size
      schema:
        minimum: 1
        type: integer
    Page:
      in: query
      name: page
      schema:
        minimum: 1
        type: integer
    OpenFilesQueryIdQP:
      description: Open Files Query id to filter by.
      in: query
      name: open_files_query__id
      schema:
        minimum: 1
        type: integer
    PathObjectId:
      description: Object ID specified in the path
      in: path
      name: id
      required: true
      schema:
        type: string
  requestBodies:
    OpenFileHandlesQueryParamsBody:
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/OpenFileHandlesQueryParams'
      x-originalParamName: OpenFileHandlesQueryParamsBody
  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