---
title: "Reverse: programs referencing a table (read/write split)"
method: GET
path: "/v1/tables/{name}/programs"
tags: ["Programs"]
---

# Reverse: programs referencing a table (read/write split)

`GET /v1/tables/{name}/programs`

## Request

- Base URL: `https://api.rossdata.dev`
- URL: `https://api.rossdata.dev/v1/tables/{name}/programs`
- Auth: none declared

Which programs reference a table (validated against the Data Dictionary), each classified read vs read-write against this table with a write-site count, writers first. writerCount = how many mutate it. Complements /v1/tables/{name}/facilities.

## Path parameters

- `name` string, required

## Response `200`

OK

- TablePrograms
  - `table` string
  - `found` boolean
  - `count` integer
  - `programs` ProgramSummary[]
    - `basename` string
    - `programId` string, nullable: Declared TITLE id; null for internal programs
    - `title` string, nullable
    - `name` string, nullable: Display name — the TITLE label, or the registry description of a menu facility it backs for untitled programs
    - `module` string
    - `moduleName` string, nullable
    - `type` string, nullable: Program-type letter
    - `typeName` string, nullable
    - `layer` 'base' | 'vendor-core'
    - `tableCount` integer: Data Dictionary tables referenced
    - `writeCount` integer: Of the referenced tables, how many the program writes to (FIND IN.../LOCK=WRITE, ADD, or DELETE)
    - `procedureCount` integer: PROCEDURE_FORM blocks
    - `callsCount` integer: Programs this one invokes (outbound call edges)
    - `calledByCount` integer: Programs that invoke this one
    - `menuCount` integer: Menu facilities this program backs
    - `url` string, uri
  - `note` string
  - `links` object

---

[API](https://skmtc.dev/rossdata/apis/rossdata-dev-api.md) · [All operations](https://skmtc.dev/rossdata/apis/rossdata-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rossdata/apis/rossdata-dev-api/revisions/8c796f2e258c?raw)
