Skip to main content

Account, Billing, and API Keys

Use Settings to manage your account, execution machines, billing state, API keys, and app preferences.

Account​

The account section includes profile, subscription, credits, and connected OAuth accounts.

Profile​

In Settings -> Profile, you can update:

  • Avatar
  • Username
  • Email address

Usernames and email addresses must be unique. If another account already uses the value, the app shows a validation error.

OAuth Accounts​

Connected OAuth accounts let Agentrix access providers such as GitHub or GitLab on your behalf. Repository mode uses these connections to list repositories, issues, and merge requests.

If repository access fails, return to Settings and confirm the expected OAuth account is connected.

Subscription​

Open Settings -> Subscription to view your current plan and available plans. When billing is configured for the deployment, this screen can:

  • Show the current plan, renewal or expiry date, monthly price, and included credits.
  • Open the customer portal to manage an active subscription.
  • Start checkout for a new plan.
  • Show plan features and highlight the popular plan when configured.

If the screen says subscription features are not configured, the deployment administrator has not enabled billing for that environment.

Credits​

Open Settings -> Credits to see account balance, active credit packages, and transaction history.

The credits screen shows:

  • Total current balance.
  • Active credit buckets and expiry dates.
  • Recharge options when credit packages are available.
  • Transaction history for recharge and usage events.

Refresh the screen if a recent payment or usage event has not appeared yet. The app also listens for billing updates over WebSocket while the credits screen is open.

Devices​

Local Machines​

Open Settings -> Local Machines to see machines bound to your account. The list shows online status, host information, platform, and CLI version where available.

You can unbind a local machine from this screen. Unbinding removes the machine's association with your account. The next agentrix start on that machine needs authentication again.

Private Clouds​

Open Settings -> Private Clouds to create and manage team runner pools. Private Clouds are covered in detail in Private Cloud Setup.

Preferences​

The preferences section lets you adjust:

  • Layout
  • Theme and appearance
  • Language

These preferences affect the app UI only. They do not change daemon behavior.

Privacy​

Open Settings -> Privacy to view, copy, or change the local account entry password used by the app's encryption and restore flows.

Treat this password as sensitive. Anyone with the password and the required account context may be able to restore protected data.

API Keys​

API keys are used by automation such as agentrix-run, GitHub Actions, GitLab CI, and custom scripts.

Open Settings -> API Keys to:

  • Create a key with a name.
  • Copy the key once from the reveal modal.
  • See the key prefix, last-used time, expiry, and enabled state.
  • Delete keys you no longer use.

Store API keys in a secret manager or CI secret store. Agentrix only shows the full key immediately after creation.

Common Read-Only Endpoints Available With API Keys​

An API key can be used as a bearer token for these common read-only endpoints. Some endpoints return secrets, encryption keys, or credential-bearing URLs; treat those values as sensitive:

