Ownkube Marketplace API
The Marketplace API from Ownkube — 5 operation(s) for marketplace.
The Marketplace API from Ownkube — 5 operation(s) for marketplace.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/ownkube-io:ownkube-io-marketplace-api"
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.
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: 3.2.0
info:
title: Ownkube CLI Marketplace API
version: 1.15.0
description: API for the Ownkube CLI tool. Authenticate via browser-based flow, then use x-api-key header for subsequent requests.
servers:
- url: /api/cli
security:
- apiKey: []
tags:
- name: Marketplace
paths:
/v1/marketplace/apps:
get:
tags:
- Marketplace
summary: List marketplace apps
description: Every app in the marketplace catalog, each flagged `deployable` or not.
security:
- apiKey: []
responses:
'200':
description: Marketplace apps
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceAppListResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'412':
description: Precondition failed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limited; retry after the Retry-After header's seconds
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1MarketplaceApps
x-operation-id-source: derived
/v1/marketplace/apps/{slug}:
get:
tags:
- Marketplace
summary: Get a marketplace app
description: One app's detail, including the `inputs` it needs before deploy.
security:
- apiKey: []
parameters:
- schema:
type: string
minLength: 1
description: Marketplace app id (from list_marketplace_apps), e.g. `n8n`.
required: true
description: Marketplace app id (from list_marketplace_apps), e.g. `n8n`.
name: slug
in: path
responses:
'200':
description: Marketplace app
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceAppDetail'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'412':
description: Precondition failed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limited; retry after the Retry-After header's seconds
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: getV1MarketplaceAppsBySlug
x-operation-id-source: derived
/v1/marketplace/apps/{slug}/check:
post:
tags:
- Marketplace
summary: Check a marketplace deploy
description: Validates `inputs` and the name prefix without creating anything.
security:
- apiKey: []
parameters:
- schema:
type: string
minLength: 1
description: Marketplace app id (from list_marketplace_apps), e.g. `n8n`.
required: true
description: Marketplace app id (from list_marketplace_apps), e.g. `n8n`.
name: slug
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceCheckBody'
responses:
'200':
description: Check result
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceCheckResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'412':
description: Precondition failed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limited; retry after the Retry-After header's seconds
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postV1MarketplaceAppsBySlugCheck
x-operation-id-source: derived
/v1/marketplace/apps/{slug}/deploy:
post:
tags:
- Marketplace
summary: Deploy a marketplace app
description: Creates every piece of the app (app, database, cache) in one call. Target an Ownkube Compute `region` or your own `clusterId`. On Ownkube Compute the wallet must have credit, and a bundled database or cache needs a box (`dbSkuId` / `cacheSkuId`).
security:
- apiKey: []
parameters:
- schema:
type: string
minLength: 1
description: Marketplace app id (from list_marketplace_apps), e.g. `n8n`.
required: true
description: Marketplace app id (from list_marketplace_apps), e.g. `n8n`.
name: slug
in: path
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceDeployBody'
responses:
'200':
description: Deployed app
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceDeployResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'412':
description: Precondition failed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limited; retry after the Retry-After header's seconds
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postV1MarketplaceAppsBySlugDeploy
x-operation-id-source: derived
/v1/marketplace/installs/{templateInstanceId}:
delete:
tags:
- Marketplace
summary: Delete a deployed marketplace app
description: Removes every deployment one marketplace deploy created, including its database and cache and their data. Owners and admins only.
security:
- apiKey: []
parameters:
- schema:
type: string
minLength: 1
description: From the deploy result, or `templateInstanceId` on any of the app's deployments.
required: true
description: From the deploy result, or `templateInstanceId` on any of the app's deployments.
name: templateInstanceId
in: path
responses:
'200':
description: Deleted
content:
application/json:
schema:
$ref: '#/components/schemas/MarketplaceDeleteResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Invalid or missing API key
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'412':
description: Precondition failed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limited; retry after the Retry-After header's seconds
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: deleteV1MarketplaceInstallsByTemplateInstanceId
x-operation-id-source: derived
components:
schemas:
ErrorResponse:
type: object
properties:
error:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable error code
required:
- error
- code
MarketplaceDeployBody:
type: object
properties:
region:
type: string
minLength: 1
maxLength: 64
description: Ownkube Compute region id (from list_regions). Set this or `clusterId`, not both.
clusterId:
type: string
minLength: 1
description: Your own active cluster to deploy into. Set this or `region`, not both.
projectId:
type: string
minLength: 1
description: Owning project. Defaults to the organization's Default.
environmentId:
type: string
minLength: 1
description: Environment to deploy into; must belong to `projectId`. Defaults to the project's default environment.
inputs:
type: object
additionalProperties:
anyOf:
- type: string
- type: number
- type: boolean
description: Values for the app's declared inputs (see get_marketplace_app), keyed by input `key`.
dbSkuId:
type: string
minLength: 1
description: Database box id (from list_boxes `database`). Required on Ownkube Compute when the app includes a database.
cacheSkuId:
type: string
minLength: 1
description: Cache box id (from list_boxes `cache`). Required on Ownkube Compute when the app includes a cache.
baseName:
type: string
minLength: 1
maxLength: 50
pattern: ^[a-z][a-z0-9-]*$
description: Name prefix for every piece (`<baseName>-<ref>`). Defaults to the app id. Lowercase letters, digits, dashes.
MarketplaceAppDetail:
allOf:
- $ref: '#/components/schemas/MarketplaceApp'
- type: object
properties:
inputs:
type: array
items:
$ref: '#/components/schemas/MarketplaceInput'
description: Values to collect before deploy; empty when none are needed.
connections:
type: array
items:
$ref: '#/components/schemas/MarketplaceConnection'
description: Variables the app gets set for you.
required:
- inputs
- connections
MarketplaceAppListResponse:
type: object
properties:
apps:
type: array
items:
$ref: '#/components/schemas/MarketplaceApp'
required:
- apps
MarketplaceDeployResponse:
type: object
properties:
slug:
type: string
templateInstanceId:
type: string
description: Groups every piece this deploy created. Pass it to delete_marketplace_app to remove the whole app.
deployments:
type: array
items:
type: object
properties:
deploymentId:
type: string
name:
type: string
ref:
type: string
resourceType:
type: string
enum:
- web
- worker
- job
- database
- cache
- workspace
publicHostname:
type: string
nullable: true
required:
- deploymentId
- name
- ref
- resourceType
- publicHostname
required:
- slug
- templateInstanceId
- deployments
MarketplaceCheckBody:
type: object
properties:
inputs:
type: object
additionalProperties:
anyOf:
- type: string
- type: number
- type: boolean
description: Values for the app's declared inputs (see get_marketplace_app), keyed by input `key`.
baseName:
type: string
minLength: 1
maxLength: 50
pattern: ^[a-z][a-z0-9-]*$
description: Name prefix for every piece (`<baseName>-<ref>`). Defaults to the app id. Lowercase letters, digits, dashes.
MarketplaceConnection:
type: object
properties:
appRef:
type: string
envName:
type: string
label:
type: string
source:
type: string
enum:
- wired
- input
- generated
description: '`wired`: from the app''s own database or cache. `input`: from your `inputs`. `generated`: a fresh secret per deploy.'
required:
- appRef
- envName
- label
- source
MarketplaceCheckResponse:
type: object
properties:
ok:
type: boolean
errors:
type: array
items:
type: string
description: What to fix before deploying; empty when `ok`.
required:
- ok
- errors
MarketplaceInput:
type: object
properties:
key:
type: string
description: Pass the value under this key in `inputs`.
label:
type: string
description:
type: string
type:
type: string
enum:
- string
- number
- boolean
- select
required:
type: boolean
default:
anyOf:
- type: string
- type: number
- type: boolean
secret:
type: boolean
placeholder:
type: string
pattern:
type: string
minLength:
type: number
maxLength:
type: number
min:
type: number
max:
type: number
options:
type: array
items:
type: object
properties:
label:
type: string
value:
type: string
required:
- label
- value
description: Allowed values for a `select` input.
required:
- key
- label
- type
- required
MarketplaceApp:
type: object
properties:
slug:
type: string
description: Marketplace app id, e.g. `n8n`.
name:
type: string
blurb:
type: string
description:
type: string
nullable: true
category:
type: string
provisions:
type: array
items:
type: string
description: What one deploy creates, e.g. `["1 web", "1 db"]`.
components:
type: array
items:
$ref: '#/components/schemas/MarketplaceComponent'
links:
type: array
items:
type: object
properties:
label:
type: string
url:
type: string
required:
- label
- url
sourceUrl:
type: string
nullable: true
deployable:
type: boolean
description: False when the app is listed but can't be deployed yet.
unavailableReason:
type: string
nullable: true
required:
- slug
- name
- blurb
- description
- category
- provisions
- components
- links
- sourceUrl
- deployable
- unavailableReason
MarketplaceComponent:
type: object
properties:
ref:
type: string
description: The piece's id within the app, e.g. `app`.
kind:
type: string
description: '`web`, `worker`, `job`, `database`, or `cache`.'
title:
type: string
detail:
type: string
description: Short description, e.g. `PostgreSQL 17`.
version:
type: string
nullable: true
description: App version an app piece runs, e.g. `1.123.60`; null for datastores (see `detail`) and apps Ownkube builds itself.
required:
- ref
- kind
- title
- detail
- version
MarketplaceDeleteResponse:
type: object
properties:
success:
type: boolean
count:
type: number
description: How many deployments were removed.
required:
- success
- count
securitySchemes:
apiKey:
type: apiKey
in: header
name: x-api-key
description: API key issued by the browser-based CLI authorization flow.