Listing and getting projects
project get prints the same fields plus the default environment and environment count. --page-size <n> (1–100, default 25), --starting-token <token> (the nextToken printed under a full page) and --max-items <n> page through results.
Creating a project
project create --local exits 7 (local-origin-requires-v3), your account is not on the current project platform yet: create the project in the Portal or with --url.
A backend project can be created without --url, but on the V3 execution path its first run fails with exit 5 (no-target-resolvable) until you run testsprite project update <project-id> --url <url>. Check your routing with testsprite auth status.
Updating a project
5. It accepts the same flags as create (--name, --url, --local, --skip-preflight, --username, --password, --password-file, --instruction, --test-id-attributes, --idempotency-key) plus --clear-test-id-attributes, which removes the list so the engine falls back to data-testid; --test-id-attributes replaces it. --local is frontend only; some older projects cannot be switched and exit 7 (local-origin-requires-native-project), so create a new project with --local.
For separate deployment targets, use named environments (project env create, --env, --target-url), which also cover plan limits.
Backend test credentials
Inject auth into every backend test run, either a static credential or an auto-refreshed token:Where to Go Next
Creating Tests
Author a frontend plan or backend code file
Running Tests
Trigger runs and poll for verdicts