Skip to content

login

Authenticate with Polygraph.

If token is provided, uses headless token login; otherwise runs the CLI default interactive login flow. After logging in, use whoami to verify the authenticated state.

NameTypeRequiredDescription
tokenstringnoOptional pre-provisioned Polygraph personal access token. If omitted, the CLI runs its default login flow.