---
title: "List"
method: GET
path: "/tracking/geofence_templates/list/v1"
tags: ["/tracking", "/tracking/geofence_templates"]
---

# List

`GET /tracking/geofence_templates/list/v1`

Lists geofence templates for the caller's organization. | authz: min_org_role=operator | () -> (GeofenceTemplateListRes)

## Query parameters

- `sort_by` 'created_at_timestamp' | 'last_edited_at_timestamp' | 'last_used_at_timestamp' | 'name'
- `sort_order` 'asc' | 'desc' — Sort order for query results
- `page` integer
- `page_size` integer
- `filter_archived` boolean — Include archived templates instead of active templates.
- `filter_owned_by_user_id` string, nullable — Must be a string starting with `user_`
- `filter_created_at_timestamp_gte` string, date-time, nullable — Filter created_at_timestamp >= value.
- `filter_created_at_timestamp_lte` string, date-time, nullable — Filter created_at_timestamp <= value.
- `filter_last_edited_at_timestamp_gte` string, date-time, nullable — Filter last_edited_at_timestamp >= value.
- `filter_last_edited_at_timestamp_lte` string, date-time, nullable — Filter last_edited_at_timestamp <= value.
- `filter_last_used_at_timestamp_gte` string, date-time, nullable — Filter last_used_at_timestamp >= value.
- `filter_last_used_at_timestamp_lte` string, date-time, nullable — Filter last_used_at_timestamp <= value.

## Response `200`

Successful Response

- GeofenceTemplateListRes
  - `items` SessionGeofenceTemplate1[], required
    - `schema_version` 1, required
    - `name` string, required
    - `description` string, nullable
    - `geofences` SessionGeofenceBase1[], required — unresolved $ref
    - `_id` string, required
    - `owned_by_org_id` string, required — Must be a string starting with `org_`
    - `owned_by_user_id` string, required — Must be a string starting with `user_`
    - `created_at_timestamp` string, date-time, required
    - `last_edited_at_timestamp` string, date-time, required
    - `last_used_at_timestamp` string, date-time, nullable
    - `archived_at_timestamp` string, date-time, nullable
  - `total_count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
