# Plans and Pricing Source: https://docs.tester.army/account/plans-and-pricing TesterArmy plans - monthly test run limits, what happens at the limit, and how to manage or cancel a subscription. > [!NOTE] > > TesterArmy is winding down, so new plans and upgrades are no longer sold. Teams keep the plan they > have, and existing workspaces keep working until January 15, 2027. TesterArmy bills by the test run. Each plan includes a fixed number of test runs per month, so the number of members, projects, or minutes does not change your price. ## Compare plans | Plan | Price | Test runs / month | Concurrent runs | Projects | | - | - | - | - | - | | **Free** | \$0 | 5 | 1 | 2 | | **Hobby** | \$99 / month or \$1,000 / year | 250 | 3 | 2 | | **Startup** | \$299 / month or \$3,000 / year | 1,000 | 10 | 5 | | **Enterprise** | Custom | Custom | Custom | Custom | Every plan includes unlimited members, web and mobile testing, and every integration: GitHub, Slack, webhooks, the CLI, the API, and the MCP server. Enterprise adds SSO / SAML, SLA support through Slack Connect, onboarding help, and custom integrations. ## Understand what counts as a test run A test run is one execution of one test. It counts the same way from every entry point: the dashboard, the [CLI](/cli), the API, a [GitHub pull request](/integrations/github), a [schedule](/run/production-monitoring), a [webhook](/run/group-webhooks), or the [MCP server](/cli/mcp). * A run can execute for up to 20 minutes. * A run counts whether the test passes or fails, because the agent did the work either way. * A run that is canceled before it starts does not count. * Running a group of 12 tests uses 12 runs. * Creating or editing a test uses no runs. Mobile app uploads do not use runs. ## Understand how limits work Plans belong to a team. Every project in the team shares one subscription and one run limit. Your run count resets on the 1st of each month at 00:00 UTC. This is the same for monthly and yearly plans, so the reset date is not your billing date. Your plan sets the number of runs that can execute at the same time. If you start more runs than this number, TesterArmy puts the extra runs in a queue. Each queued run starts when a running run stops. Queued runs do not fail, and they do not use extra runs. ## What happens at the limit There are no overage charges. When you reach your monthly limit, new runs are blocked until the 1st of the next month. Runs that are already in progress finish normally. * The dashboard shows a **Monthly limit reached** dialog with your reset date. * The API, CLI, and webhooks return HTTP `429` with the error code `UsageLimitExceeded`. * GitHub pull requests get a comment that explains the block. PR testing resumes after the reset. Blocked runs are not product failures. Your tests and history are not affected. The team owner gets an email about the limit. Enterprise teams can email [hello@tester.army](mailto:hello@tester.army) to raise their limit. ## Check your usage Open **Settings → Usage and billing**. The **Test runs used** section shows runs used, runs left, and the next reset date. The usage bar in the dashboard header shows the same numbers. ## Manage your subscription Only a team owner or admin can manage billing. Other members see a message that asks them to contact an admin. New plans, upgrades, and plan switches are no longer available. **Manage subscription** opens the Stripe customer portal for your subscription. ### Cancel Open the **...** menu next to your plan and click **Cancel subscription**. Your plan stays active until the end of the paid period, then the team returns to the Free plan. Your tests, projects, and run history are kept. ## Manage invoices and payment Click **Check billing details** in **Settings → Usage and billing** to open the Stripe customer portal. It holds your invoices, card, billing email, and address. ## Referral bonus runs The referral program is closed. Bonus runs you already earned are used after your plan runs are used. They expire on their own date instead of resetting on the 1st. ## Is there a free trial? Every new team starts on the Free plan with 5 runs per month. No card is required and there is no time limit, so you can try TesterArmy end to end. ## Do unused runs roll over? No. Plan runs reset on the 1st of each month. Bonus runs from referrals are the exception, because they last until their own expiry date. ## Can I buy more runs? No. Plans and upgrades are no longer sold. Enterprise teams can email [hello@tester.army](mailto:hello@tester.army) about their limit. ## Do my teams share a plan? No. Each team has its own plan and its own limit. Only your first team gets the Free plan. Other teams need a paid plan to run tests: teams that already have one keep it, and new plans are no longer sold. ## Next steps > [card] [Quick Start](/get-started/quick-start) > > Run your first test with your free runs. > [card] [Run Mode](/run/run-mode) > > Learn how the concurrency limit affects group runs. # Team Members Source: https://docs.tester.army/account/team-members Invite teammates to your TesterArmy workspace, choose their role, share a team invite link, transfer ownership, and manage multiple workspaces. A workspace (also called a team) holds your projects, tests, runs, and billing. Everyone in a workspace sees the same projects. Every plan includes unlimited members, see [Plans and Pricing](/account/plans-and-pricing). Open **Settings** from the workspace menu at the top of the sidebar. The workspace group has three tabs: | Tab | What it holds | | - | - | | **General** | Workspace image, **Name**, **Slug**, the **Workspace ID** used with the CLI, API, and MCP server, and **Export data** | | **Members** | Current members, pending invitations, and **Leave workspace** | | **Usage and billing** | Plan, run usage, and subscription | ## Roles | Role | Permissions | | - | - | | **Owner** | Everything an admin can do, plus **Transfer ownership** and **Delete workspace**. Each workspace has one owner. | | **Admin** | Full access, plus members, billing and settings: invite and remove members, change roles, manage the team invite link, edit workspace settings, and change the plan. | | **User** | Can create, edit and run tests in every project of the workspace. | Owner is not a role you can invite with. Ownership is only transferred. ## Invite members 1. Open **Settings → Members** and click **Invite**, or choose **Invite members** from the workspace menu. 2. Under **Invite by email**, type an address and press space or enter. Add as many addresses as you need. 3. Pick **Admin** or **User** from the role dropdown in the email field. 4. Click **Send invites**. Each address gets an email with a link to join. Invitations expire after 7 days, and the invitee must sign in with the address the invitation was sent to. If some addresses fail, for example because the person is already a member or was already invited, the dialog lists them with the reason and keeps them in the field so you can fix and resend. Pending invitations appear under **Invited** on the **Members** tab. Open the **...** menu on an invitation to **Resend invitation**, **Copy invite link**, or **Cancel invitation**. An expired invitation cannot be resent: cancel it and send a new one. ### Team invite link Turn on **Team invite link** in the **Invite members** dialog to get a shareable link. Anyone with the link can join your workspace with the User role. The link expires after 7 days. Turning the switch off deactivates the current link, and turning it on again creates a new one. ## Change a role or remove a member Owners and admins can open the **...** menu next to any member except the owner and themselves: * Choose **Admin** or **User** to change the role. * Choose **Remove from team** to remove the member. They lose access to all workspace projects. ## Transfer ownership Only the owner can transfer ownership. Open the **...** menu next to a member and click **Transfer ownership**. The new owner takes over, your role changes to admin, and only the new owner can transfer ownership back or delete the workspace. ## Leave a workspace Admins and users can leave from **Settings → Members** with **Leave workspace**. You lose access to its projects and need a new invitation to rejoin. * You cannot leave your last workspace. Join another workspace first. * The owner cannot leave. Transfer ownership first, or delete the workspace. ## Multiple workspaces You can belong to several workspaces. Open the workspace menu at the top of the sidebar to switch between them. Additional workspaces cannot be created while TesterArmy winds down; signup still creates your default one. Each workspace has its own plan and run limit. Only your first workspace gets the Free plan; other workspaces need a paid plan to run tests. Workspaces that already have one keep it, and new plans are no longer sold. See [Plans and Pricing](/account/plans-and-pricing). The owner can delete a workspace under **Settings → General** with **Delete workspace**. Your default workspace cannot be deleted, and a workspace with an active subscription must cancel it first. ## Export workspace data Owners and admins can download a copy of the workspace from **Settings → General** with **Export data**. The JSON file holds the members, projects, environments, tests and their steps, groups, schedules, project memory, issues, and a summary of every run from the last 90 days. Passwords, API keys, integration tokens, and run recordings are not included; test accounts appear by label and username only. Older runs and full run detail are available through the [API](/api-reference). ## CLI, API, and MCP Workspace members and invitations are managed in the dashboard only. API keys are created for one workspace, so the [CLI](/cli) and the API act on the workspace the key belongs to. In the [MCP server](/cli/mcp), team-scoped tools default to your only workspace; when you belong to several, the `list_teams` tool returns their IDs to pass as `teamId`. The same ID is shown as **Workspace ID** under **Settings → General**. # Get the current user Source: https://docs.tester.army/api-reference/account/get-the-current-user /openapi.json get /v1/me The authenticated user and the workspaces the credential can act on. An API key lists only its own workspace. Works before a workspace is chosen, so `teamId` is null for a user-scoped token that names none while the user belongs to several. # Submit product feedback Source: https://docs.tester.army/api-reference/feedback/submit-product-feedback /openapi.json post /v1/feedback Report a problem with TesterArmy itself (not the app under test): a broken or confusing tool, misleading docs, or a missing capability. Intended for coding agents driving TesterArmy through the CLI or API; the MCP server exposes the same report as `submit_feedback`. Delivered to the TesterArmy team. # Add a test to a group Source: https://docs.tester.army/api-reference/groups/add-a-test-to-a-group /openapi.json post /v1/groups/{groupId}/tests Add an existing test to a test group. Returns 201 when a new membership row was created, or 200 with `added: false` when the test was already a member (idempotent). # Create a test group Source: https://docs.tester.army/api-reference/groups/create-a-test-group /openapi.json post /v1/groups Create a test group in a project. Capped at 100 groups per project. # Create or replace a group's schedule Source: https://docs.tester.army/api-reference/groups/create-or-replace-a-groups-schedule /openapi.json put /v1/groups/{groupId}/schedule Create the group's recurring schedule, or replace the existing one in place. Every time the schedule fires, a run of each enabled test in the group is queued. The scheduler entry is updated before the stored schedule, so a rejected cron leaves the current schedule running. Returns 201 when the group had no schedule and 200 when one was replaced. Web projects only: a mobile project's group returns 400. # Delete a group's schedule Source: https://docs.tester.army/api-reference/groups/delete-a-groups-schedule /openapi.json delete /v1/groups/{groupId}/schedule Remove the group's recurring schedule so it only runs manually. Idempotent: `deleted` is `false` when the group had no schedule. # Delete a test group Source: https://docs.tester.army/api-reference/groups/delete-a-test-group /openapi.json delete /v1/groups/{groupId} Delete a non-default test group. The default group cannot be deleted. # Get a group's schedule Source: https://docs.tester.army/api-reference/groups/get-a-groups-schedule /openapi.json get /v1/groups/{groupId}/schedule Get the recurring schedule of a test group. A group holds at most one schedule; `schedule` is `null` when the group only runs manually. # Get a test group Source: https://docs.tester.army/api-reference/groups/get-a-test-group /openapi.json get /v1/groups/{groupId} Get a single test group by ID. # List test groups Source: https://docs.tester.army/api-reference/groups/list-test-groups /openapi.json get /v1/groups List test groups for a project. The default All Tests group is always returned and new tests are added to it at creation time. # Remove a test from a group Source: https://docs.tester.army/api-reference/groups/remove-a-test-from-a-group /openapi.json delete /v1/groups/{groupId}/tests/{testId} Remove a test from a test group. The group's prepTestId is left alone, because a preparation test does not have to be a member of the group it prepares. `removed` is `true` when a membership row was deleted, `false` when the test was not a member (idempotent). # Trigger a test group run Source: https://docs.tester.army/api-reference/groups/trigger-a-test-group-run /openapi.json post /v1/groups/{groupId}/runs Trigger all runnable tests in a group using API-key authentication. Returns the batch ID plus `queuedRunIds` (runs accepted onto the worker) and `cancelledRunIds` (runs the server immediately cancelled, e.g. duplicates or quota cancellations). `status` is `queued` when at least one run is queued and `cancelled` when every run was rejected. # Update a test group Source: https://docs.tester.army/api-reference/groups/update-a-test-group /openapi.json patch /v1/groups/{groupId} Update name, runMode, maxConcurrentRuns, or prepTestId on a test group. # API Overview Source: https://docs.tester.army/api-reference/introduction Authenticate against the TesterArmy REST API with an API key, then create projects and tests, queue runs, and read results from your own tooling. The TesterArmy API exposes the same projects, tests, groups, and runs you manage in the dashboard. Use it to wire TesterArmy into CI, internal tools, or an agent that cannot use the dashboard. ## Base URL All endpoints live under a single origin: ```text theme={"theme":"vesper"} https://tester.army/api ``` The OpenAPI document is served at [`/openapi.json`](https://docs.tester.army/openapi.json) and is the source of every endpoint page in this reference. ## Authentication Every request carries an [API key](/auth/api-keys) as a bearer token: ```bash theme={"theme":"vesper"} curl https://tester.army/api/v1/projects \ -H "Authorization: Bearer $TESTERARMY_API_KEY" ``` Keys are scoped to the team that created them. A key never sees projects, tests, or runs that belong to another team. > [!NOTE] > > Coding agents can authenticate without a dashboard-issued key by following > [https://tester.army/auth.md](https://tester.army/auth.md). The [MCP server](/cli/mcp) and the > [CLI](/cli) call the same API on your behalf. ## Responses and errors Responses are JSON. Errors return a JSON body with an `error` code and a human-readable `message`, for example `{ "error": "NoMobileApp", "message": "..." }`. Status codes are conventional: `400` for a body that fails validation, `401` for a missing or revoked key, `403` for a resource outside the key's team, `404` for an unknown id, `409` for a conflict with the current state (for example cancelling a finished run), `422` for a valid request that cannot run (for example no uploaded mobile app or a platform mismatch), and `429` for rate limits or `UsageLimitExceeded` when the team is out of monthly runs. ## Where to start > [card] [Trigger a test run](/api-reference/tests/trigger-a-test-run) > > Queue a saved test and poll its status. > [card] [Signed group webhooks](/run/group-webhooks) > > Fire a whole group from any CI or deployment provider without an API key. > [card] [CLI](/cli) > > Drive the same API from a terminal or a coding agent. > [card] [MCP server](/cli/mcp) > > Connect Claude, Cursor, or any MCP client directly to TesterArmy. # Confirm a project file upload Source: https://docs.tester.army/api-reference/projects/confirm-a-project-file-upload /openapi.json put /v1/projects/{projectId}/files Verify uploaded bytes and register the file on the project. # Confirm a project mobile app upload Source: https://docs.tester.army/api-reference/projects/confirm-a-project-mobile-app-upload /openapi.json post /v1/projects/{projectId}/mobile/upload/confirm Validate a completed temporary upload and promote it into project storage. # Create a project Source: https://docs.tester.army/api-reference/projects/create-a-project /openapi.json post /v1/projects Create a project for the authenticated API key's team. # Create a project credential Source: https://docs.tester.army/api-reference/projects/create-a-project-credential /openapi.json post /v1/projects/{projectId}/credentials Create a login or inbox credential for a project. Passwords are not returned. # Create a project environment Source: https://docs.tester.army/api-reference/projects/create-a-project-environment /openapi.json post /v1/projects/{projectId}/environments Create a static project environment with a stable HTTPS URL. Built-in Production and PR Preview environments are managed by TesterArmy. # Create a project memory Source: https://docs.tester.army/api-reference/projects/create-a-project-memory /openapi.json post /v1/projects/{projectId}/memories Create a manual project memory that agents can use as project context. # Delete a project Source: https://docs.tester.army/api-reference/projects/delete-a-project /openapi.json delete /v1/projects/{projectId} Delete a project. Cascades to groups, tests, runs, and associated artifacts. # Delete a project environment Source: https://docs.tester.army/api-reference/projects/delete-a-project-environment /openapi.json delete /v1/projects/{projectId}/environments/{environmentId} Delete a static project environment. Built-in Production and PR Preview environments are not deletable. # Delete a project memory Source: https://docs.tester.army/api-reference/projects/delete-a-project-memory /openapi.json delete /v1/projects/{projectId}/memories/{memoryId} Delete a manual project memory used as agent context. # Delete a project mobile app Source: https://docs.tester.army/api-reference/projects/delete-a-project-mobile-app /openapi.json delete /v1/projects/{projectId}/mobile/{appId} Delete a previously uploaded mobile app from a mobile project. # Get a project Source: https://docs.tester.army/api-reference/projects/get-a-project /openapi.json get /v1/projects/{projectId} Get a single project by ID or shortId. # Get a project issue Source: https://docs.tester.army/api-reference/projects/get-a-project-issue /openapi.json get /v1/projects/{projectId}/issues/{issueId} Get one tracked issue with its full details and recent run occurrences: which runs surfaced it and when. # Initiate a project file upload Source: https://docs.tester.army/api-reference/projects/initiate-a-project-file-upload /openapi.json post /v1/projects/{projectId}/files Validate a project file and create a presigned direct-upload URL. Mobile projects only accept photos and videos (.png, .jpg, .jpeg, .mp4, .mov); runs preload them into the device photo library. # Initiate a project mobile app upload Source: https://docs.tester.army/api-reference/projects/initiate-a-project-mobile-app-upload /openapi.json post /v1/projects/{projectId}/mobile/upload Create a presigned temporary upload for a mobile app binary. # List project credentials Source: https://docs.tester.army/api-reference/projects/list-project-credentials /openapi.json get /v1/projects/{projectId}/credentials List credentials for a project. Passwords are not returned. # List project environments Source: https://docs.tester.army/api-reference/projects/list-project-environments /openapi.json get /v1/projects/{projectId}/environments List all run environments for a project, including built-in Production and PR Preview plus static environments. # List project files Source: https://docs.tester.army/api-reference/projects/list-project-files /openapi.json get /v1/projects/{projectId}/files List uploaded files for a project. # List project issues Source: https://docs.tester.army/api-reference/projects/list-project-issues /openapi.json get /v1/projects/{projectId}/issues List a project's tracked issues: bugs and warnings surfaced by QA runs, deduplicated across runs with occurrence counts and triage status. Open issues sort first, then by most recently seen. # List project memories Source: https://docs.tester.army/api-reference/projects/list-project-memories /openapi.json get /v1/projects/{projectId}/memories List manual project memories used as context for dashboard tests and agents. # List project mobile apps Source: https://docs.tester.army/api-reference/projects/list-project-mobile-apps /openapi.json get /v1/projects/{projectId}/mobile List uploaded mobile apps for a mobile project. # List projects Source: https://docs.tester.army/api-reference/projects/list-projects /openapi.json get /v1/projects List projects available to the authenticated API key's team. # Trigger a discovery run Source: https://docs.tester.army/api-reference/projects/trigger-a-discovery-run /openapi.json post /v1/projects/{projectId}/discovery-runs Queue a free-roam discovery run: the QA agent gets only a goal, decides what to test itself, and reports every bug it finds. Supports web, iOS, and Android; mobile platforms explore the uploaded app. FAILED means bugs were found. # Trigger a pull request exploration run Source: https://docs.tester.army/api-reference/projects/trigger-a-pull-request-exploration-run /openapi.json post /v1/projects/{projectId}/pull-request-runs Trigger the PR exploration agent from CI using PR metadata. Callers do not send changed files; TesterArmy enriches with changed files and GitHub reporting only when the project has a supported GitHub connection. # Update a project Source: https://docs.tester.army/api-reference/projects/update-a-project /openapi.json patch /v1/projects/{projectId} Update project name, URL, description, or settings. # Upload a project mobile app Source: https://docs.tester.army/api-reference/projects/upload-a-project-mobile-app /openapi.json post /v1/projects/{projectId}/mobile Upload a mobile app binary to a mobile project. Optionally set removeAfter to delete temporary uploads after a delay. # Cancel a queued or running batch Source: https://docs.tester.army/api-reference/test-runs/cancel-a-queued-or-running-batch /openapi.json post /v1/batches/{batchId}/cancel Cancel all queued or running runs in a prior group-run batch. Finished runs are left unchanged, making the endpoint idempotent when the batch has already completed. # Cancel a queued or running run Source: https://docs.tester.army/api-reference/test-runs/cancel-a-queued-or-running-run /openapi.json post /v1/runs/{id}/cancel Cancel a queued or running test run. # Get a run recording download URL Source: https://docs.tester.army/api-reference/test-runs/get-a-run-recording-download-url /openapi.json get /v1/runs/{id}/recording/download-url Get a short-lived signed URL that downloads the run's screen recording (MP4), plus its file name and size. Use this instead of the streaming endpoint when the client should hand the link off rather than hold the bytes. Recordings become available after the run finishes; cancelled runs and runs without a recording return 404. # Get batch JUnit XML report Source: https://docs.tester.army/api-reference/test-runs/get-batch-junit-xml-report /openapi.json get /v1/batches/{batchId}/junit Download the batch as a JUnit XML report for CI test reporters and test management tools such as TestRail (`trcli parse_junit -f report.xml`). Preparation runs are omitted. Returns 409 until every run has finished unless `allowIncomplete=true` is set. # Get batch status Source: https://docs.tester.army/api-reference/test-runs/get-batch-status /openapi.json get /v1/batches/{batchId} Retrieve the aggregate status of a group-run batch with per-run verdicts. Poll this endpoint to track batch completion, then fetch individual runs (or `GET /v1/runs?batchId=...`) for details. # Get run agent transcript Source: https://docs.tester.army/api-reference/test-runs/get-run-agent-transcript /openapi.json get /v1/runs/{id}/messages Retrieve the full agent transcript for a run: assistant reasoning, tool calls, and tool outputs in execution order. Use this to understand exactly what the agent did and why a step failed. Credential-bearing tool parts are redacted. # Get run console and network logs Source: https://docs.tester.army/api-reference/test-runs/get-run-console-and-network-logs /openapi.json get /v1/runs/{id}/telemetry Retrieve console logs and network requests captured during a run. Use this to debug failures: console errors, failed requests, and 4xx/5xx responses with redacted header and JSON body previews. Web runs capture browser console and network activity; mobile runs of an uploaded app capture the app's logs (Android logcat, iOS stdout/stderr) as console entries with no network entries. Telemetry becomes available after the run finishes; runs with nothing captured return 404. # Get run JUnit XML report Source: https://docs.tester.army/api-reference/test-runs/get-run-junit-xml-report /openapi.json get /v1/runs/{id}/junit Download a single run as a one-case JUnit XML report, in the same shape as the batch report. Returns 409 until the run has finished unless `allowIncomplete=true` is set, and 422 for a group's preparation run, which is not a test case. # Get run screen recording Source: https://docs.tester.army/api-reference/test-runs/get-run-screen-recording /openapi.json get /v1/runs/{id}/recording Stream the screen recording (MP4) captured during a run. Supports HTTP Range requests for seeking and partial downloads. Recordings become available after the run finishes; cancelled runs and runs without a recording return 404. # Get test run status Source: https://docs.tester.army/api-reference/test-runs/get-test-run-status /openapi.json get /v1/runs/{id} Retrieve the current status and result of a test run. Poll this endpoint to check for completion. # List test runs Source: https://docs.tester.army/api-reference/test-runs/list-test-runs /openapi.json get /v1/runs List test runs for the authenticated team with optional project/status filtering and cursor pagination. # Re-run a batch Source: https://docs.tester.army/api-reference/test-runs/re-run-a-batch /openapi.json post /v1/batches/{batchId}/rerun Create a new group-run batch from the runnable tests in a prior batch. Deleted, disabled, or malformed tests are skipped and returned as `skippedTestIds`. # Create a test Source: https://docs.tester.army/api-reference/tests/create-a-test /openapi.json post /v1/tests Create a structured test definition for a project. # Delete a test Source: https://docs.tester.army/api-reference/tests/delete-a-test /openapi.json delete /v1/tests/{testId} Delete a structured test definition. # Get a test Source: https://docs.tester.army/api-reference/tests/get-a-test /openapi.json get /v1/tests/{testId} Get a single structured test definition, including the groups it belongs to. # List tests Source: https://docs.tester.army/api-reference/tests/list-tests /openapi.json get /v1/tests List tests for a project, optionally scoped to a test group. Use `cursor` for pagination; the response includes `nextCursor` when more pages exist. # Trigger a test run Source: https://docs.tester.army/api-reference/tests/trigger-a-test-run /openapi.json post /v1/tests/{testId}/runs Trigger a saved dashboard test remotely using API-key authentication. Returns the queued run ID. # Update a test Source: https://docs.tester.army/api-reference/tests/update-a-test /openapi.json patch /v1/tests/{testId} Update a structured test definition. `settings` is merged field by field; every other field replaces its stored value. # Trigger a group webhook Source: https://docs.tester.army/api-reference/webhooks/trigger-a-group-webhook /openapi.json post /v1/groups/webhook/{webhookId}/{secret} Trigger all runnable tests in a group from a signed webhook URL. # Trigger a project webhook Source: https://docs.tester.army/api-reference/webhooks/trigger-a-project-webhook /openapi.json post /v1/webhook/{webhookId}/{secret} Receive a deployment webhook and trigger PR testing when configured. # Agent Mail Inboxes Source: https://docs.tester.army/auth/agent-mail-inboxes Test email verification flows with temporary inboxes. The AI agent reads incoming email and extracts OTP codes and verification links automatically. TesterArmy can generate temporary email inboxes for your tests. This is useful for flows that require email verification - sign ups, OTP codes, password resets, invitation links. Each test run can create a fresh inbox or reuse a static one assigned to the project. The agent reads incoming emails, extracts verification codes or links, and continues the test flow automatically. ## How it works 1. The agent creates an inbox (e.g., `test-abc123@inbox.testerarmy.com`) 2. Signs up or triggers an email-based flow using that address 3. Waits for the email to arrive 4. Reads the email content, extracts the OTP code or verification link 5. Continues the test (enters the code, clicks the link) ## Static inboxes You can assign a permanent inbox to your project under **Project → Test Accounts**. This is useful when you need to re-use the same email across multiple test runs (e.g., testing login for an already-registered account). You can also view the emails a saved inbox has received: open **Project → Test Accounts** and click **View emails** on the inbox. This is handy for checking OTP codes or verification links yourself while debugging a test. # API Keys Source: https://docs.tester.army/auth/api-keys Create and manage TesterArmy API keys to authenticate CLI, CI, and API requests. Use API keys to authenticate CLI, CI, and programmatic API requests. ## Create an API key 1. Open **Settings → API Keys** in the TesterArmy dashboard. 2. Click **New key** (**Add new key** if you have none yet), then **Create Key**. 3. Copy the key and store it in your secret manager or CI environment. API keys are shown once. If you lose a key, revoke it and create a new one. ## Bearer token format Send the key in the `Authorization` header: ```bash theme={"theme":"vesper"} curl https://tester.army/api/v1/runs \ -H "Authorization: Bearer $TESTERARMY_API_KEY" ``` On your own machine, the CLI does not need an API key: `ta auth` signs you in through the browser (see [CLI](/cli)). For CI and other unattended callers, set: ```bash theme={"theme":"vesper"} export TESTERARMY_API_KEY="YOUR_KEY" ``` ## Agent tokens An AI agent that cannot use the dashboard can authenticate without an API key by following [https://tester.army/auth.md](https://tester.army/auth.md): it registers an identity with WorkOS, you approve it once by signing in and reading back the code shown on the claim page, and it exchanges the result for a short-lived access token. That token is sent in the same `Authorization: Bearer` header and acts as you. Agent tokens and `ta auth` sign-ins name you, not a workspace. If you belong to several workspaces, send the one to act on in the `x-testerarmy-team` header (its ID or slug); `GET /api/v1/me` lists them. The CLI does this for you. An API key belongs to one workspace and ignores the header. Use an API key instead when the caller is CI or anything else nobody can approve a sign-in for. ## Troubleshooting ### `401 Unauthorized` The API key is missing, malformed, revoked, or belongs to a user who no longer has access to the team. Check that: 1. The header is exactly `Authorization: Bearer YOUR_KEY`. 2. The key comes from **Settings → API Keys**. 3. The key has not been revoked. 4. The user who created the key still belongs to the team. ### Rotate a key 1. Create a new key. 2. Update your CLI, CI, or secret manager. 3. Confirm requests work with the new key. 4. Revoke the old key. # HTTP Basic Auth Source: https://docs.tester.army/auth/basic-auth Save HTTP Basic Auth credentials so the TesterArmy agent can access protected staging and preview sites during test runs. If your staging or preview site is behind HTTP Basic Authentication, save credentials in TesterArmy so the AI agent can access it during test runs. ![HTTP Basic Auth browser prompt](https://mintcdn.com/tester-army/cxPvc8T8okiKYoP3/images/basic-auth.png?fit=max\&auto=format\&n=cxPvc8T8okiKYoP3\&q=85\&s=c79302368fcc0b60fc9b279ecf72e8ad) ## Setup 1. Go to **Integrations → Site Protection**. 2. Click **Set up** on the HTTP Basic Auth card. 3. Enter the **username** and **password**. 4. Click **Save**. Credentials are stored encrypted and sent automatically with every test run for that project. ## Troubleshooting ### Basic auth prompt still appears Check that the credentials are saved under **Integrations → Site Protection**, not under app test accounts. ### `401 Unauthorized` The saved HTTP Basic Auth username or password is likely wrong. Confirm the same credentials work in a normal browser, update the Site Protection settings, and retry the run. ### App login still fails HTTP Basic Auth only unlocks the site before the app loads. If the app itself has a login form, also add [Test Credentials](/auth/credentials). # Cloudflare Zero Trust Source: https://docs.tester.army/auth/cloudflare-zero-trust Let TesterArmy test sites protected by Cloudflare Zero Trust using a service token or bypass policy. If your site sits behind Cloudflare Zero Trust (Access), the TesterArmy browser is blocked at the edge before your app ever loads. Save the bypass headers in TesterArmy and they will be sent on every request to your deployment host so tests can reach the application. ## When you need this You need this when your site is protected by a Cloudflare Access application and you see one of: * A Cloudflare Access login screen instead of your app. * HTTP `401`, `403`, or a Cloudflare-branded block page on the deployment host. * Tests pass locally with your own browser session but fail in TesterArmy at the very first navigation. You do **not** need this for: * HTTP Basic Auth - use [HTTP Basic Auth](/auth/basic-auth). * App-level login (your own login form) - use [Test Credentials](/auth/credentials). ## Pick a bypass method Cloudflare supports two ways to let an automated client through Access. Either works with TesterArmy. ### Option A - Service tokens (recommended) A service token is a Client ID + Client Secret pair generated in the Cloudflare dashboard. Your Access policy must include a **Service Auth** rule that allows this token. 1. In Cloudflare: **Zero Trust → Access → Service Auth → Service Tokens → Create Service Token**. Set a name and a duration. 2. Copy the **Client ID** and **Client Secret**. The secret is shown only once. 3. Open the Access application that protects your site: **Access → Applications → \ → Policies → Add policy**. 4. Set **Action: Service Auth** and add an **Include** rule of type **Service Token** matching the token you just created. Save. The token now grants access when these two headers are present on the request: ``` CF-Access-Client-Id: CF-Access-Client-Secret: ``` ### Option B - Bypass policy with a custom header Use this if you cannot create a service token (for example, you only manage one Access application and prefer a single shared secret). 1. In Cloudflare: open the Access application → **Policies → Add policy**. 2. Set **Action: Bypass**. 3. Add an **Include** rule of type **HTTP header** with a header name and value of your choice - e.g. `X-Tester-Army-Bypass` equals a long random secret. Save. Cloudflare will allow any request that carries that exact header. In TesterArmy you save it as a [custom header](/auth/custom-headers). ## Save the headers in TesterArmy 1. Go to **Integrations → Site Protection**. 2. Click **Set up** on the Cloudflare Zero Trust card. 3. Enter the header pair(s): * **Service tokens**: fill `CF-Access-Client-Id` and `CF-Access-Client-Secret` in the two default rows. * **Bypass policy**: leave the default service-token rows blank and add your header name and value as a [custom header](/auth/custom-headers). 4. Click **Save headers**. # Test Credentials Source: https://docs.tester.army/auth/credentials Save encrypted login credentials per project so the AI agent authenticates automatically during test runs, with multiple roles, OAuth, MFA (TOTP), and environment overrides. Save login credentials in your project so the AI agent can authenticate automatically during test runs. No passwords in test prompts. ## Adding credentials 1. Go to **Project → Test Accounts** 2. Click **Add Credential** 3. Choose an auth method and fill in the required fields: * **Label** - identifies the credential (e.g., "admin", "viewer") * **When to use** - optional description the AI agent reads when choosing between credentials (see below) * **Username** - email or username * **Password** - stored encrypted * **Authenticator secret** - optional, for accounts behind authenticator-app MFA * **Login instructions** - required only for custom auth 4. Click **Save** You can add multiple credentials per project for different roles (admin, regular user, read-only viewer, etc.). You can also add credentials for Google and GitHub OAuth flows. ## Limits * A project can store up to **50 credentials**. Past that, adding another one fails until you delete some. * Each run passes at most **20 credentials** to the agent. Every credential in that list is read before the agent's first action, so large lists slow runs down and make account selection unreliable. When a project has more than 20, the run keeps every credential selected on a login step and fills the rest of the list with the most recently created ones. If a test needs a specific account, select it on the login step. Pinned credentials are always available to the agent, regardless of how many the project stores. ## Telling the agent when to use each credential When a project has several credentials, exploration agent runs pick which account to sign in with. The **When to use** description is the strongest signal for that choice: use it to document the account's type, which features or plans are enabled on it, and which environments it exists in. Good descriptions look like: * "Admin account on the premium plan with all feature flags enabled. Exists on production and every preview database." * "Free-tier account - use for signup, billing, and plan-upgrade flows only." * "Only exists on the main staging database; preview databases do not have this account." Without descriptions, the agent falls back to matching labels against the target environment and the PR topic, which cannot know that an account lacks a feature or is missing from an isolated preview database. If a saved credential is missing or rejected during a run, see [Auth Troubleshooting](/auth/troubleshooting). ## MFA / authenticator codes (TOTP) If the test account requires a one-time code from an authenticator app (Google Authenticator, 1Password, Authy, etc.), save its **authenticator secret** on the credential. This is the base32 setup key shown during MFA enrollment - usually behind a "can't scan the QR code?" link - and pasting the full `otpauth://` URI from the QR code also works. During runs the agent generates a fresh 6-digit code from the secret at the moment it fills the MFA prompt, the same way a password manager does. The secret is stored encrypted like a password, and neither the secret nor the generated codes are exposed to the AI model or shown in run transcripts. To stop generating codes for a credential, edit it and click **Remove** next to the authenticator secret, then save. For email or SMS one-time codes (rather than authenticator apps), use a [saved inbox](/auth/agent-mail-inboxes) or [SMS phone number](/auth/sms-phone-numbers) instead. ## Environment overrides If the same account role uses different login details on staging, preview, or another saved [environment](/guides/environments), edit the credential and add an environment override. The test still references the same credential, such as "admin", but TesterArmy automatically uses the environment-specific username, password, or login instructions for runs targeting that environment. Production uses the default credential and does not support environment overrides. Leave override fields blank to inherit the default credential. Clear an override to return that environment to the default values. Webhook and API-triggered runs must pass `projectEnvironmentId` for these overrides to apply. Copy the environment ID from **Project Settings → Test environments**, or read it from `GET /api/v1/projects/{projectId}`. Passing only `environment: "staging"` changes the Results label, but it does not select saved environment credentials. ## Custom auth Use **Custom** when your app has an auth flow TesterArmy does not handle directly, such as: * A staging bypass link or test-only route * Unsupported SSO * An extra access-code step before the normal login form * A multi-step flow that needs app-specific instructions Write clear login instructions for the agent, for example: “Open `/staging-login`, click the test-only bypass link, enter the access code shown on the page, then continue to the dashboard.” **Login instructions** are encrypted at rest, but they are sent to the AI agent during a run and may appear in run traces and logs. Use the username/password auth method when you need to store reusable login secrets, and never put production credentials in login instructions. # Custom Headers Source: https://docs.tester.army/auth/custom-headers Send project-level custom HTTP headers with every test request to reach protected deployments, satisfy bypass policies, or tag TesterArmy traffic. Custom headers are project-level HTTP headers that TesterArmy sends with every request to the target URL host during test runs. Use them to reach preview or staging deployments, satisfy a bypass policy, or tag TesterArmy requests so your app can recognize them. Headers are only sent to the host of your target URL. Requests to other hosts (third-party scripts, OAuth providers) are not intercepted, so header values never leave your deployment. ## Add custom headers 1. Go to **Integrations → Site Protection**. 2. Click **Set up** on the Custom Headers card. 3. Add a header name and value for each header your deployment needs. 4. Click **Save headers**. Headers are stored encrypted and sent automatically for all test runs in that project. ## Identifying TesterArmy traffic During test runs, TesterArmy always sends an `X-TesterArmy: true` header with requests to the target URL host, so your app can tell TesterArmy traffic apart from real users. If you define your own custom header named `X-TesterArmy`, your value is sent instead. ## Cloudflare Access If your site is protected by Cloudflare Zero Trust (Access), see [Cloudflare Zero Trust](/auth/cloudflare-zero-trust) for setting up service tokens or a bypass policy that works together with custom headers. # SMS Phone Numbers Source: https://docs.tester.army/auth/sms-phone-numbers Give the AI agent a real phone number to test SMS verification flows - sign-ups, SMS OTP login, and phone confirmation - with a dedicated number per project. TesterArmy can give the agent a real phone number for your tests. This is useful for flows that require SMS verification - sign ups, SMS OTP login, phone number confirmation. SMS phone numbers are enabled per workspace. If your team needs them, contact us and we will turn the feature on for you. Each project gets one dedicated test phone number. It is provisioned the first time a test needs it and then stays the same across runs, so the agent can also log back into accounts it registered with that number in earlier tests. ## How it works 1. The agent requests the project's test phone number (provisioned automatically on first use) 2. Enters that number in the app to trigger the SMS 3. Waits for the SMS to arrive 4. Reads the message, extracts the OTP code or link 5. Continues the test (enters the code, clicks the link) Only messages received during the current run are visible to the agent, so a code from a previous test can never be mistaken for a fresh one. ## Saving it as a test account In **Project → Test Accounts → Add Credential**, pick **Phone / SMS OTP** and give it a name. This saves the project's number as a regular test account, so you can select it on login steps in your test plans just like any other credential. The agent fills the number into phone fields and reads the incoming verification code automatically. To see what the number received, click **View messages** on the phone credential in **Test Accounts**. ## Notes * Numbers are US or Canadian (+1). If your app restricts sign-ups by country or carrier, whitelist the test number in your test environment. * SMS delivery usually takes a few seconds; the agent polls and continues as soon as the message arrives. If the SMS never arrives, the step fails and the run reports it as a bug. * The agent never guesses verification codes. If a code does not arrive or the message is missing the code, the step fails. # Auth Troubleshooting Source: https://docs.tester.army/auth/troubleshooting Fix authentication failures in test runs: missing or rejected credentials, email and OTP login, SMS verification, and OAuth issues. Use this page when a test cannot authenticate into the app under test. ## Missing login credentials If a test has a login step but no saved credential is available, add one under **Project → Test Accounts**. See [Test Credentials](/auth/credentials). ## Saved credential rejected If the app rejects a saved username or password: 1. Confirm the credential works in a normal browser. 2. Update the saved credential in TesterArmy. 3. Check whether the account is locked, expired, or requires password reset. 4. Retry the run. ## Email and OTP login For magic links, OTP codes, invitations, or password resets sent by email, use an Agent Mail inbox. See [Agent Mail Inboxes](/auth/agent-mail-inboxes). ## Phone and SMS OTP login For flows that verify a phone number or send login codes by SMS, the agent can use a real test phone number and read the verification code from the incoming message. See [SMS Phone Numbers](/auth/sms-phone-numbers). ## Unsupported auth blockers Some auth flows need product or environment changes before an agent can complete them reliably: * CAPTCHA or bot challenges * MFA that needs a push approval or codes sent to a device TesterArmy does not control (authenticator codes via a saved [authenticator secret](/auth/credentials), email, and SMS to a TesterArmy number are supported) * Device approval prompts * SSO policies that block automated browsers Create a dedicated QA account or staging auth path for automated testing. ## HTTP Basic Auth If the browser shows an HTTP Basic Auth prompt before your app loads, configure site protection credentials instead of app login credentials. See [HTTP Basic Auth](/auth/basic-auth). # Vercel Preview Deployments Source: https://docs.tester.army/auth/vercel-preview-deployments Add a Vercel Protection Bypass for Automation token so TesterArmy can test password-protected preview deployments. Vercel Deployment Protection can show an authentication page before TesterArmy reaches your application. Add a Protection Bypass for Automation token so browser tests can access protected preview deployments. This is separate from connecting Vercel for automatic pull request testing. See the [Vercel integration](/integrations/vercel) if TesterArmy is not receiving preview deployments yet. ## Create a bypass token 1. Open the project in Vercel. 2. Go to **Project Settings → Deployment Protection → Protection Bypass for Automation**. 3. Create and copy the token. ![Vercel Protection Bypass for Automation](https://mintcdn.com/tester-army/cxPvc8T8okiKYoP3/images/vercel-protection-bypass-automation.png?fit=max\&auto=format\&n=cxPvc8T8okiKYoP3\&q=85\&s=2ecac4b7262821df0c75fecca6f12126) ## Add the token to TesterArmy 1. Open the matching project in TesterArmy. 2. Go to **Integrations → Vercel**. 3. Connect Vercel and select the matching Vercel project if you have not already done so. 4. Paste and save the bypass token. 5. Retry a test against the protected preview URL. TesterArmy applies the token automatically when a web test navigates to the exact deployment host. Vercel sets a bypass cookie on the first request, so later navigation remains authenticated without putting the token in test steps. The token is not sent to third-party hosts, OAuth providers, or other Vercel projects. ## Custom domains TesterArmy applies the bypass to the host in the run's target URL. If the run uses a custom domain, confirm that the domain belongs to the protected Vercel deployment and that the run targets that domain. ## Troubleshooting ### The Vercel authentication page still appears 1. Confirm the token is active under the selected Vercel project's Deployment Protection settings. 2. Confirm TesterArmy is connected to the same Vercel project. 3. If the token was regenerated in Vercel, replace the saved value in TesterArmy. 4. Confirm the run targets the expected Vercel deployment or attached custom domain. 5. Retry the run. ### Disconnecting Vercel did not remove the bypass The saved token remains available to web runs until it is cleared. Disconnect the Vercel integration and clear the bypass token to stop using it completely. ### Mobile tests Vercel bypass tokens apply only to browser-based web tests. Native mobile tests do not load a Vercel deployment URL and ignore this setting. # Getting Started Source: https://docs.tester.army/cli Install and use the TesterArmy CLI (ta) - an agent-first control plane for managing projects, environments, and tests, and queueing runs in TesterArmy cloud. `testerarmy` (alias `ta`) is an agent-first control plane for the TesterArmy dashboard. Use it to manage projects, environments, credentials, and saved tests, and to queue remote runs that execute in TesterArmy cloud. It works standalone for interactive use or as a skill for coding agents like Claude Code, Codex, and OpenCode. Your coding agent orchestrates dashboard-managed QA to validate changes - keeping the feedback loop tight without polluting main agent context. ## Install ```bash theme={"theme":"vesper"} npm install -g testerarmy ``` Or use without installing: ```bash theme={"theme":"vesper"} npx testerarmy --help ``` Both `testerarmy` and `ta` map to the same CLI. ## Agent workflow Agents can discover the full flow from `ta --help`. The usual path is: ```bash theme={"theme":"vesper"} ta auth echo '{"name":"Example","url":"https://example.com","projectType":"web"}' | ta projects create --json ta projects list --json ta projects environments-create --name Staging --url https://staging.example.com --json echo '{"category":"site_structure","title":"Auth route","content":"Login is at /login","importance":"high"}' | ta memories create --project --json ta memories delete --project --json echo '{"title":"Login flow","steps":[{"title":"Navigate to /login","type":"act"},{"title":"Dashboard loads","type":"assert"}]}' | ta tests create --project --json ta tests run --wait --json ta tests run --env staging --wait --json ``` `ta tests run` queues a run in TesterArmy cloud. For development targets, save a reachable preview or tunnel URL as a project environment and select it with `--env`. If something in TesterArmy itself breaks, misleads, or is missing, the agent can tell us directly. Reports go to the TesterArmy team, not to your project: ```bash theme={"theme":"vesper"} ta feedback --type bug --message "tests run --env ignored" --task "Run smoke on staging" --expected "Run targets staging" --actual "Run targeted production" --tool "ta tests run" --json ``` `--type` is `bug`, `docs`, `feature`, or `other` (default). Run `ta feedback --help` for every field. ## Agent skill (recommended) If you use a coding agent, install the official skill for tighter integration: ```bash theme={"theme":"vesper"} npx skills add tester-army/cli ``` This gives your agent structured instructions for running tests, interpreting results, and iterating on failures. Repository: [github.com/tester-army/cli](https://github.com/tester-army/cli) ## Authenticate Run `ta auth` to sign in through your browser: ```bash theme={"theme":"vesper"} ta auth ``` The CLI prints a one-time code and opens a sign-in page. Check that the code matches your terminal, sign in, and approve. If you belong to several workspaces, the CLI then asks which one to use. The CLI keeps you signed in and renews its access on its own; the session ends after 30 days without use. The link is always printed too, so you can open it on another device. Over SSH the CLI does not try to open a browser; pass `--no-browser` to skip it anywhere else. To pick the workspace up front, or to switch later without signing in again: ```bash theme={"theme":"vesper"} ta auth --team my-workspace ``` `--team` takes the workspace's slug, ID, or name. Coding agents and other tools that run the CLI without an interactive terminal use `--device`. It prints the link and code as plain lines, then waits for someone to approve. Combine it with `--team` when the account has several workspaces: ```bash theme={"theme":"vesper"} ta auth --device --team my-workspace ``` `ta signout` ends the session and removes it from `~/.config/testerarmy/config.json`. ### Use an API key instead For CI, or anywhere nobody can approve a browser sign-in, use an API key. Create one in the TesterArmy dashboard under **Settings → API Keys**; a key belongs to one workspace. Pass it directly, or run `ta auth --api-key` without a value to paste it into a hidden prompt: ```bash theme={"theme":"vesper"} ta auth --api-key YOUR_KEY ``` Or set it as an environment variable, which takes precedence over a stored sign-in: ```bash theme={"theme":"vesper"} export TESTERARMY_API_KEY="YOUR_KEY" ``` For API key troubleshooting and Bearer token examples, see [API Keys](/auth/api-keys). ## Verify ```bash theme={"theme":"vesper"} ta status ``` Use `--json` for machine-readable output: ```bash theme={"theme":"vesper"} ta status --json ``` ## Sign out ```bash theme={"theme":"vesper"} ta signout # or ta logout ``` ## Connect your editor Working in Cursor, VS Code, Windsurf, Claude Code, Codex, or another agent add-mcp supports? One command writes the hosted [MCP server](/cli/mcp) into every coding agent it finds, so your agent can create tests, start runs, and read failures without leaving the editor: ```bash theme={"theme":"vesper"} npx add-mcp --global --name testerarmy https://tester.army/mcp ``` ## Next steps > [card] [Local Development](/cli/local-dev) > > Test dev changes through a preview or tunnel URL. > [card] [Agentic Usage](/cli/agentic-usage) > > Give your coding agent the CLI and let it create projects, memories, tests, and runs. > [card] [Environments](/guides/environments) > > Create stable staging or QA targets for remote runs. > [card] [Command Reference](/cli/commands) > > Every command and its key flags. # Agentic Usage Source: https://docs.tester.army/cli/agentic-usage Give coding agents like Claude Code, Cursor, and Codex access to the TesterArmy CLI to set up projects, save tests, and queue remote QA runs. Give your coding agent access to the TesterArmy CLI when you want it to set up and run QA without leaving your development loop. The CLI is a control plane for the TesterArmy dashboard: agents use it to manage projects, environments, and saved tests, and to queue remote runs that execute in TesterArmy cloud. The CLI is designed to be self-discoverable. Agents should start with `ta agent init` and `ta docs` instead of scraping long help output. `ta docs` prints task-oriented command routing, and `--json` returns structured output for automation. ## What agents can do With an API key, an agent can: * create and list projects * create and delete static project environments (`--name`/`--url` flags) * save project memories as durable testing context * create dashboard tests * create test groups and add or remove tests * list and create project credentials, and list project files * queue remote dashboard runs (default) and target saved environments with `--env` * validate development changes against a saved preview or tunnel environment with `--env` * wait for, cancel, and inspect remote runs * upload iOS Simulator apps and Android artifacts for mobile tests * report TesterArmy bugs, misleading docs, or missing capabilities to the TesterArmy team with `ta feedback` ## Setup Install and authenticate once: ```bash theme={"theme":"vesper"} npm install -g testerarmy ta agent init ta auth ta status --json ``` For non-interactive sessions, set: ```bash theme={"theme":"vesper"} export TESTERARMY_API_KEY="YOUR_KEY" ``` For editor sessions in Cursor, VS Code, Windsurf, Claude Code, Codex, or any other MCP client, you can connect the hosted [MCP server](/cli/mcp) instead. It covers the same features as the CLI: ```bash theme={"theme":"vesper"} npx add-mcp --global --name testerarmy https://tester.army/mcp ``` ## Prompt your agent ```txt theme={"theme":"vesper"} Use TesterArmy CLI (`ta`) for QA. Start with `ta agent init`, then discover workflows with `ta docs --json` or `ta docs `. Use `--json` for automation; on failure, follow `error.hint`. Report commands, run IDs, results, and artifacts. ``` ## Useful entrypoints ```bash theme={"theme":"vesper"} ta agent init ta docs ta docs --json ta docs agent ta docs mcp ta docs auth ta docs projects ta docs memories ta docs tests ta docs groups ta docs runs ta docs issues ta docs discover ta docs ci ta docs feedback ``` ## Safety * API keys have full access to their workspace, so keep them in a secret manager * prefer `--json` for agent-readable output * use JSON error envelopes to decide the next action instead of parsing text * avoid putting secrets in shell history * ask before deleting projects, environments, memories, or tests # CLI Command Reference Source: https://docs.tester.army/cli/commands Every testerarmy / ta command and its key flags - auth, projects, environments, credentials, groups, tests, runs, batches, memories, mobile uploads, and CI. This page lists the full `ta` command surface. For install and sign-in, see [Getting Started](/cli). Run `ta --help` for the complete options of any command. ## Shared flags Most commands accept these flags: | Flag | Purpose | | - | - | | `--json` | Print machine-readable JSON. Errors are also JSON when set | | `--api-key ` | Override the stored API key | | `--base-url ` | Override the API base URL (default `https://tester.army`) | Commands that create or update resources (`projects create`, `tests create`, `memories create`, and so on) read a JSON payload from stdin: ```bash theme={"theme":"vesper"} echo '{"name":"Smoke"}' | ta groups update --json ``` Project arguments accept either the project ID or its short ID. ## Setup and auth | Command | Purpose | | - | - | | `ta auth` | Sign in through the browser and choose a workspace. Flags: `--team`, `--device`, `--no-browser`, `--api-key [key]`, `--base-url` | | `ta status` | Show whether the CLI is authenticated, how (browser sign-in, stored key, or environment), and the workspace | | `ta signout` | End the browser sign-in or remove the stored API key. `ta logout` is an alias | | `ta agent init` | Install the public TesterArmy skill and add discovery hints to `AGENTS.md` | | `ta docs [topic]` | Print agent-friendly CLI docs. Topics: `agent`, `mcp`, `auth`, `projects`, `memories`, `tests`, `groups`, `runs`, `ci` | `ta agent init` accepts `--skip-skill-install` (only write `AGENTS.md`) and `--skip-agents-md` (only install the skill). Connecting an editor is not a `ta` command: run `npx add-mcp --global --name testerarmy https://tester.army/mcp` to write the hosted server into the coding agents on your machine. See [MCP Server](/cli/mcp). ## Projects | Command | Purpose | | - | - | | `ta projects list` | List team projects | | `ta projects get ` | Get one project | | `ta projects create` | Create a project from stdin JSON | | `ta projects update ` | Update a project from stdin JSON | | `ta projects delete ` | Delete a project | | `ta projects files ` | List project files | | `ta projects files-upload --file ` | Upload a file runs can use (max 50 MB; mobile projects take only `.png`, `.jpg`, `.jpeg`, `.mp4`, `.mov`). Flag: `--description` | | `ta projects apps ` | List a mobile project's uploaded app builds | | `ta projects apps-delete ` | Delete an uploaded app build | | `ta projects environments ` | List environments, including built-in Production and PR Preview | | `ta projects environments-create ` | Create a static environment. Flags: `--name`, `--url` (or stdin JSON) | | `ta projects environments-delete ` | Delete a static environment | | `ta projects credentials ` | List credentials with secrets masked | | `ta projects credentials-create ` | Create a `login` or `inbox` credential from stdin JSON | See [Environments](/guides/environments) and [Credentials](/auth/credentials). ## Memories | Command | Purpose | | - | - | | `ta memories list --project ` | List project memories | | `ta memories create --project ` | Create a memory from stdin JSON | | `ta memories delete --project ` | Delete a memory | Memory JSON fields: `category` (`site_structure`, `test_insights`, `user_preferences`), `title` (max 200 characters), `content`, `importance` (`high`, `medium`, `low`). See [Project Memory](/guides/project-memory). ## Groups | Command | Purpose | | - | - | | `ta groups list --project ` | List groups in a project | | `ta groups get ` | Get one group | | `ta groups create` | Create a group from stdin JSON (`projectId`, `name`) | | `ta groups update ` | Update a group from stdin JSON | | `ta groups delete ` | Delete a group. The default group cannot be deleted | | `ta groups add-test ` | Add an existing test to a group | | `ta groups remove-test ` | Remove a test from a group | | `ta groups schedule ` | Show the group's recurring schedule | | `ta groups schedule-set ` | Create or replace the group's schedule | | `ta groups schedule-delete ` | Remove the schedule so the group only runs manually | `schedule-set` takes `--frequency` (`every_1h`, `every_3h`, `every_6h`, `every_12h`, `daily`, `weekly`) with `--minute`, `--hour`, and `--day-of-week`, or `--cron "<5-field cron>"` for anything else. Add `--timezone` (default UTC), `--name`, and `--project-environment-id` (default Production). Schedules are for web projects. See [Production Monitoring](/run/production-monitoring). ## Tests | Command | Purpose | | - | - | | `ta tests list --project ` | List tests. Flags: `--group`, `--limit`, `--cursor`, `--all` | | `ta tests get ` | Get one test with its steps | | `ta tests create --project ` | Create a test from stdin JSON. `--group` adds it to a group | | `ta tests update ` | Update a test from stdin JSON. Sending `steps` replaces all steps | | `ta tests enable ` | Enable a test | | `ta tests disable ` | Disable a test without deleting it | | `ta tests delete ` | Delete a test | | `ta tests run [testId]` | Queue a cloud run for one test, or for a group with `--group` | Tests take 1-30 steps. See [Writing Test Steps](/guides/writing-test-steps) for step types. ### `ta tests run` flags | Flag | Purpose | | - | - | | `--wait` | Wait for the verdict instead of returning after queueing | | `--group ` | Run every test in a group. Requires `--project` | | `--env ` | Target a saved project environment | | `--project-environment-id ` | Target a saved environment by ID | | `--url ` | Target URL override for group runs | | `--environment