Test area
Every account has a test area: a separate, private copy of the account where you can try scripts, CI jobs and AI agents without touching your real firmware, devices and log files. When you're done, or when it gets messy, reset it.
What it is
If your account is example.com, its test area is example.com.test. It works exactly
like your account:
- the same API, console, upload and update-check rules (write-once builds, version ordering, tags, general releases);
- its own firmware, release notes, log files, devices and tags, which start empty;
- its own API tokens.
The two are completely separate. A test-area token can't read or change anything in
example.com, and an example.com token can't see the test area. The .test top-level
domain is reserved for testing, so it can never clash with a real account.
Members are shared: everyone in example.com has the same role in the test area. Members
are managed in example.com.
Using it
In the console: choose example.com.test in the account switcher at the top, or open
Test area in the menu and click Open the test area. A yellow banner shows while you're
in it.
From scripts: create a token for the test area on the API tokens page (Works in: example.com.test), or with the API:
curl -X POST https://fw.unitcircle.ca/tokens -b cookies.txt -H 'X-CSRF-Token: YOUR_CSRF_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"name": "ci test", "bundle": "uploader", "area": "test"}'
Then use that token exactly as you would a production token. For example, upload a build and see what a device would be offered:
curl -X PUT https://fw.unitcircle.ca/firmware -H "Authorization: Bearer YOUR_TEST_AREA_TOKEN" \
-F firmware=@build/demo.bin -F notes=@NOTES.md -F general_release=true
# what would a device on 0.0.0 be offered?
curl https://fw.unitcircle.ca/firmware/example.com.test/example-hw/2.0.0/demo/0.0.0
Devices and simulators check for updates at /firmware/example.com.test/….
Resetting
A reset deletes all firmware, log files, devices and tags in the test area. Its tokens keep working, so your scripts can run again from an empty test area. Your production account is never affected.
- Console: Test area → Reset the test area (owners and editors).
- API:
POST /test-area/resetwith a test-area token that hasfw:write(reference). Production tokens can't reset it.
Every reset is recorded in the activity log of both the test area and the account.
Limits
| Default | |
|---|---|
| Stored (firmware, notes and log files) | 500 MB |
| Firmware builds | 200 |
| Log files | 2,000 |
| Devices | 1,000 |
| Upload size | the same as production |
An upload or new device beyond a limit is refused with 409 and a message saying which
limit was reached. Reset the test area, or ask us for a higher limit.
Idle test areas are reset automatically. If a test area with data in it isn't used for 90 days, it is reset. The account owners are emailed a week before; any request to the test area before then keeps it.
Test areas are not backed up. Keep anything you need in production.