CMD+K Public API

The Public API from CMD+K — 3 operation(s) for public.

Operations 3

POST /api/public/partner/widget/{widgetid} POST /api/public/partner/widget/get #
POST /api/public/v1/chat/completions POST /api/public/v1/chat/completions #
POST /api/public/widget/verify POST /api/public/widget/verify #

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/commandplusk:commandplusk-public-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

commandplusk-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CMD+K Public API
  version: '2026-10-16'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-16: 5 operation(s) read from 3 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; CMD+K has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 5
    documentation: 0
    pages-with-code: 2
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-16'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://commandplusk.com/docs/monetize/ai-runtime
  - https://commandplusk.com/docs/build-mcp/authentication
  - https://commandplusk.com/docs/widget/partner-embed
security:
- bearer: []
tags:
- name: Public
paths:
  /api/public/partner/widget/{widgetid}:
    post:
      operationId: post_api_public_partner_widget_widgetid
      tags:
      - Public
      summary: POST /api/public/partner/widget/get
      x-source: https://commandplusk.com/docs/widget/partner-embed
      parameters:
      - name: widgetid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiPublicPartnerWidgetWidgetidRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://commandplusk.com/api/public/partner/widget/get  -H "Content-Type: application/json"  -d ''{"widgetId":"<WIDGET_ID>","mgmtKey":"ck_pmk_..."}'''
        collapsed_from: 3 example path(s) differing only at widgetId
  /api/public/v1/chat/completions:
    post:
      operationId: post_api_public_v1_chat_completions
      tags:
      - Public
      summary: POST /api/public/v1/chat/completions
      x-source: https://commandplusk.com/docs/monetize/ai-runtime
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiPublicV1ChatCompletionsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -N https://commandplusk.com/api/public/v1/chat/completions  -H \"Authorization: Bearer ck_pat_...\"  -H \"X-CmdK-End-User: user_42\"  -H \"Content-Type: application/json\"  -d '{\n \"model\": \"anthropic/claude-haiku-4-5\",\n \"stream\": true,\n \"messages\": [{ \"role\": \"user\", \"content\": \"Summarize this ticket…\" }]\n }' Any OpenAI SDK works — set base_url to https://commandplusk.com/api/public/v1 and add the "
  /api/public/widget/verify:
    post:
      operationId: post_api_public_widget_verify
      tags:
      - Public
      summary: POST /api/public/widget/verify
      x-source: https://commandplusk.com/docs/widget/partner-embed
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiPublicWidgetVerifyRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiPublicWidgetVerifyResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://commandplusk.com/api/public/widget/verify  -H "Content-Type: application/json"  -d ''{"widgetId":"<WIDGET_ID>","embedKey":"ck_embed_..."}'' Responses (always HTTP 200 for a well-formed request): json Copy // success

          { "valid": true, "widget": { "name": "Acme Assistant", "brandingVisible": true } }'
components:
  schemas:
    PostApiPublicWidgetVerifyResponse:
      type: object
      properties:
        valid:
          type: boolean
        widget:
          type: object
          properties:
            name:
              type: string
            brandingVisible:
              type: boolean
    PostApiPublicV1ChatCompletionsRequest:
      type: object
      properties:
        model:
          type: string
        stream:
          type: boolean
        messages:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
              content:
                type: string
    PostApiPublicWidgetVerifyRequest:
      type: object
      properties:
        widgetId:
          type: string
        embedKey:
          type: string
    PostApiPublicPartnerWidgetWidgetidRequest:
      type: object
      properties:
        widgetId:
          type: string
        mgmtKey:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer