OPAQUE Predefined Query Templates API

The predefined-query-templates API from OPAQUE — 3 operation(s) for predefined-query-templates.

Operations 3

GET /{version}/organization/{organization-uuid}/predefined-query-templates Get predefined query templates by organization #
GET /{version}/workspace/{workspace-uuid}/predefined-query-templates Get predefined query templates by workspace #
GET /{version}/predefined-query-templates Get all available predefined query templates #

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/opaque-predefined-query-templates-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

opaque-predefined-query-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Opaque UI Predefined Query Templates API
  version: '2.5'
  description: This documentation details the REST API endpoints that the client exposes.
  contact:
    name: Opaque Systems
    email: hello@opaque.co
servers:
- url: http://localhost:5001/
  description: Local Server
security:
- sessionToken: []
  refreshTokenCookie: []
tags:
- name: predefined-query-templates
paths:
  /{version}/organization/{organization-uuid}/predefined-query-templates:
    parameters:
    - $ref: '#/components/parameters/version'
    - schema:
        type: string
      name: organization-uuid
      in: path
      required: true
    get:
      summary: Get predefined query templates by organization
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: ../models/PredefinedQueryTemplate.yaml
      operationId: get_organization_predefined_query_templates
      description: Get all the predefined query templates for an organization
      tags:
      - predefined-query-templates
      parameters: []
      x-internal: true
      x-stoplight:
        id: 8d5qorpzqdohr
  /{version}/workspace/{workspace-uuid}/predefined-query-templates:
    parameters:
    - $ref: '#/components/parameters/version'
    - schema:
        type: string
      name: workspace-uuid
      in: path
      required: true
    get:
      summary: Get predefined query templates by workspace
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: ../models/PredefinedQueryTemplate.yaml
      operationId: get_workspace_predefined_query_templates
      description: Get all the predefined query templates that have been added to a workspace
      tags:
      - predefined-query-templates
      parameters: []
      x-internal: true
      x-stoplight:
        id: 8d5qorpzqdohr
  /{version}/predefined-query-templates:
    parameters:
    - $ref: '#/components/parameters/version'
    get:
      summary: Get all available predefined query templates
      tags:
      - predefined-query-templates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: ../models/PredefinedQueryTemplate.yaml
      operationId: get_available_predefined_query_templates
      description: Get all available predefined query templates. This includes all public templates and private templates associated with the user's organization. Only a workspace admin can call this endpoint.
components:
  parameters:
    version:
      in: path
      name: version
      schema:
        type: string
        default: v1.2
        example: v1.2
      description: Version of the API to call
      required: true
  securitySchemes:
    sessionToken:
      type: http
      scheme: bearer
      description: The bearer token is obtained from the `/login` and `/register` endpoints.
    userIdentitySecret:
      name: userIdentitySecret
      type: apiKey
      in: cookie
      description: A binary blob derived from a user's passkey. It can be obtained from the `/login` and `/register` endpoints.
    sessionTokenCookie:
      name: sessionTokenCookie
      type: apiKey
      in: cookie
    refreshTokenCookie:
      name: refreshTokenCookie
      type: apiKey
      in: cookie
x-origin: origin
x-extension-with: x-extension-with