---
title: "List the approved and proposed data reads of a rule-finding app"
method: GET
path: "/v1/apps/{id}/mining/templates"
tags: ["Apps"]
---

# List the approved and proposed data reads of a rule-finding app

`GET /v1/apps/{id}/mining/templates`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/apps/{id}/mining/templates`
- Auth: HTTP bearer

Every read the app may run over a connected database to find and check business rules, oldest first, whatever its state (`pending`, `approved`, `revoked`). Nothing unapproved ever runs. Requires the `read` access tier on the app.

## Path parameters

- `id` string, uuid, required

## Response `200`

The app's data reads.

- object
  - `templates` AppRulesTemplate[]
    - `id` string, uuid
    - `app_id` string, uuid
    - `name` string
    - `connection_id` string, uuid
    - `sql_text` string
    - `sql_hash` string: Hex SHA-256 of the statement; a changed statement is a new read and needs a new approval.
    - `params_schema` object, nullable
    - `key_column` string
    - `columns` string[], nullable
    - `watermark_column` string, nullable
    - `max_rows` integer
    - `feature_row` boolean
    - `state` 'pending' | 'approved' | 'revoked'
    - `proposed_by` string, nullable
    - `proposed_in_round` string, uuid, nullable
    - `approved_by` string, nullable
    - `approved_at` string, date-time, nullable
    - `created_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/apps/:id/mining/templates/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
