Signing in
pinecall login and whoami: this machine signed in once, and who the key is.
login#
pinecall login [gateway-url] [--no-open]
login prints a link and opens it. You sign in there — in a browser, where a password belongs,
where the browser autofills it and a password manager holds it — and the page hands this terminal a
key of its own: minted for you, labelled as this machine, revoked on its own from the API keys
screen. Nothing types a password into a shell, and the day your org signs in with Google this verb
does not change.
$ pinecall login https://pinecall.miempresa.com
open this to sign in:
https://pinecall.miempresa.com/cli?c=cli_…
waiting…
signed in to https://pinecall.miempresa.com as Ana García · org clinica
what this runtime gives your agents
ears openai/deepdml/faster-whisper-large-v3-turbo-ct2 served here
thinking openai/nemotron-3.5-lightning:30b-a3b served here
voice cartesia needs a key
a stage that needs a key: pinecall providers add <vendor>
Once per machine and gateway, and every verb runs on it. The key is proved at /v1/whoami and
kept in ~/.pinecall/session.json with the org it acts in. It chooses no org: you may belong to
many, and each project names its own in its pinecall.json (where the key comes
from). Signing in again at a gateway replaces the
sign-in there and drops the keys minted from the old one. After it, the gateway says what it gives
your agents a stage at a time (GET /v1/providers/advice): an open model it serves, a vendor it
lends, your org's own key, or one your org must bring; a gateway that does not say is left out.
With no URL it is https://cloud.pinecall.io, and it says so above the link, so a person who meant
their own platform sees the assumption before anything is kept. The key opens both environments of
that gateway; the sandbox keeps no password of its own. The word in the link dies in ten minutes
and on first collection; a terminal with no browser, or --no-open, prints the same link and you open it from
wherever you are. A runtime on this machine (pinecall-runtime setup) signs it in by itself, and a
server has no login at all: it runs on a server's token from the console's API keys screen, kept in
its secrets as PINECALL_KEY (Production).
whoami#
pinecall whoami [--prod]
Each fact said once, a label a line. Where, on the first: the gateway every verb finds
(above) by its host, the org the key is in (its slug, or
its id when the gateway carries none) and the environment this command acts in — the sandbox, or
production with --prod. key: its id and the label it was issued under. from: where it came from
(the environment, the project's .env, or your sign-in). opens: a person's key both environments, the sandbox without --prod and production with it while
their switch is on, and the sandbox alone until an admin turns the switch on; a server's token the one
its prefix names. The exit code is 0 when the gateway said who the key is, and 2 when it refused, in
its words, when there is no key, or when it answers 404 — as every refusal of the gateway is
(exit codes). The key itself is neither printed nor sent anywhere else.
$ pinecall whoami
cloud.pinecall.io · org clinica · sandbox
key k_4f2a1d9c66b30e17 · ana-macbook
from your sign-in (~/.pinecall/session.json)
opens the sandbox, and production with --prod: a person's key