---
title: "Get Rules Summary"
method: GET
path: "/datamates/{datamate_id}/rules/summary"
tags: ["WORKSPACE_RULES"]
---

# Get Rules Summary

`GET /datamates/{datamate_id}/rules/summary`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/datamates/{datamate_id}/rules/summary`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/myaltimate/apis/myaltimate-api/docs/datamates/:datamate_id/rules/summary/get.ts> (a function with typed inputs; its response is checked against the schema)

Counts per sub-tab, the settings, and whether the caller owns the
workspace.

## Path parameters

- `datamate_id` integer, required

## Response `200`

Successful Response

- RulesSummary: The tab badge and header meta, and the settings for the page.
  - `is_owner` boolean, required
  - `owner_name` string, nullable
  - `settings` RuleSettings, required
    - `learning_enabled` boolean, required
    - `include_quotes` boolean, required
    - `share_across_repos` boolean, required
  - `revision` integer, required
  - `pending_count` integer, required
  - `active_count` integer, required
  - `history_count` integer, required

## Other responses

- `403`: Not the workspace's owner
- `404`: Workspace or rule not found
- `409`: Changed since read, or refused
- `422`: Validation Error

## Changes

- **2026-11-03** `868dfab8c7fe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/datamates/:datamate_id/rules/summary/get.md)

---

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