auth token
Prints your session's bearer token and nothing else, so you can capture it in a shell and call the Octri API directly. It fails if you aren't signed in.
The token is a credential. Don't paste it into tickets or chat, and don't commit it.
bash
octri auth tokenExamples
Call the API with curl
bash
curl -H "Authorization: Bearer $(octri auth token)" https://api.octri.dev/api/v1/projectsRelated
octri auth whoami: Print the signed-in user, organisation, plan, role and selected project.octri keys: API keys for CI and scripts: create, list and revoke.