VividCortex Queries API

Observed queries, query digests, and query samples.

Operations 3

GET /queries List recently-seen queries #
GET /queries/{queryId} Fetch a query digest by ID #
GET /queries/samples Fetch query samples #

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/vividcortex-queries-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 email required.

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

OpenAPI Specification

vividcortex-queries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VividCortex (SolarWinds Database Performance Monitor) Alerts Queries API
  version: '2.0'
  description: REST API v2 for VividCortex / SolarWinds Database Performance Monitor (DPM). Programmatic access to monitored hosts, metrics and time-series data, observed queries and their samples, events/annotations, and alert configuration. Modeled faithfully from the public reference at https://docs.vividcortex.com/api/ — every path, method, parameter and example response below is taken from the published documentation. VividCortex does not publish a machine-readable OpenAPI document; this is an API Evangelist reconstruction for discovery and governance and is not an authoritative provider artifact.
  contact:
    name: SolarWinds DPM Support
    url: https://docs.vividcortex.com/
  termsOfService: https://www.solarwinds.com/legal/terms-of-use
servers:
- url: https://app.vividcortex.com/api/v2
  description: Production v2 API (per-environment; scoped by the API token's environment)
security:
- bearerAuth: []
tags:
- name: Queries
  description: Observed queries, query digests, and query samples.
paths:
  /queries:
    get:
      operationId: listQueries
      tags:
      - Queries
      summary: List recently-seen queries
      description: Return query digests observed during the time window, with text/tag filtering.
      parameters:
      - name: from
        in: query
        schema:
          type: integer
      - name: until
        in: query
        schema:
          type: integer
      - name: limit
        in: query
        description: Number of results (max 20000).
        schema:
          type: integer
          maximum: 20000
      - name: new
        in: query
        schema:
          type: boolean
      - name: offset
        in: query
        description: Pagination using the query hex ID.
        schema:
          type: string
      - name: host
        in: query
        description: Comma-separated host IDs.
        schema:
          type: string
      - name: filter
        in: query
        description: Text filter supporting `^`, `$`, and `*`.
        schema:
          type: string
      - name: tags
        in: query
        description: Space-separated key=value pairs.
        schema:
          type: string
      responses:
        '200':
          description: A list of query digests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryList'
              example:
                data:
                - id: 004fd1e630142e0b
                  digest: select ?
                  firstSeen: 1510587401
                  lastSeen: 1525976100
        '401':
          $ref: '#/components/responses/Unauthorized'
  /queries/{queryId}:
    get:
      operationId: getQuery
      tags:
      - Queries
      summary: Fetch a query digest by ID
      parameters:
      - name: queryId
        in: path
        required: true
        schema:
          type: string
      - name: tags
        in: query
        description: Set to 1 to include query tags.
        schema:
          type: integer
          enum:
          - 0
          - 1
      responses:
        '200':
          description: The query digest.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /queries/samples:
    get:
      operationId: getQuerySamples
      tags:
      - Queries
      summary: Fetch query samples
      description: Return captured samples for a query. The `text` field is base64-encoded.
      parameters:
      - name: query
        in: query
        description: Query ID in base10.
        schema:
          type: string
      - name: host
        in: query
        schema:
          type: integer
      - name: from
        in: query
        schema:
          type: integer
      - name: until
        in: query
        schema:
          type: integer
      - name: limit
        in: query
        schema:
          type: integer
      - name: detail
        in: query
        description: Set to 1 to omit text/plan fields.
        schema:
          type: integer
          enum:
          - 0
          - 1
      responses:
        '200':
          description: Query samples.
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    NotFound:
      description: The requested resource does not exist.
    Unauthorized:
      description: Missing or invalid API token.
  schemas:
    Query:
      type: object
      properties:
        id:
          type: string
        digest:
          type: string
        firstSeen:
          type: integer
        lastSeen:
          type: integer
    QueryList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Query'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Per-environment API token created in DPM Settings → API Tokens and passed as `Authorization: Bearer <API_TOKEN>`. Tokens are role-scoped (RBAC).'