OpenMetadata Queries API

A `Query` entity represents a SQL query associated with data assets it is run against.

Operations 22

PUT /v1/queries/{id}/followers Add a follower #
PUT /v1/queries/{id}/usage Add query usage #
DELETE /v1/queries/{id}/usage remove query used in #
PUT /v1/queries/{id}/usedBy Populate Used By Field #
PUT /v1/queries/{id}/users Add query users #
PUT /v1/queries/bulk Bulk create or update queries #
GET /v1/queries Get a list of Queries #
PUT /v1/queries Create or update a query #
POST /v1/queries Create a query #
GET /v1/queries/name/{fqn} Get a query by name #
DELETE /v1/queries/name/{fqn} Delete a query #
PATCH /v1/queries/name/{fqn} Update a query using name #
GET /v1/queries/{id} Get a query #
DELETE /v1/queries/{id} Delete a query #
PATCH /v1/queries/{id} Update a query #
DELETE /v1/queries/async/{id} Asynchronously delete a query #
DELETE /v1/queries/{id}/followers/{userId} Remove a follower #
GET /v1/queries/{id}/versions/{version} Get a specific version of the query #
GET /v1/queries/history List all entity versions within a time range #
GET /v1/queries/{id}/versions Get List of all query versions #
PUT /v1/queries/restore Restore a soft deleted Query #
PUT /v1/queries/{id}/vote Update Vote for a Entity #

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/openmetadata:openmetadata-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 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

openmetadata-queries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenMetadata Queries API
  description: Common types and API definition for OpenMetadata
  contact:
    name: OpenMetadata
    url: https://open-metadata.org
    email: openmetadata-dev@googlegroups.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '1.13'
servers:
- url: /api
  description: Current Host
- url: http://localhost:8585/api
  description: Endpoint URL
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/openmetadata/refs/heads/main/openapi/openmetadata-queries-api-openapi.yml