---
title: "Search programs"
method: GET
path: "/v1/programs/search"
tags: ["Programs"]
---

# Search programs

`GET /v1/programs/search`

## Request

- Base URL: `https://api.rossdata.dev`
- URL: `https://api.rossdata.dev/v1/programs/search`
- Auth: none declared

Find a program by basename, TITLE id, title, module or type.

## Query parameters

- `q` string
- `limit` integer

## Response `200`

OK

- ProgramSearchResult
  - `query` string
  - `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

---

[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)
