List traffic sensors
Lists the gallery's physical visitor-traffic sensors with cursor pagination. Filter by `kind`, `location_id`, or `is_active`.
Lists the gallery's physical visitor-traffic sensors with cursor pagination. Filter by kind, location_id, or is_active.
Authorization
bearerAuth traffic:readA gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).
In: header
Scope: traffic:read
Query Parameters
Page size. Defaults to 20; the maximum is 100.
1 <= value <= 10020Opaque cursor from the previous page's next_cursor. Omit for the first page.
Filter to the given kind; the schema's enum lists the values.
Value in
- "pax_radio"
- "door_crossing"
- "zone_occupancy"
- "artwork_dwell"
Filter to the given location id.
Filter by active state.
Sort by one of: created (default created).
Value in
- "created"
Sort direction (default desc).
Value in
- "asc"
- "desc"
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{ "data": [ { "id": "string", "kind": "pax_radio", "label": "string", "location_id": "string", "artwork_id": "string", "device_id": "string", "calibration": { "property1": null, "property2": null }, "is_active": true, "livemode": true, "created_at": "string" } ], "next_cursor": "string"}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}{ "type": "../dictionary", "title": "string", "status": 0, "detail": "string", "code": "invalid_request", "retry": "permanent", "details": null}