Cosmonic Myfile API

The Myfile API from Cosmonic — 1 operation(s) for myfile.

Operations 3

DELETE /myfile.txt DELETE /myfile.txt #
GET /myfile.txt GET /myfile.txt #
POST /myfile.txt Blobstore Fileserver (NATS) #

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-myfile-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-myfile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cosmonic Myfile 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: Myfile
paths:
  /myfile.txt:
    delete:
      operationId: delete_myfile_txt
      tags:
      - Myfile
      summary: DELETE /myfile.txt
      x-source: https://cosmonic.com/docs/template-catalog/blobstore-fileserver-nats
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X DELETE -v 'http://blobby.localhost.cosmonic.sh/myfile.txt' \n * Host blobby.localhost.cosmonic.sh:80 was resolved. \n * IPv6: (none) \n * IPv4: 127.0.0.1 \n * Trying 127.0.0.1:80... \n * Connected to blobby.localhost.cosmonic.sh (127.0.0.1) port 80 \n > DELETE /myfile.txt HTTP/1.1 \n > Host: blobby.localhost.cosmonic.sh \n > User-Agent: curl/8.7.1 \n > Accept: */* \n > \n * Request completely sent of"
    get:
      operationId: get_myfile_txt
      tags:
      - Myfile
      summary: GET /myfile.txt
      x-source: https://cosmonic.com/docs/template-catalog/blobstore-fileserver-nats
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H 'Content-Type: text/plain' -v 'http://blobby.localhost.cosmonic.sh/myfile.txt' --data-binary @myfile.txt \n * Host blobby.localhost.cosmonic.sh:80 was resolved. \n * IPv6: (none) \n * IPv4: 127.0.0.1 \n * Trying 127.0.0.1:80... \n * Connected to blobby.localhost.cosmonic.sh (127.0.0.1) port 80 \n > POST /myfile.txt HTTP/1.1 \n > Host: blobby.localhost.cosmonic.sh \n > User-Agent: curl/8.7.1 \n > Ac"
    post:
      operationId: post_myfile_txt
      tags:
      - Myfile
      summary: Blobstore Fileserver (NATS)
      description: Upload or update a file to the blobstore fileserver.
      x-source: https://cosmonic.com/docs/template-catalog/blobstore-fileserver-nats
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMyfileTxtRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMyfileTxtResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostMyfileTxtResponse:
      type: object
      properties:
        status:
          type: integer
          description: 201 Created on successful upload
    PostMyfileTxtRequest:
      type: object
      properties:
        body:
          type: string
          description: File content (text/plain)
      required:
      - body