Skip to content
Seaeye Docs

Get started

One froog account works everywhere: Seaeye, its dashboard at dash.seaeye.sh, the froog CLI and the API. Signing in the first time makes it.

Install the CLI

$ curl -fsSL https://froog.tech/install | sh

On macOS and Linux (and WSL). The installer checks the CLI's SHA-256 and puts it in ~/.local/bin. On Windows 10 or later, in PowerShell: irm https://froog.tech/install.ps1 | iex.

Sign in

$ froog login        # approve this computer in the browser

Sign in with Google, GitHub or a 6-digit code by email; each is a way into the same account. On a machine without a browser, pipe in an API key instead: echo "$FROOG_API_KEY" | froog login, or set FROOG_API_KEY.

Run a first job

$ froog github connect     # install the froog GitHub App, pick repositories
$ froog wallet pay 20      # job time comes from the prepaid wallet
$ froog seaeye migrate --write && git commit -am "CI on Seaeye" && git push
$ froog seaeye             # the job, as it queues, runs and finishes

Connecting GitHub installs the app on the repositories you pick. froog seaeye migrate changes runs-on: ubuntu-latest to runs-on: seaeye (or change it by hand). Jobs cost $0.0006 per vCPU per minute, per second, from your wallet; each start needs an hour of its job time there. The same steps are on the dashboard: GitHub, Funds and Seaeye at dash.seaeye.sh.

API keys

Scripts, other CI systems and agents use an API key. Create one on the dashboard's API keys page or with the CLI; it's shown once.

$ froog api-key create ci-stats --actions account.read --ttl 90d   # read runs, jobs and logs
$ froog api-key create github-ci --preset ci --ttl 90d             # for froog run in another CI

Reading Seaeye's runs, jobs and logs needs account.read; settings and monitors need account.admin. A key limited to some sandboxes, labels or environments can't read them (403 api_key_limited). More on keys and scopes.

The API

Seaeye's API name is https://api.seaeye.sh/v1: the same API, and the same account, as https://api.froog.tech/v1. Send the key as a bearer token; JSON in and out.

$ curl -s https://api.seaeye.sh/v1/seaeye/runs -H "Authorization: Bearer $FROOG_API_KEY"
$ curl -s https://api.seaeye.sh/v1/seaeye/jobs/seaeye_…/logs -H "Authorization: Bearer $FROOG_API_KEY"

Errors are {"error": {"code", "message", "request_id"}}. Rate limits, retries and every endpoint: froog's API reference and openapi.json.