Authorization: Bearer YOUR_API_KEY
AreaEndpointDescription
AccountGET /v1/auth/meGet the current user profile, OAuth accounts, and Git server accounts.
API KeysGET /v1/api-keysList API key metadata for the current account. Full keys are not returned again.
BillingGET /v1/billing/balanceGet the current credits balance.
BillingGET /v1/billing/packagesList credit packages for the current account.
BillingGET /v1/billing/transactionsList billing transactions for the current account.
BillingGET /v1/billing/transactions/task/:taskIdList billing transactions for a task.
BillingGET /v1/billing/statsGet account usage statistics.
SubscriptionGET /v1/subscriptionGet the current subscription and entitlement.
ConfigGET /v1/openapi-configGet the LLM gateway base URL, default API key, and model configuration. Treat the response as sensitive.
Environment VariablesGET /v1/environment-variablesGet environment variables for an owner. The current account must own that owner.
Local MachinesGET /v1/machinesList local machines, cloud runners, and private cloud runners available to the current account. Local machine entries include the account's dataEncryptionKey.
Local MachinesGET /v1/machines/:machineId/modelsList models currently available on an online local machine.
Private CloudsGET /v1/machines/clouds/:cloudId/modelsList models currently available on an online private cloud runner.
Private CloudsGET /v1/private-cloudsList private clouds joined by the current account and private cloud entitlement.
Private CloudsGET /v1/private-clouds/:id/machinesList runner machines for a private cloud.
Private CloudsGET /v1/private-clouds/:id/membersList private cloud members.
Private CloudsGET /v1/private-clouds/:id/runner-secretGet the runner secret. Only owners or admins should call this endpoint; treat the value as a secret.
Auth RequestsGET /v1/auth/machine/statusGet approval status for a local machine auth request.
Auth RequestsGET /v1/auth/cloudGet the approval result for a private cloud join request.
Auth RequestsGET /v1/auth/cloud/statusGet pending status for a private cloud join request.
WorkspacesGET /v1/workspacesList workspaces for the current account.
ChatsGET /v1/chatsList chats available to the current account.
ChatsGET /v1/chats/:chatIdGet chat details.
ChatsGET /v1/chats/:chatId/membersList chat members.
ChatsGET /v1/chats/:chatId/tasksList tasks in a chat.
TasksGET /v1/tasksList tasks.
TasksGET /v1/tasks/:taskIdGet task details.
TasksGET /v1/tasks/:taskId/eventsQuery task event history.
TasksGET /v1/tasks/:taskId/patchGet a task patch.
TasksGET /v1/tasks/:taskId/project/*Read project files from a task workspace.
TasksGET /v1/tasks/:taskId/channel-attachmentRead a channel attachment.
TasksGET /v1/tasks/sub-tasksList direct sub-tasks.
TasksGET /v1/tasks/recentList recent tasks.
TasksGET /v1/tasks/find-by-agentFind an existing task by agent.
RepositoriesGET /v1/inboxList repository inbox items for the current account.
RepositoriesGET /v1/repos/install-urlGet a GitHub App installation URL.
RepositoriesGET /v1/reposList repositories authorized for the current account.
RepositoriesGET /v1/repos/:repoIdGet repository details by repository ID.
RepositoriesGET /v1/repos/:repoId/inboxList inbox items for a repository.
RepositoriesGET /v1/repos/:owner/:repoGet repository details by owner/name.
RepositoriesGET /v1/repos/:owner/:repo/git-urlGet an authenticated Git URL. Treat the URL as sensitive.
RepositoriesGET /v1/repos/:owner/:repo/branchesList branches.
RepositoriesGET /v1/repos/:owner/:repo/issuesList issues.
RepositoriesGET /v1/repos/:owner/:repo/issues/:numberGet issue details.
RepositoriesGET /v1/repos/:owner/:repo/issues/:number/commentsList issue comments.
RepositoriesGET /v1/repos/:owner/:repo/referencesList issues, pull requests, or merge requests.
RepositoriesGET /v1/repos/:owner/:repo/references/:numberGet reference details.
RepositoriesGET /v1/repos/:owner/:repo/references/:number/commentsList reference comments.
RepositoriesGET /v1/repos/:owner/:repo/references/:number/inline-commentsList inline comments.
RepositoriesGET /v1/repos/:owner/:repo/references/:number/activityList reference activity.
RepositoriesGET /v1/repos/:owner/:repo/references/:number/diffGet reference diff.
Git integrationsGET /v1/git-serversList available Git servers.
Git integrationsGET /v1/git-servers/:gitServerIdGet Git server details.
Git integrationsGET /v1/git-servers/:gitServerId/appsList Git server apps.
Git integrationsGET /v1/git-appsList Git apps for the current account.
Git integrationsGET /v1/git-apps/:appId/repositoriesList repositories under a Git app.
FilesGET /v1/filesList files for the current account.
FilesGET /v1/files/:fileIdGet a redirect URL for an accessible file download.
ContactsGET /v1/contactsList contacts.
ContactsGET /v1/contacts/candidatesSearch contact candidates.
AgentsGET /v1/agentsList agents.
AgentsGET /v1/agents/user/:userIdList agents published by a user.
AgentsGET /v1/user-agentsList current account agents and draft agents.
AgentsGET /v1/agents/:agentIdGet agent details.
AgentsGET /v1/agents/:agentId/git-urlGet a published agent's Git URL. Treat the URL as sensitive.
HiveGET /v1/hive/meList Hive listings you published.
HiveGET /v1/hive/installedList Hive listings you installed.

Some public browsing endpoints do not require an API key, including GET /v1/resources, GET /v1/hive/listings, GET /v1/hive/listings/:id, and GET /v1/hive/trending.

Safe API Key Rotation​

  1. Create a new key with a clear name, for example github-actions-agentrix.
  2. Update the CI secret or automation environment.
  3. Run the automation once and confirm the new key works.
  4. Delete the old key from Settings -> API Keys.

For agentrix-run, set the key through AGENTRIX_API_KEY or the GitHub Action api-key input. See agentrix-run for CI examples.