---
title: "Which command lines this app has"
method: GET
path: "/platform/deployments/{id}/cli"
tags: ["Platform"]
---

# Which command lines this app has

`GET /platform/deployments/{id}/cli`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/platform/deployments/{id}/cli`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Lists the command lines available for this app — `wp` for
WordPress, `occ` for Nextcloud, `gitea` for Gitea, plus a
database client where the app bundles one — with what each is
for and one example that works. Also returns the recent runs.

Call this before guessing a command.

## Path parameters

- `id` string, required

## Response `200`

The command lines and recent runs

## Other responses

- `401`: Invalid or missing API credentials
- `404`: Resource not found
- `409`: A custom deployment, whose command line the platform cannot know

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
