> This page is for Developer Documentation.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.benchling.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.benchling.com/_mcp/server.

# Get ProcedureRunPlanCondition by ID

GET https://{tenant_name}.benchling.com/api/v3/procedure-run-plan-condition/{procedure_run_plan_condition_id}

Get a single ProcedureRunPlanCondition by ID.

Reference: https://docs.benchling.com/docs/api/benchling-api/procedure-run-plan-condition/get

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `procedure_run_plan_condition_id` (string, required) — ID of the ProcedureRunPlanCondition.

### Query parameters

- `returning` (string, optional) — Comma-separated list of top-level fields to include in each returned item. Cannot overlap with omit.
- `omit` (string, optional) — Comma-separated list of top-level fields to omit from each returned item. Cannot overlap with returning.

### Headers

- `EARLY-ACCESS` (string, optional) — Set to true to access beta operations via /api/v3.

## Response

### 200

OK

- `__typename` (string, optional)
- `createdAt` (string, optional)
- `description` (string, optional) — The user-defined description of the condition.
- `id` (string, optional)
- `methodParametersPlan` (MethodParametersPlan, optional, nullable) — Method plan containing parameter values for this condition's unit operation. If this value is null upon promotion to a procedure run, default values from the procedure will be used.
- `modifiedAt` (string, optional)
- `name` (string, optional) — The user-defined name of the condition.
- `position` (integer, optional) — The display order of the condition within the run.
- `procedureRunPlan` (ProcedureRunPlanRef, optional) — The ProcedureRunPlan that this condition is a part of.
- `replicates` (list of ProcedureRunPlanConditionReplicate, optional) — Replicate information for this condition.
- `templateMethodVersion` (ProcedureMethodDefinitionVersionRef, optional) — The procedure method definition version (PMDV) this condition belongs to.

## Errors

### 400 Procedure Run Plan Condition Get Request Bad Request Error

Bad Request

- `detail` (GeneralErrorDetail, required, nullable)
- `instance` (string, required)
- `status` (integer, required)
- `title` (string, required, nullable)
- `type` (string, required)
- `invalidId` (string, optional)

### 403 Procedure Run Plan Condition Get Request Forbidden Error

Forbidden

- `detail` (GeneralErrorDetail, required, nullable)
- `instance` (string, required)
- `status` (integer, required)
- `title` (string, required, nullable)
- `type` (string, required)
- `invalidId` (string, optional)

### 404 Procedure Run Plan Condition Get Request Not Found Error

Not Found

- `detail` (GeneralErrorDetail, required, nullable)
- `instance` (string, required)
- `status` (integer, required)
- `title` (string, required, nullable)
- `type` (string, required)
- `invalidId` (string, optional)

### 429 Procedure Run Plan Condition Get Request Too Many Requests Error

Too Many Requests

- `detail` (TooManyRequestsErrorBodyDetail, required, nullable)
- `instance` (string, required)
- `status` (integer, required)
- `title` (string, required, nullable)
- `type` (string, required)
- `invalidId` (string, optional)
- `violated-policies` (list of enum, optional) — The budget policies that rejected the request, in canonical order: `user`, `integration`, then `tenant`.
  - Allowed values: `user`, `integration`, `tenant`

### 500 Procedure Run Plan Condition Get Request Internal Server Error

Internal Server Error

- `detail` (InternalServerErrorBodyDetail, required, nullable)
- `instance` (string, required)
- `status` (integer, required)
- `title` (string, required, nullable)
- `type` (string, required)
- `errorId` (string, optional)

## Types

### MethodParametersPlan

Contains the planned parameter values for a single unit operation (method) within a `ProcedureRunPlanCondition`. Links to a `ProcedureMethodDefinitionVersion` via `templateMethodVersion` to identify which method these values apply to. Parameter values are organized by category: `dataParameterValues` for data fields like numbers or text, `materialInputValues` for sample or reagent inputs, and `equipmentValues` for equipment assignments. When the parent `ProcedureRunPlan` is promoted to a `ProcedureRun`, these planned values become the starting values in the resulting `ProcedureMethodExecutionInstance`.

