# Lathe Engines API

**Canonical:** https://apis.io/apis/lathe-live/lathe-live-engines-api/  
**Provider:** Lathe — https://apis.io/providers/lathe-live/  
**Base URL:** https://app.lathe.live/api/v1  
**Documentation:** https://docs.lathe.live/api.md

Lathe Engines API is one of 10 APIs that [Lathe](https://apis.io/providers/lathe-live/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Engines. The published artifact set on APIs.io includes an OpenAPI specification.

The engines API from Lathe — 22 operation(s) for engines.

## Operations (28)

| Method | Path | Summary |
|---|---|---|
| GET | `/instances/{instance_id}/postgres/databases` | Postgres databases on the instance with size and open connections |
| POST | `/instances/{instance_id}/postgres/databases` | Create a Postgres database owned by the instance's role |
| DELETE | `/instances/{instance_id}/postgres/databases/{name}` | Drop a Postgres database (confirm = its name; open sessions are terminated) |
| GET | `/instances/{instance_id}/postgres/databases/{name}/extensions` | Extensions installed in a database and the ones this instance offers |
| PUT | `/instances/{instance_id}/postgres/databases/{name}/extensions/{extension}` | Install an extension from the offered list |
| DELETE | `/instances/{instance_id}/postgres/databases/{name}/extensions/{extension}` | Remove an extension from a database |
| PUT | `/instances/{instance_id}/redis/console` | The Redis console the portal runs: off, ro or rw (also gates the endpoints… |
| GET | `/instances/{instance_id}/redis/keys` | Scan keys (type, TTL, size); page with cursor |
| GET | `/instances/{instance_id}/redis/keys/{name}` | One key's value (first 200 members of a collection) |
| POST | `/instances/{instance_id}/redis/command` | Run one Redis command (read-only or read-write per the console mode; server… |
| GET | `/instances/{instance_id}/couchdb/databases` | CouchDB databases with document counts and size |
| POST | `/instances/{instance_id}/couchdb/databases` | Create a CouchDB database |
| DELETE | `/instances/{instance_id}/couchdb/databases/{name}` | Delete a CouchDB database (confirm = its name) |
| GET | `/instances/{instance_id}/nats/streams` | JetStream streams with subjects, messages, bytes and consumers |
| POST | `/instances/{instance_id}/nats/streams` | Create a JetStream stream |
| POST | `/instances/{instance_id}/nats/streams/{name}/actions/purge` | Purge every message from a stream (confirm = its name) |
| DELETE | `/instances/{instance_id}/nats/streams/{name}` | Delete a stream (confirm = its name) |
| GET | `/instances/{instance_id}/s3/buckets` | Object storage buckets |
| POST | `/instances/{instance_id}/s3/buckets` | Create a bucket |
| DELETE | `/instances/{instance_id}/s3/buckets/{name}` | Empty a bucket and delete it (confirm = its name) |
| GET | `/instances/{instance_id}/auth/users` | The app's users: address, how they sign in, when they were created and last… |
| POST | `/instances/{instance_id}/auth/users` | Create a user (optionally with a password; confirmed unless you say otherwise) |
| POST | `/instances/{instance_id}/auth/users/actions/invite` | Mail an invitation: the server makes the user and sends them a link that signs… |
| POST | `/instances/{instance_id}/auth/users/actions/send-link` | Mail somebody who already has an account a sign-in link or a password reset |
| PUT | `/instances/{instance_id}/auth/users/{user_id}/ban` | Ban a user or lift a ban. Nothing of theirs is lost either way |
| DELETE | `/instances/{instance_id}/auth/users/{user_id}` | Delete a user from the sign-in engine (confirm = their email address) |
| POST | `/instances/{instance_id}/engines/postgres/query` | Run one SQL statement and get the rows; the SQL console's mode decides whether… |
| GET | `/instances/{instance_id}/engines/postgres/connections` | Who holds a Postgres connection: by role, application_name and state, against… |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/lathe-live/openapi/lathe-live-engines-api-openapi.yml

## Other Lathe APIs (9)

- [Lathe Access API](https://apis.io/apis/lathe-live/lathe-live-access-api/)
- [Lathe Account API](https://apis.io/apis/lathe-live/lathe-live-account-api/)
- [Lathe Actions API](https://apis.io/apis/lathe-live/lathe-live-actions-api/)
- [Lathe Analytics API](https://apis.io/apis/lathe-live/lathe-live-analytics-api/)
- [Lathe Apps API](https://apis.io/apis/lathe-live/lathe-live-apps-api/)
- [Lathe Catalogue API](https://apis.io/apis/lathe-live/lathe-live-catalogue-api/)
- [Lathe Instances API](https://apis.io/apis/lathe-live/lathe-live-instances-api/)
- [Lathe Jobs API](https://apis.io/apis/lathe-live/lathe-live-jobs-api/)
- [Lathe Webhooks API](https://apis.io/apis/lathe-live/lathe-live-webhooks-api/)

## Tags

Engines

## Use this from code or an agent

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