Cosmonic Detect API

The Detect API from Cosmonic — 1 operation(s) for detect.

Operations 1

POST /api/detect POST /api/detect #

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-detect-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-detect-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cosmonic Detect 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: Detect
paths:
  /api/detect:
    post:
      operationId: post_api_detect
      tags:
      - Detect
      summary: POST /api/detect
      x-source: https://cosmonic.com/docs/operations/two-component-nats-workloads
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiDetectRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -sS -X POST -H 'Content-Type: application/json'  --data '{\"region\":\"singapore\",\"sar_width\":512,\"sar_height\":512,\"num_targets\":0,\"seed\":42,\"density\":0.5,\"force_cpu\":true}'  http://darkvessels.localhost.cosmonic.sh/api/detect \n The gateway publishes the request on tasks.sar-processor . The worker subscribes to that subject, runs the detection pipeline, and publishes a reply on msg.reply_to . Th"
components:
  schemas:
    PostApiDetectRequest:
      type: object
      properties:
        region:
          type: string
        sar_width:
          type: integer
        sar_height:
          type: integer
        num_targets:
          type: integer
        seed:
          type: integer
        density:
          type: number
        force_cpu:
          type: boolean