SolarWinds Query API

Execute SWQL queries against the SolarWinds Information Service

Operations 2

GET /Query Solarwinds Execute a Swql Query #
POST /Query Solarwinds Execute a Swql Query via Post #

Documentation

📖
Documentation
https://documentation.solarwinds.com/en/success_center/orionplatform/content/core-swis-api.htm
📖
Authentication
https://documentation.solarwinds.com/en/success_center/orionplatform/content/core-swis-api-authentication.htm
📖
APIReference
https://github.com/solarwinds/OrionSDK/wiki/REST
📖
Documentation
https://documentation.solarwinds.com/en/success_center/swsd/content/swsd_documentation.htm
📖
APIReference
https://apidoc.samanage.com/
📖
Authentication
https://help.samanage.com/s/article/API-Authentication
📖
GettingStarted
https://documentation.solarwinds.com/en/success_center/swsd/content/swsd_getting_started_guide.htm
📖
Documentation
https://documentation.solarwinds.com/en/success_center/observability/default.htm#cshid=api-overview
📖
APIReference
https://documentation.solarwinds.com/en/success_center/observability/content/api/api-swagger.htm
📖
Authentication
https://documentation.solarwinds.com/en/success_center/observability/content/system/api-tokens.htm
📖
Documentation
https://documentation.solarwinds.com/en/success_center/pingdom/content/topics/the-pingdom-api.htm
📖
APIReference
https://docs.pingdom.com/api/
📖
Authentication
https://documentation.solarwinds.com/en/success_center/pingdom/content/shared/sw-unified-login.htm
📖
Documentation
https://documentation.solarwinds.com/en/success_center/loggly/content/admin/api-overview.htm
📖
APIReference
https://documentation.solarwinds.com/en/success_center/loggly/content/admin/api-retrieving-data.htm
📖
Authentication
https://documentation.solarwinds.com/en/success_center/loggly/content/admin/token-based-api-authentication.htm
📖
GettingStarted
https://documentation.solarwinds.com/en/success_center/loggly/content/admin/api-sending-data.htm
📖
Documentation
https://www.papertrail.com/help/http-api/
📖
APIReference
https://www.papertrail.com/help/settings-api/
📖
Documentation
https://documentation.solarwinds.com/en/success_center/papertrail/content/kb/how-it-works/search-api.htm

Specifications

Other Resources

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/solarwinds-query-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

solarwinds-query-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SolarWinds Orion Platform Query API
  description: RESTful API for managing and monitoring network devices, servers, and applications through the SolarWinds Orion Platform. Provides access to the SolarWinds Information Service (SWIS) using SWQL queries and CRUD operations on monitored entities via REST/JSON endpoints.
  version: '3'
  contact:
    name: SolarWinds Support
    url: https://support.solarwinds.com
  termsOfService: https://www.solarwinds.com/legal/terms
servers:
- url: https://{orion-server}:17774/SolarWinds/InformationService/v3/Json
  description: Orion Platform Server (port 17774 since 2023.1 release)
  variables:
    orion-server:
      default: localhost
      description: Hostname or IP of your Orion server
security:
- basicAuth: []
tags:
- name: Query
  description: Execute SWQL queries against the SolarWinds Information Service
paths:
  /Query:
    get:
      operationId: querySwis
      summary: Solarwinds Execute a Swql Query
      description: Executes a SolarWinds Query Language (SWQL) query against the SolarWinds Information Service and returns the results as JSON. SWQL is a read-only SQL-like language for querying monitored entities.
      tags:
      - Query
      parameters:
      - $ref: '#/components/parameters/SwqlQuery'
      - $ref: '#/components/parameters/SwqlParameters'
      responses:
        '200':
          description: Query executed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryResult'
              examples:
                Queryswis200Example:
                  summary: Default querySwis 200 response
                  x-microcks-default: true
                  value:
                    results:
                    - {}
        '400':
          description: Invalid SWQL query syntax
        '401':
          description: Authentication required
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: querySwisPost
      summary: Solarwinds Execute a Swql Query via Post
      description: Executes a SWQL query using a POST request body. Useful for longer queries that exceed URL length limits.
      tags:
      - Query
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryRequest'
            examples:
              QueryswispostRequestExample:
                summary: Default querySwisPost request
                x-microcks-default: true
                value:
                  query: example_value
                  parameters: example_value
      responses:
        '200':
          description: Query executed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryResult'
              examples:
                Queryswispost200Example:
                  summary: Default querySwisPost 200 response
                  x-microcks-default: true
                  value:
                    results:
                    - {}
        '400':
          description: Invalid SWQL query syntax
        '401':
          description: Authentication required
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  parameters:
    SwqlParameters:
      name: parameters
      in: query
      required: false
      description: Parameterized query values
      schema:
        type: string
    SwqlQuery:
      name: query
      in: query
      required: true
      description: SWQL query string
      schema:
        type: string
      example: SELECT NodeID, Caption, IPAddress FROM Orion.Nodes
  schemas:
    QueryRequest:
      type: object
      required:
      - query
      properties:
        query:
          type: string
          description: SWQL query string to execute
          example: SELECT NodeID, Caption, IPAddress FROM Orion.Nodes WHERE Status = 1
        parameters:
          type: object
          description: Named parameters for parameterized queries
          additionalProperties: true
          example: example_value
    QueryResult:
      type: object
      properties:
        results:
          type: array
          description: Array of result rows
          items:
            type: object
            additionalProperties: true
          example: []
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using Orion Platform credentials
externalDocs:
  description: SolarWinds Orion Platform API Documentation
  url: https://documentation.solarwinds.com/en/success_center/orionplatform/content/core-swis-api.htm