S
Semaphore CLI
Details
- Command
-
sem - Docs
- https://docs.semaphore.io/reference/semaphore-cli
Authentication
Semaphore API token
$ sem connect <organization-url>.semaphoreci.com <API_TOKEN> + Semaphore service account API token $ sem connect <organization-url>.semaphoreci.com <API_TOKEN> discovered Get your token from your Semaphore account profile. In the web app, open your user menu, choose Profile settings, and under API Token use Reset API Token to mint a new one, or visit your Semaphore account page. The same token is used for the REST API, sem, sem-ai, and MCP token auth.
Service accounts must be enabled for your organization; request access via Service Accounts. Then in Semaphore open the organization People page, choose Create Service Account, assign a role, create it, and copy the token when shown. Service account tokens can only be viewed once and are used the same way as user API tokens.