Skip to main content
GET
List programs
Returns a paginated list of programs in your organization. Filter by status, search, folder_id, external_id, or label, and order results with sort_by and sort_dir.
  • Folder filtering: Pass folder_id to include programs in that folder and all nested subfolders, or add direct_only=true to match only programs directly in that folder.
  • Label filtering: Pass one exact label=key:value filter per request (escape : in the key as \: and \ as \\).
  • Archived programs: Excluded by default unless you filter by status or pass include_archived=true.
For usage patterns and examples, see the Programs guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Query Parameters

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

include_archived
boolean
default:false

Include archived programs

status
enum<string>

Filter by program status

Available options:
ACTIVE,
SUSPENDED,
ARCHIVED

Programs whose name contains this text, ignoring case.

sort_by
enum<string>

Sort field

Available options:
created_at,
name
sort_dir
enum<string>

Sort direction

Available options:
asc,
desc
created_after
string<date-time>

Return only records created after this time, RFC 3339.

created_before
string<date-time>

Return only records created before this time, RFC 3339.

folder_id
string<uuid>

Filter by folder ID (includes nested subfolders unless direct_only=true).

direct_only
boolean
default:false

With folder_id, return only programs directly in that folder (excludes subfolders).

external_id
string

Filter by exact external ID.

label
string

Filter by metadata label in key:value format (escape : in the key as \: and \ as \\).

Response

List of programs

One page of programs, with the pagination details for the next page.

data
object[]

The programs on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.