OpenBash AI Programs API

The Programs API from OpenBash AI — 3 operation(s) for programs.

GitHub OpenAPI

Operations 3

GET /api/v1/programs List every program, with this key's enablement marked #
GET /api/v1/programs/{slug} One program, help text included #
GET /api/v1/programs/{slug}/surface/{read} One read of a program's browsable surface #

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/openbash-ai:openbash-ai-programs-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

openbash-ai-programs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: openbash Programs API
  version: 1.0.0
  description: 'Bash programs over data, reachable by HTTP, SSH and MCP.


    There is ONE execution endpoint, not one per program. Programs are commands on a path inside a shell — "customs | jq | sort" is a single request — so they compose without any of them knowing about the others. Which programs exist is decided per ACCOUNT, not per call: once enabled, every session that account opens has them, and help lists exactly those.


    Stateless by default; pass a session_id to carry a working directory, environment and /tmp across calls. A session id names the shell, not the connection — the same id is resumable from HTTP, MCP and SSH, and survives a restart of this gateway. On MCP, an Mcp-Session-Id sent with initialize NAMES the session: it is resumed if it exists and started under that name if it does not, so a client can choose an id once and keep it. A client that sends no header still keeps one session: an OAuth connector gets a DEFAULT session bound to its client_id, so continuity does not depend on header plumbing. API keys bind nothing, because a key is shared and each caller under it must get its own session. From inside the shell, session list, session use and session new move that default.'
servers:
- url: https://openbash.ai
security:
- apiKey: []
tags:
- name: Programs
paths:
  /api/v1/programs:
    get:
      operationId: listPrograms
      summary: List every program, with this key's enablement marked
      description: Public. Programs a key cannot run are still listed, with enabled=false.
      security:
      - {}
      - apiKey: []
      parameters:
      - name: domain
        in: query
        schema:
          type: string
        description: Filter to one domain, e.g. housing.
      responses:
        '200':
          description: The catalog.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ProgramSummary'
                  domains:
                    type: array
                    items:
                      type: string
                  authenticated:
                    type: boolean
      tags:
      - Programs
  /api/v1/programs/{slug}:
    get:
      operationId: getProgram
      summary: One program, help text included
      description: 'The help text is the definition of the program: what it returns, in what units, and what it does not cover.'
      security:
      - {}
      - apiKey: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The program.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Program'
        '404':
          description: No such program.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Programs
  /api/v1/programs/{slug}/surface/{read}:
    get:
      operationId: readProgramSurface
      summary: One read of a program's browsable surface
      description: 'Public. Some programs publish a page as well as a command: the catalog entry carries surface.kind, surface.mount, surface.label and surface.reads. Each read named there is served here, the query string passed through to the program, and answered live with no cache — the page at surface.mount and the program on the shell read the same store at the same moment. A directory surface''s reads are tree, browse?path= and listings?path=&limit=&rank=&location=.'
      security:
      - {}
      - apiKey: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: read
        in: path
        required: true
        schema:
          type: string
        description: One of the names in the program's surface.reads.
      responses:
        '200':
          description: The read's answer, in the shape the surface kind defines.
        '404':
          description: No such program, or no read by that name.
      tags:
      - Programs
components:
  schemas:
    Error:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    Program:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    ProgramSummary:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true