Kova Versions API

The Versions API from Kova — 3 operation(s) for versions.

GitHub OpenAPI

Operations 3

GET /strategies/{strategy_uuid}/versions List strategy versions #
GET /strategies/{strategy_uuid}/versions/{version_number} Read a strategy version #
POST /strategies/{strategy_uuid}/versions/{version_number}/restore Restore a strategy version #

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/kovatools-com:kovatools-com-versions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

kovatools-com-versions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kovatools Com Versions API
  version: 1.0.0
  description: 'Operations tagged Versions across 2 of this provider''s published API definitions: kovatools-com-openapi.yml, openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://kovatools.com/api/v1
  description: Production
- url: http://localhost:3000/api/v1
  description: Development
security:
- bearerAuth: []
tags:
- name: Versions
paths:
  /strategies/{strategy_uuid}/versions:
    get:
      summary: List strategy versions
      operationId: listStrategyVersions
      tags:
      - Versions
      parameters:
      - name: strategy_uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Versions in descending version-number order
          content:
            application/json:
              schema:
                type: object
                required:
                - versions
                - meta
                properties:
                  versions:
                    type: array
                    items:
                      $ref: '#/components/schemas/StrategyVersionSummary'
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          description: Missing or invalid Bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Active subscription required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found or not owned by the authenticated user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /strategies/{strategy_uuid}/versions/{version_number}:
    get:
      summary: Read a strategy version
      operationId: getStrategyVersion
      tags:
      - Versions
      parameters:
      - name: strategy_uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: version_number
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Full content of the saved version
          content:
            application/json:
              schema:
                type: object
                required:
                - version
                - meta
                properties:
                  version:
                    $ref: '#/components/schemas/StrategyVersionDetail'
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          description: Missing or invalid Bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Active subscription required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found or not owned by the authenticated user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /strategies/{strategy_uuid}/versions/{version_number}/restore:
    post:
      summary: Restore a strategy version
      operationId: restoreStrategyVersion
      tags:
      - Versions
      parameters:
      - name: strategy_uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: version_number
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Restored strategy; the previous content is preserved as a new version
          content:
            application/json:
              schema:
                type: object
                required:
                - strategy
                - meta
                properties:
                  strategy:
                    $ref: '#/components/schemas/StrategyDetail'
                  meta:
                    $ref: '#/components/schemas/Meta'
        '422':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid Bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Active subscription required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found or not owned by the authenticated user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
components:
  schemas:
    StrategyDetail:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        name:
          type: string
          nullable: true
        content:
          type: string
          description: Full strategy text (supports Markdown)
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
        meta:
          $ref: '#/components/schemas/Meta'
    StrategyVersionDetail:
      type: object
      required:
      - version_number
      - name
      - content
      - created_at
      properties:
        version_number:
          type: integer
        name:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
        content:
          type: string
          description: Full strategy content at this version.
    StrategyVersionSummary:
      type: object
      required:
      - version_number
      - name
      - content_preview
      - created_at
      properties:
        version_number:
          type: integer
        name:
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
        content_preview:
          type: string
          description: Strategy content truncated to 200 characters.
    Meta:
      type: object
      properties:
        request_id:
          type: string
          description: Unique request identifier for debugging
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API token prefixed with `kova_tk_`. Example: `Bearer kova_tk_a3f2b1c4d5e6f7a8b9c0d1e2f3a4b5c6`'
x-refined-from:
- kovatools-com-openapi.yml
- openapi.yaml