VAST Data openfilesqueries API

The openfilesqueries API from VAST Data — 2 operation(s) for openfilesqueries.

Operations 4

GET /openfilesqueries/ Get all open files queries. #
POST /openfilesqueries/ Create an open files query. #
DELETE /openfilesqueries/{id}/ Delete an open files query. #
GET /openfilesqueries/{id}/ Return details of an open files query. #

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-openfilesqueries-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-openfilesqueries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: VAST Management API definition
  title: VAST API Swagger Schema activedirectory Openfilesqueries API
  version: '1.0'
security:
- ApiToken: []
tags:
- name: openfilesqueries
paths:
  /openfilesqueries/:
    get:
      description: This endpoint lists open files queries.
      operationId: openfilesqueries_list
      parameters:
      - description: Filter by path prefix substring
        in: query
        name: path_prefix__icontains
        schema:
          type: string
      - description: Filter by query name substring
        in: query
        name: name__icontains
        schema:
          type: string
      - description: Filter by tenant ID
        in: query
        name: tenant__id
        schema:
          type: integer
      - description: Filter queries created on or after date
        in: query
        name: created__gte
        schema:
          type: string
      - description: Filter queries created on or before date
        in: query
        name: created__lte
        schema:
          type: string
      - description: Filter by query state
        in: query
        name: state
        schema:
          type: string
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PageSize'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OpenFilesQuery'
                title: Open Files Queries
                type: array
          description: open files queries information
      summary: Get all open files queries.
      tags:
      - openfilesqueries
    post:
      description: This endpoint creates an open files query.
      operationId: openfilesqueries_create
      requestBody:
        $ref: '#/components/requestBodies/OpenFilesQueryParamsBody'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFilesQueryWithAsyncTask'
          description: OK
      summary: Create an open files query.
      tags:
      - openfilesqueries
  /openfilesqueries/{id}/:
    delete:
      description: Delete an open files query.
      operationId: openfilesqueries_delete
      parameters:
      - $ref: '#/components/parameters/PathObjectId'
      responses:
        '204':
          description: OK
      summary: Delete an open files query.
      tags:
      - openfilesqueries
    get:
      description: This endpoint returns information about a specific open files query.
      operationId: openfilesqueries_read
      parameters:
      - $ref: '#/components/parameters/PathObjectId'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenFilesQuery'
          description: ''
      summary: Return details of an open files query.
      tags:
      - openfilesqueries
components:
  schemas:
    OpenFilesQueryWithAsyncTask:
      allOf:
      - $ref: '#/components/schemas/OpenFilesQuery'
      - $ref: '#/components/schemas/AsyncTaskInResponse'
    OpenFilesQueryParams:
      properties:
        filters:
          description: Filters to apply when creating the query
          type: object
        name:
          description: Open files query name
          type: string
        path_prefix:
          description: Path prefix
          type: string
        protocol:
          description: Protocol type
          enum:
          - SMB
          type: string
        tenant_id:
          description: Tenant ID
          type: integer
      required:
      - path_prefix
      - protocol
      type: object
    OpenFilesQuery:
      properties:
        async_task_id:
          description: Async task ID
          type: integer
        created:
          format: date-time
          type: string
          x-format: datetime2display
        filters:
          description: Filters used to create the query
          properties:
            return_only_locked_files:
              description: Whether to return only locked files
              type: boolean
          type: object
        guid:
          type: string
        id:
          type: integer
          x-cli-header: ID
        name:
          type: string
        path_prefix:
          description: Path prefix
          type: string
        state:
          description: State
          enum:
          - RUNNING
          - COMPLETED
          - PARTIALLY_COMPLETED
          - FAILED
          type: string
        tenant_id:
          type: integer
        title:
          type: string
        url:
          type: string
      type: object
      x-cli-pagination: true
    AsyncTaskInResponse:
      properties:
        async_task:
          description: Creation Async task properties
          type: object
      type: object
  parameters:
    PageSize:
      in: query
      name: page_size
      schema:
        minimum: 1
        type: integer
    Page:
      in: query
      name: page
      schema:
        minimum: 1
        type: integer
    PathObjectId:
      description: Object ID specified in the path
      in: path
      name: id
      required: true
      schema:
        type: string
  requestBodies:
    OpenFilesQueryParamsBody:
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/OpenFilesQueryParams'
      x-originalParamName: OpenFilesQueryParamsBody
  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