# 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.2.1/get-started/http.md.

Call the Hermitbox HTTP API directly with `curl` and a project 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"
```

This reads configuration; it does not create a sandbox. Create requests must respect the
reported tier: images need containers, while process and Wasm refuse them. The
[API reference](https://docs.hermitbox.dev/v0.2.1/reference/api.md) describes lifecycle operations, capabilities, errors and webhook signing.
