Assignment history for one device
The full assignment history for one device, newest-first. Each
entry covers a single block of usage, from when the device was
assigned to a person or place to when that assignment closed
(or null for the currently-open one).
Use this to scope the readings export to a specific block:
- Find the assignment you care about here.
- Pass its
assignment_idtoGET /v1/devices/{device_id}/readings?assignment_id=<id>.
Up to 50 assignments per call. If a device has more (long-
lived devices that rotated many times), use the next_cursor
the same way the readings endpoint does.
Documentation Index
Fetch the complete documentation index at: https://dev.1st.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your API key. Create one at dashboard.1st.app/integrations/api-keys.
Path Parameters
The UUID of the device you want. You get a device's ID from
GET /v1/devices (look at the device_id field) or by
copying it from the dashboard URL.
"8a72a1c7-3c91-4f5b-b39e-1d2c4e3f5a7b"
Query Parameters
For devices with more than 50 historical assignments. On
your first call, leave empty. If the response includes
next_cursor, send that value back here for the next
page. Repeat until next_cursor is null.
"eyJ0ZWFtX2lkIjoi..."