P

primitive CLI

CLI discovered

Details
Command
primitive
Docs
https://docs.primitive.dev/docs/cli
Authentication
Primitive OAuth public client + user grant oauth2 discovered $ primitive login

Acquired by the CLI — running primitive login opens the auth flow and stores the credential.

Primitive API key api_key discovered Get key ↗
env PRIMITIVE_API_KEY

Create an API key in Settings → API Keys. For headless agents, you can also mint one with the unauthenticated POST https://api.primitive.dev/v1/agent/accounts flow described in auth.md. Use the returned prim_... value as a Bearer token.