# Ownkube Deployments API

**Canonical:** https://apis.io/apis/ownkube-io/ownkube-io-deployments-api/  
**Provider:** Ownkube — https://apis.io/providers/ownkube-io/  
**Base URL:** https://ownkube.io/api/cli  
**Documentation:** https://ownkube.io/docs

Ownkube Deployments API is one of 19 APIs that [Ownkube](https://apis.io/providers/ownkube-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 3 JSON Schema definitions. Tagged areas include Deployment. The published artifact set on APIs.io includes an OpenAPI specification and 3 JSON Schemas.

The Deployments API from Ownkube — 33 operation(s) for deployments.

## Operations (39)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/deployments` | List deployments |
| POST | `/v1/deployments` | Create a deployment |
| GET | `/v1/deployments/{deploymentId}` | Get a deployment by ID |
| DELETE | `/v1/deployments/{deploymentId}` | Delete a deployment |
| PATCH | `/v1/deployments/{deploymentId}` | Update a deployment's configuration |
| GET | `/v1/deployments/{deploymentId}/status` | Get live rollout status |
| GET | `/v1/deployments/{deploymentId}/logs` | Tail recent log lines |
| GET | `/v1/deployments/{deploymentId}/connection` | Get database connection details |
| GET | `/v1/deployments/{deploymentId}/cache-connection` | Get cache connection details |
| GET | `/v1/functions` | List Ownkube Compute functions |
| GET | `/v1/deployments/{deploymentId}/function/source` | Get a Compute function's inline source |
| POST | `/v1/deployments/{deploymentId}/connect-session` | Open a direct connection session to a database |
| GET | `/v1/deployments/{deploymentId}/connection-info` | Get database or cache connection info |
| POST | `/v1/deployments/{deploymentId}/link` | Link a database or cache to an app |
| PATCH | `/v1/deployments/{deploymentId}/function` | Update a function's configuration |
| POST | `/v1/deployments/{deploymentId}/function/deploy` | Deploy code and settings to a Compute function |
| POST | `/v1/deployments/{deploymentId}/copy` | Copy a deployment to another environment |
| POST | `/v1/deployments/{deploymentId}/reset-password` | Reset a database deployment's password |
| GET | `/v1/deployments/{deploymentId}/job-runs` | List a scheduled job's recent runs |
| POST | `/v1/deployments/{deploymentId}/job-runs` | Trigger a scheduled job now |
| DELETE | `/v1/deployments/{deploymentId}/job-runs/{jobName}` | Cancel an in-flight job run |
| POST | `/v1/deployments/{deploymentId}/restore` | Recover a database to an earlier point in time |
| POST | `/v1/deployments/{deploymentId}/restart` | Restart a deployment |
| POST | `/v1/deployments/{deploymentId}/resync` | Resync a deployment |
| PUT | `/v1/deployments/{deploymentId}/auto-deploy` | Turn auto-deploy on or off |
| PUT | `/v1/deployments/{deploymentId}/maintenance` | Turn maintenance mode on or off |
| PUT | `/v1/deployments/{deploymentId}/name` | Set a deployment's display name |
| PUT | `/v1/deployments/{deploymentId}/project` | Move a deployment to another project |
| PUT | `/v1/deployments/{deploymentId}/build-args` | Set custom build arguments |
| PUT | `/v1/deployments/{deploymentId}/build-context` | Set the build root directory |
| PUT | `/v1/deployments/{deploymentId}/builder-size` | Set the builder size |
| GET | `/v1/deployments/{deploymentId}/subdomain/check` | Check if an address label is available |
| GET | `/v1/deployments/{deploymentId}/subdomain/suggest` | Suggest available address labels |
| PUT | `/v1/deployments/{deploymentId}/subdomain` | Change a deployment's public address |
| PUT | `/v1/deployments/{deploymentId}/source` | Connect or switch an app's repository |
| DELETE | `/v1/deployments/{deploymentId}/source` | Disconnect an app's repository |
| GET | `/v1/deployments/{deploymentId}/variables` | List an app's variables |
| PATCH | `/v1/deployments/{deploymentId}/variables` | Set or remove an app's variables |
| POST | `/v1/deployments/{deploymentId}/variables/resolve` | Resolve an app's variables for a local command |

## Machine-readable artifacts (4)

- **OpenAPI** — https://artifacts.apis.io/ownkube-io/openapi/ownkube-io-deployments-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/ownkube-io/json-schema/ownkube-io-update-deployment-body-schema.json
- **JSONSchema** — https://artifacts.apis.io/ownkube-io/json-schema/ownkube-io-deployment-schema.json
- **JSONSchema** — https://artifacts.apis.io/ownkube-io/json-schema/ownkube-io-deploy-function-body-schema.json

## Other Ownkube APIs (12)

- [Ownkube Alerts API](https://apis.io/apis/ownkube-io/ownkube-io-alerts-api/)
- [Ownkube AWS Onboarding API](https://apis.io/apis/ownkube-io/ownkube-io-aws-onboarding-api/)
- [Ownkube Billing API](https://apis.io/apis/ownkube-io/ownkube-io-billing-api/)
- [Ownkube Clusters API](https://apis.io/apis/ownkube-io/ownkube-io-clusters-api/)
- [Ownkube Custom Domains API](https://apis.io/apis/ownkube-io/ownkube-io-custom-domains-api/)
- [Ownkube Environments API](https://apis.io/apis/ownkube-io/ownkube-io-environments-api/)
- [Ownkube Feedback API](https://apis.io/apis/ownkube-io/ownkube-io-feedback-api/)
- [Ownkube Marketplace API](https://apis.io/apis/ownkube-io/ownkube-io-marketplace-api/)
- [Ownkube Organizations API](https://apis.io/apis/ownkube-io/ownkube-io-organizations-api/)
- [Ownkube Projects API](https://apis.io/apis/ownkube-io/ownkube-io-projects-api/)
- [Ownkube Regions API](https://apis.io/apis/ownkube-io/ownkube-io-regions-api/)
- [Ownkube Registries API](https://apis.io/apis/ownkube-io/ownkube-io-registries-api/)

## Tags

Deployment

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/ownkube-io` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/ownkube-io/ownkube-io-deployments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/ownkube-io/.
