# Pethost API

**Canonical:** https://apis.io/apis/pethost-dev/pethost-dev-api/  
**Provider:** Pethost — https://apis.io/providers/pethost-dev/  
**Base URL:** https://console.pethost.dev  
**Documentation:** https://pethost.dev/docs/api

Pethost API is one of 2 APIs that [Pethost](https://apis.io/providers/pethost-dev/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Pethost API as documented publicly: 29 operations. Contract generated from the documentation by API Evangelist (2026-11-20); not the provider's own document.

## Operations (29)

| Method | Path | Summary |
|---|---|---|
| GET | `/health` | Health check endpoint |
| GET | `/install.sh` | Install |
| POST | `/oauth/register` | The client registers itself ( POST /oauth/register ) |
| POST | `/oauth/token` | The client trades the code at POST /oauth/token for a token |
| POST | `/pethost.panel.v1.PanelService/CancelDatabaseQuery` | Web panel only |
| POST | `/pethost.panel.v1.PanelService/CreateDatabase` | Create a database |
| POST | `/pethost.panel.v1.PanelService/CreateProject` | Create a project |
| POST | `/pethost.panel.v1.PanelService/CreateTransfer` | Upload or download a file |
| POST | `/pethost.panel.v1.PanelService/DeployProject` | Deploy a project |
| POST | `/pethost.panel.v1.PanelService/GetDatabaseStats` | Web panel only |
| POST | `/pethost.panel.v1.PanelService/GetIncident` | Web panel only |
| POST | `/pethost.panel.v1.PanelService/GetMachine` | Get the machine |
| POST | `/pethost.panel.v1.PanelService/GetMoveChoices` | Web panel only Read-only |
| POST | `/pethost.panel.v1.PanelService/GetOperation` | Get an operation |
| POST | `/pethost.panel.v1.PanelService/GetProject` | POST /pethost.panel.v1.PanelService/GetProject |
| POST | `/pethost.panel.v1.PanelService/GetUpload` | What an archive from CreateTransfer holds |
| POST | `/pethost.panel.v1.PanelService/LinkDatabase` | Link projects to a database |
| POST | `/pethost.panel.v1.PanelService/ListCommits` | List a project's commits |
| POST | `/pethost.panel.v1.PanelService/ListWorkspaces` | List workspaces |
| POST | `/pethost.panel.v1.PanelService/MoveProject` | Move a project to another workspace |
| POST | `/pethost.panel.v1.PanelService/OpenDatabaseClient` | Web panel only |
| POST | `/pethost.panel.v1.PanelService/OpenTerminal` | Web panel only |
| POST | `/pethost.panel.v1.PanelService/QueryContainerLogs` | Query container logs |
| POST | `/pethost.panel.v1.PanelService/QueryHttpTraffic` | Query HTTP traffic |
| POST | `/pethost.panel.v1.PanelService/ReadPath` | Read a file or directory |
| POST | `/pethost.panel.v1.PanelService/RunMachineAction` | Run a machine action |
| POST | `/pethost.panel.v1.PanelService/RunProjectAction` | Run a project action |
| POST | `/pethost.panel.v1.PanelService/RunServiceCommand` | Run a command in a service |
| POST | `/pethost.panel.v1.PanelService/SetProjectAlerts` | Set a project's alerts |

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/pethost-dev/openapi/_ae-authored/pethost-dev-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/pethost-dev/json-schema/pethost-dev-post-pethost-panel-v1-panelservice-deployproject-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pethost-dev/json-schema/pethost-dev-post-pethost-panel-v1-panelservice-createdatabase-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pethost-dev/json-schema/pethost-dev-post-pethost-panel-v1-panelservice-queryhttptraffic-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/pethost-dev/json-schema/pethost-dev-post-pethost-panel-v1-panelservice-queryhttptraffic-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/pethost-dev/json-schema/pethost-dev-post-pethost-panel-v1-panelservice-readpath-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/pethost-dev/json-schema/pethost-dev-post-pethost-panel-v1-panelservice-querycontainerlogs-request-schema.json

## Other Pethost APIs (1)

- [Pethost API](https://apis.io/apis/pethost-dev/pethost-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pethost-dev` 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/pethost-dev/pethost-dev-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pethost-dev/.
