Kova Authentication API

The Authentication API from Kova — 2 operation(s) for authentication.

GitHub OpenAPI

Operations 2

POST /auth/cli/exchange Exchange CLI auth code for API token #
GET /auth/status Get authentication status #

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-authentication-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-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kovatools Com Authentication API
  version: 1.0.0
  description: 'Operations tagged Authentication 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: Authentication
paths:
  /auth/cli/exchange:
    post:
      summary: Exchange CLI auth code for API token
      description: 'Exchanges a one-time authorization code (from the browser auth flow) and a

        PKCE code_verifier for a new API token. No Bearer token required.'
      operationId: exchangeCliAuthCode
      tags:
      - Authentication
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - code
              - code_verifier
              - state
              properties:
                code:
                  type: string
                  description: One-time authorization code from browser callback
                code_verifier:
                  type: string
                  description: PKCE code verifier (plain, SHA-256 of this must match the code_challenge)
                state:
                  type: string
                  description: State value from browser callback, must match original login state
      responses:
        '201':
          description: Token issued
          content:
            application/json:
              schema:
                type: object
                properties:
                  auth:
                    type: object
                    properties:
                      token:
                        type: string
                        description: Raw API token (shown once)
                      user_email:
                        type: string
                      token_prefix:
                        type: string
                      created_at:
                        type: string
                        format: date-time
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          description: Invalid, expired, or already used authorization code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Missing required parameters
          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
  /auth/status:
    get:
      summary: Get authentication status
      description: Returns the current user identity and token metadata for the authenticated token.
      operationId: getAuthStatus
      tags:
      - Authentication
      responses:
        '200':
          description: Authentication status
          content:
            application/json:
              schema:
                type: object
                properties:
                  auth:
                    type: object
                    properties:
                      user_email:
                        type: string
                      token_prefix:
                        type: string
                      token_last_used_at:
                        type: string
                        format: date-time
                        nullable: true
                      token_created_at:
                        type: string
                        format: date-time
                      capabilities:
                        type: object
                        required:
                        - strategies
                        - journal
                        - journal_publish
                        properties:
                          strategies:
                            type: boolean
                          journal:
                            type: boolean
                            description: Can keep a private journal and read shared entries.
                          journal_publish:
                            type: boolean
                            description: Published entries are shared with every journal reader.
                  meta:
                    $ref: '#/components/schemas/Meta'
        '401':
          description: Unauthorized
          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:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
        meta:
          $ref: '#/components/schemas/Meta'
    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