Cosmonic Cosmonic API

The Cosmonic API API from Cosmonic — 2 operation(s) for cosmonic api.

Operations 2

GET / GET / #
POST /v1/{v1id} POST /v1/synthesize #

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/cosmonic:cosmonic-cosmonic-api-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

cosmonic-cosmonic-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cosmonic API
  version: '2026-10-11'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-11: 13 operation(s) read from 13 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Cosmonic has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 13
    documentation: 0
    pages-with-code: 13
    pages-read: 13
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-11'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://cosmonic.com/docs/desktop/Quickstart
  - https://cosmonic.com/docs/desktop/quickstart
  - https://cosmonic.com/docs/install-cosmonic-control
  - https://cosmonic.com/docs/desktop/sandboxing-ai
  - https://cosmonic.com/docs/desktop/laptop-to-cluster
  - https://cosmonic.com/docs/desktop/daemon
  - https://cosmonic.com/docs/operations/two-component-nats-workloads
  - https://cosmonic.com/docs/template-catalog/blobstore-fileserver-nats
  - https://cosmonic.com/docs/template-catalog/blobstore-nats
  - https://cosmonic.com/docs/template-catalog/http-server
  - https://cosmonic.com/docs/securely-deploy-mcp-on-kubernetes
  - https://cosmonic.com/docs/desktop/install/verify-signatures
  - https://cosmonic.com/docs/integrations/gitops-with-argo-cd
servers:
- url: https://raw.githubusercontent.com
tags:
- name: Cosmonic API
paths:
  /:
    get:
      operationId: get
      tags:
      - Cosmonic API
      summary: GET /
      x-source: https://cosmonic.com/docs/desktop/Quickstart
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl http://hello-world.localhost:8200/ \n You should get a greeting back. (On systems whose resolver doesn't handle .localhost subdomains, such as some Linux distributions without systemd-resolved , send the hostname as a header instead: curl -H 'Host: hello-world.localhost' http://127.0.0.1:8200/ .) In the app, expanding the workload's row shows its components, capabilities, version and digest, a"
  /v1/{v1id}:
    post:
      operationId: post_v1_v1id
      tags:
      - Cosmonic API
      summary: POST /v1/synthesize
      x-source: https://cosmonic.com/docs/desktop/daemon
      parameters:
      - name: v1id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1V1IdRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -sS --unix-socket /tmp/cosmonic/cosmonicd.sock  -X POST http://localhost/v1/synthesize  -H ''content-type: application/json''  -d ''{"source":"ghcr.io/cosmonic-labs/control-demos/hello-world:0.1.2"}''  | jq .workload > workload.json '
        collapsed_from: 2 example path(s) differing only at v1Id
components:
  schemas:
    PostV1V1IdRequest:
      type: object
      properties:
        source:
          type: string