> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptingcompany.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tracked URLs

> List, add, update, and remove the URLs TPC tracks for AI citations, and see which ones answer engines cite, from the TPC CLI.

# Tracked URLs

Tracked URLs are the pages TPC watches for citations in AI answers. Use `tpc tracked-urls` to see which of your pages answer engines cite most, and to manage the list. Pass `--scope <org-slug>/<product-slug>` to select the product.

Listing and metrics need a token or API key with the `analytics:read` scope. Adding, updating, and deleting need `content:write`.

## List tracked URLs

```bash theme={null}
tpc --scope pro-org/my-product tracked-urls list
tpc --scope pro-org/my-product tracked-urls list --category blog --page-size 25
tpc --scope pro-org/my-product tracked-urls list --from 2026-06-01 --to 2026-06-30
tpc --scope pro-org/my-product tracked-urls list --search pricing --format json
```

The list is ranked by citation count, highest first, so the pages answer engines reference most come first. Text output shows each URL's ID, URL, category, citations, mentions (unique conversations that cited it), and the date it was added, then the total.

| Flag | Description |
| - | - |
| `--sort-by` | `citation_count` (default), `unique_conversations`, or `created_at`. |
| `--sort-order` | `desc` (default) or `asc`. |
| `--page`, `--page-size` | One-based page number (default `1`) and URLs per page (default `10`). |
| `--category`, `--type` | Filter by content category or content type. |
| `--domain` | Only URLs on this exact domain, for example `docs.example.com`. |
| `--search` | Free-text search across URL and title. |
| `--view`, `--topic` | Scope citation counts to one view or one topic. Pass its ID. |
| `--from`, `--to` | Scope citation counts to this ISO date range. Pass both. |

## Summary metrics

```bash theme={null}
tpc --scope pro-org/my-product tracked-urls metrics
tpc --scope pro-org/my-product tracked-urls metrics --domain docs.example.com --format json
```

Prints the number of tracked URLs, the citation rate (the share of tracked URLs cited at least once, as a whole percentage), the top category, and total citations. It takes the same `--category`, `--type`, `--domain`, `--search`, `--view`, and `--topic` filters as `list`.

## Add a URL

```bash theme={null}
tpc --scope pro-org/my-product tracked-urls add --url https://docs.example.com/install
tpc --scope pro-org/my-product tracked-urls add \
  --url https://docs.example.com/install --category docs --title "Install" --description "Install guide"
```

`--url` is required. `--category` defaults to `other`. TPC identifies a tracked URL by its host and path, so adding a URL that is already tracked fails with a conflict. Adding a URL you deleted earlier restores it.

## Update a URL

```bash theme={null}
tpc --scope pro-org/my-product tracked-urls update <id> --title "Install guide"
tpc --scope pro-org/my-product tracked-urls update <id> --url https://docs.example.com/setup --category docs
tpc --scope pro-org/my-product tracked-urls update <id> --description ""
```

Only the flags you pass are sent: `--url`, `--title`, `--description`, and `--category`. Pass an empty value to clear the title or description; an empty `--category` resets it to `other`. `--url` cannot be blank. Find IDs with `tracked-urls list`.

## Stop tracking a URL

```bash theme={null}
tpc --scope pro-org/my-product tracked-urls delete <id>
```

`delete` takes one ID. To track the URL again later, run `add` with the same URL.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.