Optilogic storage : templates API

Get database template information

Operations 2

GET /storages/db-templates Get a list of database template versions used to create a new database #
GET /storages/db-template-sets Get a distinct list of database templates and release statuses associated with… #

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/optilogic-storage-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 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

optilogic-storage-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: All Optilogic users can view the endpoint documentation below, upgrade to a paid account to gain access.
  version: 1.0.0
  title: 'Optilogic REST storage : templates API'
  contact:
    name: Optilogic Support
    email: support@optilogic.com
servers:
- url: https://api.optilogic.app/v0
tags:
- name: 'storage : templates'
  description: Get database template information
paths:
  /storages/db-templates:
    get:
      tags:
      - 'storage : templates'
      summary: Get a list of database template versions used to create a new database
      description: ''
      parameters:
      - name: id
        in: query
        description: Id of the baselineTemplate or templateSet group to retrieve.
        required: false
        schema:
          type: string
      - name: schema
        in: query
        description: Database schema to return templates from.
        required: false
        schema:
          type: string
          enum:
          - anura
          default: ''
      - name: schemaType
        in: query
        description: '''baselineTemplate'' or ''templateSet'''
        required: false
        schema:
          type: string
          enum:
          - baselineTemplate
          - templateSet
      - name: includeNonDefault
        in: query
        description: Include non-default templates.
        required: false
        schema:
          type: boolean
          enum:
          - false
          - true
          default: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DBTemplates'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - APIKeyHeader: []
      operationId: getStoragesDbTemplates
      x-operation-id-source: derived
  /storages/db-template-sets:
    get:
      tags:
      - 'storage : templates'
      summary: Get a distinct list of database templates and release statuses associated with…
      description: 'A template set is an Optilogic database categorization. For example: Anura New Model, Global Supply Chain Strategy, Tactical Capacity Optimization, etc.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DBTemplateSets'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - APIKeyHeader: []
      operationId: getStoragesDbTemplateSets
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        result:
          type: string
          format: string
        error:
          type: string
          format: string
        correlationId:
          type: string
          format: uuid
    DBTemplates:
      type: object
      properties:
        result:
          type: string
          format: string
        count:
          type: integer
        templates:
          type: array
          items:
            type: object
            properties:
              id:
                type: number
              name:
                type: string
              templateType:
                type: string
                enum:
                - baseline
                - templateSet
              pgTemplateName:
                type: string
              schema:
                type: string
                enum:
                - anura
              baselineSchemaVersion:
                type: string
                enum:
                - '1.0'
              templateSetId:
                type: number
              templateVersion:
                type: string
              description:
                type: string
              isDefault:
                type: boolean
                enum:
                - true
                - false
    DBTemplateSets:
      type: object
      properties:
        result:
          type: string
          format: string
        count:
          type: integer
        schemas:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              templateSets:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: integer
                    name:
                      type: string
                    shortDescription:
                      type: string
                    longDescription:
                      type: string
                    availableReleaseStatuses:
                      type: array
                      items:
                        type: string
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY
externalDocs:
  description: Find out more about Optilogic
  url: https://optilogic.com