# Connect with plain HTTP

> Let your agent do it: Read my Hermitbox project over the HTTP API with `curl`. Use the API URL and project key the installer printed, or a server install's welcome page, and set them as `HERMITBOX_API_URL` and `HERMITBOX_API_KEY` in the shell's private environment. If you can't find them, ask me to set them; never copy the key into a file or this chat. Run the page's request and tell me the install's default tier. It only reads, so create no sandbox. Follow the exact steps in https://docs.hermitbox.dev/v0.3.2/get-started/http.md.

Call Hermitbox from any language that speaks HTTP. This page uses `curl` and your project key as a
bearer token.

1. Copy the API URL and project key the installer printed (or from a server install's welcome page).
2. Set `HERMITBOX_API_URL` and `HERMITBOX_API_KEY` in your shell's private environment.
3. Run this to read your project and the install's default tier.

```sh
curl --fail --silent --show-error "${HERMITBOX_API_URL%/}/v1/project" \
  --header "Authorization: Bearer $HERMITBOX_API_KEY"
```

The request only reads configuration, so it creates no sandbox. Create requests must respect the
reported tier: images need containers, and process and Wasm refuse them. The
[API reference](https://docs.hermitbox.dev/v0.3.2/reference/api.md) describes lifecycle operations, capabilities, errors and
webhook signing.
