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

# Program

> A program by id, with its trials and ontology terms.

## Overview

Returns the program for a `program_id` from a list. It also carries the linked
clinical trials and the ontology terms for its indication and target. An
unknown id returns a `404`.

```bash cURL icon="braces" theme={"system"}
curl https://api.pav.bio/v1/programs/3498 \
  -H "Authorization: Bearer $PAV_API_KEY"
```

```python Python SDK icon="python" theme={"system"}
from pav_bio import Pav

client = Pav()  # reads PAV_API_KEY

program = client.programs.get(3498)
print(program.drug, program.indication, program.phase)
```

```bash CLI icon="terminal" theme={"system"}
pav programs get --program-id 3498
```

```json Example response (trimmed) theme={"system"}
{
  "program_id": 3498,
  "status": "active",
  "basis": "company_pipeline",
  "company_id": 313,
  "short_name": "merck",
  "company": "Merck",
  "drug": "tulisokibart",
  "drug_id": 8880,
  "aliases": ["tulisokibart"],
  "indication": "Crohn’s disease",
  "phase": "phase_3",
  "modality": "antibody",
  "modality_formats": [],
  "target": "tumor necrosis factor (TNF)-like ligand 1A (TL1A)",
  "mechanism_of_action": "Tulisokibart is an investigational humanized monoclonal antibody directed to tumor necrosis factor (TNF)-like ligand 1A (TL1A). Tulisokibart was acquired as part of the acquisition of Prometheus Biosciences, Inc.",
  "description": "Tulisokibart is an investigational humanized monoclonal antibody directed to tumor necrosis factor (TNF)-like ligand 1A (TL1A). Tulisokibart was acquired as part of the acquisition of Prometheus Biosciences, Inc.",
  "notes": "(NCT06430801; NCT06651281)",
  "partners": [],
  "clinical_trials": [
    {
      "nct_id": "NCT05013905",
      "nct_url": "https://clinicaltrials.gov/study/NCT05013905",
      "nct_phase": "PHASE2",
      "nct_sponsor": "Prometheus Biosciences, Inc., a subsidiary of Merck & Co., Inc. (Rahway, New Jersey USA)",
      "nct_conditions": "Crohn Disease",
      "nct_status": "COMPLETED"
    }
  ],
  "indication_terms": [
    {
      "ontology": "MONDO",
      "term_id": "MONDO:0005011",
      "term_label": "Crohn disease",
      "source_text": "Crohn’s disease"
    }
  ],
  "target_terms": [
    {
      "ontology": "NCIT",
      "term_id": "NCIT:C18289",
      "term_label": "Tumor Necrosis Factor Ligand Superfamily Member 15",
      "source_text": "tumor necrosis factor (TNF)-like ligand 1A (TL1A)",
      "gene_symbol": "TNFSF15"
    }
  ],
  "source_url": "https://www.merck.com/research/product-pipeline/",
  "source_checked_at": "2026-10-12T06:02:53.825690Z"
}
```


## OpenAPI

````yaml GET /v1/programs/{program_id}
openapi: 3.1.0
info:
  title: Pav Enterprise API
  description: >-
    Read-only API over Pav's biopharma data: programs, drugs, companies, trials,
    deals, patents and FDA records. Send `Authorization: Bearer <api_key>`.
    Every resource is one list endpoint and one get endpoint. Lists take plain
    filters (a ticker, a phase, a modality) and return `{data, next_cursor,
    total}`; pass `next_cursor` back as `cursor` for the next page. Errors
    return `{error: {code, message, request_id}}`.
  version: 3.0.0
servers:
  - url: https://api.pav.bio
    description: Production