- `__typename` (string, optional)
- `dataParameterValues` (list of DataParameterValuePlan, optional) — Planned values for data parameters keyed by parameter identifiers.
- `equipmentValues` (list of EquipmentValuePlan, optional) — Planned values for equipment keyed by equipment identifiers.
- `materialInputValues` (list of MaterialInputValuePlan, optional) — Planned values for material inputs keyed by input identifiers.

### ProcedureRunPlanRef

- `__typename` (string, optional)
- `id` (string, optional)

### ProcedureRunPlanConditionReplicate

Represents a planned replicate within a `ProcedureRunPlanCondition`. Scientists often run the same experimental condition multiple times to obtain statistically significant results—each repetition is a replicate. The `replicateNumber` provides a one-indexed identifier (e.g., replicate 1, 2, 3). The `sourcePmeiIds` field supports unit operation linking by storing source `ProcedureMethodExecutionInstance` IDs from other procedure runs. Upon promotion of the parent `ProcedureRunPlan`, each ProcedureRunPlanConditionReplicate becomes a `ProcedureRunConditionReplicate` in the resulting procedure run.

- `__typename` (string, optional)
- `procedureRunPlanCondition` (ProcedureRunPlanConditionRef, optional) — The ProcedureRunPlanCondition that this replicate belongs to.
- `replicateNumber` (integer, optional) — The replicate number.
- `sourcePmeiIds` (list of string, optional) — Source PMEI IDs for this replicate. Support unit operation linking to future-pmeis when executing the draft procedure run.

### ProcedureMethodDefinitionVersionRef

- `__typename` (string, optional)
- `id` (string, optional)

### GeneralErrorDetail

### TooManyRequestsErrorBodyDetail

### InternalServerErrorBodyDetail

### DataParameterValuePlan

A pre-filled value for a data parameter within a `MethodParametersPlan`. The `parameterId` references the `ProcedureParameterVersion` this value applies to. The `value` field contains the planned data in JSON format, which may be a number, string, or structured value depending on the parameter's data type configuration. Used during experiment planning to specify default values that will populate the parameter when the procedure run is created.

- `__typename` (string, optional)
- `parameterId` (string, optional)
- `value` (map from string to any, optional)

### EquipmentValuePlan

A pre-filled value for an equipment parameter within a `MethodParametersPlan`. The `equipmentId` references the `ProcedureParameterVersion` for the equipment parameter this value applies to. The `value` field contains the planned equipment assignment in JSON format, typically specifying which piece of lab equipment will be used. Used during experiment planning to pre-assign instruments or devices that will be used when the procedure run is executed.

- `__typename` (string, optional)
- `equipmentId` (string, optional)
- `value` (map from string to any, optional)

### MaterialInputValuePlan

A pre-filled value for a material input within a `MethodParametersPlan`. The `materialInputId` references the `ProcedureParameterVersion` for the material input this value applies to. The `value` field contains the planned material specification in JSON format, typically including sample references and quantities. Used during experiment planning to pre-assign samples, reagents, or other materials that will be used when the procedure run is executed.

- `__typename` (string, optional)
- `materialInputId` (string, optional)
- `value` (map from string to any, optional)

### ProcedureRunPlanConditionRef

- `__typename` (string, optional)
- `id` (string, optional)

## Examples

**Response**

```json
{
  "__typename": "__typename",
  "createdAt": "createdAt",
  "description": "description",
  "id": "id",
  "methodParametersPlan": {
    "__typename": "__typename",
    "dataParameterValues": [
      {}
    ],
    "equipmentValues": [
      {}
    ],
    "materialInputValues": [
      {}
    ]
  },
  "modifiedAt": "modifiedAt",
  "name": "name",
  "position": 1,
  "procedureRunPlan": {
    "__typename": "__typename",
    "id": "id"
  },
  "replicates": [
    {
      "__typename": "__typename",
      "replicateNumber": 1,
      "sourcePmeiIds": [
        "sourcePmeiIds"
      ]
    }
  ],
  "templateMethodVersion": {
    "__typename": "__typename",
    "id": "id"
  }
}
```

**SDK Code**

```python
import requests

url = "https://{tenant_name}.benchling.com/api/v3/procedure-run-plan-condition/procedure_run_plan_condition_id"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://{tenant_name}.benchling.com/api/v3/procedure-run-plan-condition/procedure_run_plan_condition_id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```