security: []
tags:
  - name: programs
    description: 'Drug programs: one drug in one indication at one company.'
    x-group: Programs
  - name: drugs
    description: >-
      One drug product across every company that develops it, under all its
      names, with its programs.
    x-group: Drugs
  - name: companies
    description: Biopharma companies, their owners and their trials.
    x-group: Companies
  - name: trials
    description: ClinicalTrials.gov trials linked to programs and companies.
    x-group: Trials
  - name: deals
    description: M&A, licensing and collaboration deals with terms and sources.
    x-group: Deals
  - name: patents
    description: US patent families with owners, members and term.
    x-group: Patents
  - name: orange-book-products
    description: Approved drug products in FDA's Orange Book.
    x-group: FDA
  - name: orange-book-patents
    description: Patents listed against Orange Book products.
    x-group: FDA
  - name: orange-book-exclusivities
    description: Marketing exclusivities on Orange Book products.
    x-group: FDA
  - name: purple-book-products
    description: Licensed biologics in FDA's Purple Book.
    x-group: FDA
  - name: orphan-designations
    description: FDA orphan drug designations.
    x-group: FDA
  - name: warning-letters
    description: FDA warning letters.
    x-group: FDA
  - name: recalls
    description: Drug, biologic and device recalls.
    x-group: FDA
  - name: drug-applications
    description: NDAs, ANDAs and BLAs, each with every FDA record and submission on it.
    x-group: FDA
  - name: complete-response-letters
    description: Published FDA complete response letters.
    x-group: FDA
  - name: accelerated-approvals
    description: Accelerated approvals and their confirmatory requirements.
    x-group: FDA
  - name: advisory-committee-meetings
    description: FDA advisory committee meetings and their materials.
    x-group: FDA
paths:
  /v1/programs/{program_id}:
    get:
      tags:
        - programs
      summary: Get a program
      description: >-
        One program with its trials and ontology terms. A merged id returns the
        surviving program.
      operationId: get_program
      parameters:
        - name: program_id
          in: path
          required: true
          schema:
            type: integer
            description: Program id.
            examples:
              - 18342
            title: Program Id
          description: Program id.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Program'
        '400':
          description: Invalid parameter (`validation_error`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Missing or invalid API key (`unauthorized`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: The API key lacks a scope this route needs (`forbidden`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Unknown id or route (`not_found`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limit exceeded (`rate_limited`); honor `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: >-
            Busy or too slow to answer (`unavailable`); retry after
            `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - EnterpriseApiKey: []
      x-codeSamples:
        - lang: python
          label: Python SDK
          source: |-
            from pav_bio import Pav

            client = Pav()
            print(client.programs.get(18342))
        - lang: bash
          label: CLI
          source: pav programs get --program-id 18342
components:
  schemas:
    Program:
      properties:
        program_id:
          type: integer
          title: Program Id
          description: Program id. Stable; kept when a program is discontinued.
          examples:
            - 18342
        status:
          type: string
          title: Status
          description: >-
            `active`, `inactive` (known only from trials, all closed) or
            `discontinued`. An approved drug stays `active` after it leaves the
            company's pipeline page.
          default: active
          examples:
            - active
        discontinued_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Discontinued At
          description: When a `discontinued` program stopped; null otherwise.
          examples:
            - null
        status_uncertain:
          type: boolean
          title: Status Uncertain
          description: >-
            True when the program is `active` because the company still lists or
            describes it, but every clinical trial linked to it stopped early
            (terminated or withdrawn). A stopped trial does not mean the drug
            failed: sponsors stop trials for strategy, funding or enough data.
            `stopped_trials` lists them.
          default: false
          examples:
            - false
        stopped_trials:
          items:
            $ref: '#/components/schemas/StoppedTrial'
          type: array
          title: Stopped Trials
          description: >-
            When `status_uncertain` is true, each stopped trial and the reason
            its sponsor gave. Empty otherwise.
        basis:
          type: string
          enum:
            - company_pipeline
            - regulatory_approval
            - clinical_trial_registry
          title: Basis
          description: >-
            How Pav knows of the program: `company_pipeline`,
            `regulatory_approval` (an approved use the pipeline does not list;
            `source_url` is the label) or `clinical_trial_registry`.
          default: company_pipeline
          examples:
            - company_pipeline
        company_id:
          type: integer
          title: Company Id
          description: Pav company identifier that owns this program.
          examples:
            - 412
        short_name:
          type: string
          title: Short Name
          description: Company slug, a stable readable identifier.
          examples:
            - pfizer
        company:
          type: string
          title: Company
          description: Display name of the company that owns this program.
          examples:
            - Pfizer
        drug:
          type: string
          title: Drug
          description: Drug or asset name for the program.
          examples:
            - Danuglipron
        drug_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Drug Id
          description: >-
            Drug id shared by every company's programs of the same product. Null
            when the program names no product.
          examples:
            - 5120
        aliases:
          items:
            type: string
          type: array
          title: Aliases
          description: 'Other names of the drug: INN, codes, brands.'
          examples:
            - - duvakitug
              - TEV-'574
        indication:
          anyOf:
            - type: string
            - type: 'null'
          title: Indication
          description: Indication the program targets, as published by the company.
          examples:
            - Type 2 Diabetes
        phase:
          anyOf:
            - type: string
            - type: 'null'
          title: Phase
          description: >-
            Development phase, normalized: `preclinical`, `phase_1`,
            `phase_1_2`, `phase_2`, `phase_2_3`, `phase_3`, `filed`,
            `registration`, `approved`. Same vocabulary as the `phase=` filter.
            Raised to `approved` by a US or EU approval that covers this
            indication; without one, the most advanced registered trial of the
            drug in the indication, then a dated public source. A trial never
            raises a developer's phase.
          examples:
            - phase_2
        modality:
          anyOf:
            - type: string
            - type: 'null'
          title: Modality
          description: >-
            Drug modality, normalized (one per drug). Same vocabulary as the
            `modality=` filter.
          examples:
            - small_molecule
        modality_subclass:
          anyOf:
            - type: string
            - type: 'null'
          title: Modality Subclass
          description: >-
            Nucleic-acid class: `sirna`, `mrna`, `sarna`, `rna_editing`, `aso`,
            `aptamer`.
          examples:
            - sirna
        modality_formats:
          items:
            type: string
          type: array
          title: Modality Formats
          description: >-
            Formats: `bispecific` (includes tri- and multispecifics),
            `antibody_drug_conjugate`, `peptide_drug_conjugate`,
            `antibody_oligonucleotide_conjugate`, `antibody_peptide_conjugate`.
          examples:
            - - bispecific
        target:
          anyOf:
            - type: string
            - type: 'null'
          title: Target
          description: Molecular target as published. Null when none is published.
          examples:
            - GLP-1R
        mechanism_of_action:
          anyOf:
            - type: string
            - type: 'null'
          title: Mechanism Of Action
          description: Mechanism of action for the asset.
          examples:
            - GLP-1 receptor agonist
        territory:
          anyOf:
            - type: string
            - type: 'null'
          title: Territory
          description: Territory/region the program applies to, when disclosed.
          examples:
            - United States
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Free-text program description, when published.
          examples:
            - Oral GLP-1 receptor agonist for type 2 diabetes and obesity.
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
          description: Additional program notes from the source.
          examples:
            - Phase 2b dose-finding study ongoing.
        partners:
          items: {}
          type: array
          title: Partners
          description: >-
            Partners the company lists; if none, other companies holding the
            same drug.
          examples:
            - - Teva Pharmaceuticals
        clinical_trials:
          items:
            $ref: '#/components/schemas/ClinicalTrial'
          type: array
          title: Clinical Trials
          description: Clinical trials linked to this program.
        indication_terms:
          items:
            $ref: '#/components/schemas/IndicationTerm'
          type: array
          title: Indication Terms
          description: Ontology (MONDO) terms mapped from the program's indication.
        target_terms:
          items:
            $ref: '#/components/schemas/TargetTerm'
          type: array
          title: Target Terms
          description: Ontology (NCIT/HGNC) terms mapped from the program's target.
        source_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Url
          description: URL of the company page the program was read from.
          examples:
            - https://www.pfizer.com/science/drug-product-pipeline
        source_checked_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Source Checked At
          description: When Pav last read the source page (UTC).
          examples:
            - '2026-06-19T04:12:00Z'
        last_updated:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Updated
          description: >-
            When the program's latest event happened (a phase change, readout,
            filing, approval). `from`/`to` and `sort=last_updated` use it.
          examples:
            - '2026-09-12T00:00:00Z'
      type: object
      required:
        - program_id
        - company_id
        - short_name
        - company
        - drug
      title: Program
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
          description: Error detail. Present only on 4xx/5xx responses.
      required:
        - error
      title: ErrorEnvelope
      type: object
    StoppedTrial:
      properties:
        nct_id:
          type: string
          title: Nct Id
          description: Registry identifier of the trial.
          examples:
            - NCT03330418
        status:
          type: string
          title: Status
          description: '`TERMINATED` or `WITHDRAWN`.'
          examples:
            - TERMINATED
        why_stopped:
          anyOf:
            - type: string
            - type: 'null'
          title: Why Stopped
          description: The sponsor's stated reason, verbatim. Null when none was given.
          examples:
            - Sponsor Strategic Priority Adjustment
      type: object
      required:
        - nct_id
        - status
      title: StoppedTrial
    ClinicalTrial:
      properties:
        nct_id:
          type: string
          title: Nct Id
          description: ClinicalTrials.gov registry identifier (NCT number).
          examples:
            - NCT04368728
        nct_url:
          type: string
          title: Nct Url
          description: ClinicalTrials.gov URL for the trial record.
          examples:
            - https://clinicaltrials.gov/study/NCT04368728
        nct_phase:
          anyOf:
            - type: string
            - type: 'null'
          title: Nct Phase
          description: Trial phase as reported by ClinicalTrials.gov.
          examples:
            - Phase 3
        nct_sponsor:
          anyOf:
            - type: string
            - type: 'null'
          title: Nct Sponsor
          description: Lead sponsor of the trial as reported by ClinicalTrials.gov.
          examples:
            - Pfizer
        nct_conditions:
          anyOf:
            - type: string
            - type: 'null'
          title: Nct Conditions
          description: Pipe-delimited conditions/indications studied in the trial.
          examples:
            - COVID-19|SARS-CoV-2 Infection
        nct_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Nct Status
          description: Overall recruitment/operational status of the trial.
          examples:
            - Completed
        nct_why_stopped:
          anyOf:
            - type: string
            - type: 'null'
          title: Nct Why Stopped
          description: >-
            Why the trial stopped early, as reported by ClinicalTrials.gov. Null
            for trials that did not stop early.
          examples:
            - Sponsor Strategic Priority Adjustment
      type: object
      required:
        - nct_id
        - nct_url
      title: ClinicalTrial
    IndicationTerm:
      properties:
        ontology:
          type: string
          title: Ontology
          description: Ontology of the indication term (e.g. MONDO).
          examples:
            - MONDO
        term_id:
          type: string
          title: Term Id
          description: Ontology term identifier.
          examples:
            - MONDO:0005148
        term_label:
          type: string
          title: Term Label
          description: Human-readable ontology term label.
          examples:
            - type 2 diabetes mellitus
        source_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Text
          description: Indication text the term was mapped from.
          examples:
            - Type 2 Diabetes
      type: object
      required:
        - ontology
        - term_id
        - term_label
      title: IndicationTerm
    TargetTerm:
      properties:
        ontology:
          type: string
          title: Ontology
          description: Ontology of the target term (NCIT or HGNC).
          examples:
            - NCIT
            - HGNC
        term_id:
          type: string
          title: Term Id
          description: Ontology term identifier.
          examples:
            - NCIT:C1110
            - hgnc:9602
        term_label:
          type: string
          title: Term Label
          description: Human-readable ontology term label.
          examples:
            - Ganglioside GD2
        source_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Text
          description: Target text the term was mapped from.
          examples:
            - GD2
        gene_symbol:
          anyOf:
            - type: string
            - type: 'null'
          title: Gene Symbol
          description: >-
            HGNC symbol for a human gene target; null otherwise. Group targets
            by it: one gene can appear under several term ids.
          examples:
            - PDCD1
            - CD274
      type: object
      required:
        - ontology
        - term_id
        - term_label
      title: TargetTerm
    ErrorBody:
      properties:
        code:
          description: >-
            Stable, machine-readable error code (e.g. `unauthorized`,
            `not_found`, `validation_error`, `error`).
          examples:
            - not_found
          title: Code
          type: string
        message:
          description: Human-readable explanation of the error.
          examples:
            - program 999999 not found
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Correlation id echoed in the `X-Request-ID` response header. Quote
            it when contacting Pav support about a failed request.
          examples:
            - 3f2b9c1d8a7e4f6b9c0d1e2f3a4b5c6d
          title: Request Id
      required:
        - code
        - message
      title: ErrorBody
      type: object
  securitySchemes:
    EnterpriseApiKey:
      type: http
      description: >-
        Use a personal or organization Pav API key from Pav developer settings.
        Send it as Authorization: Bearer <api_key>.
      scheme: bearer
      bearerFormat: Pav API key
      x-fern-bearer:
        name: api_key
        env: PAV_API_KEY

````

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