{
  "x402Version": 2,
  "id": 39381,
  "slug": "39381",
  "resource": "https://api.magentlab.com/api/calc/dli_volume",
  "description": "Shi 2020 donor whole-blood liters to process for a CD3+ DLI target: (recipient_weight_kg × cd3_target_per_kg × num_infusions) / (0.6 × donor_alc_per_ul × collection_efficiency × 1e6). Estimates CD3 as 60% of donor ALC. Caller assigns collection_efficiency in (0,1]; the paper used first-quartile 0.57. Deterministic published arithmetic with citation. Not an apheresis order; magent does not run a device or the paper's CD34 HPC algorithm.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "cd3_target_per_kg": 10000000,
                "collection_efficiency": 0.5,
                "donor_alc_per_ul": 1800,
                "num_infusions": 1,
                "recipient_weight_kg": 70
              },
              {
                "cd3_target_per_kg": 10000000,
                "collection_efficiency": 0.5,
                "donor_alc_per_ul": 1800,
                "num_infusions": 1,
                "recipient_weight_kg": 70
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "cd3_fraction": 0.6,
                "cd3_target_per_kg": 10000000,
                "citation": {
                  "authors": "Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ",
                  "doi": "10.1111/trf.15576",
                  "id": "shi-2020-dli",
                  "pmid": "31756000",
                  "source": "Transfusion. 2020;60(1):133-143",
                  "title": "Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"
                },
                "collection_efficiency": 0.5,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "donor_alc_per_ul": 1800,
                "estimated_cd3_per_ul": 1080,
                "formula": "shi_2020",
                "formula_expression": "process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)",
                "num_infusions": 1,
                "process_volume_l": 1.3,
                "recipient_weight_kg": 70,
                "total_cd3_required": 700000000
              },
              {
                "cd3_fraction": 0.6,
                "cd3_target_per_kg": 10000000,
                "citation": {
                  "authors": "Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ",
                  "doi": "10.1111/trf.15576",
                  "id": "shi-2020-dli",
                  "pmid": "31756000",
                  "source": "Transfusion. 2020;60(1):133-143",
                  "title": "Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"
                },
                "collection_efficiency": 0.5,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "donor_alc_per_ul": 1800,
                "estimated_cd3_per_ul": 1080,
                "formula": "shi_2020",
                "formula_expression": "process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)",
                "num_infusions": 1,
                "process_volume_l": 1.3,
                "recipient_weight_kg": 70,
                "total_cd3_required": 700000000
              }
            ],
            "path": "/api/calc/dli_volume"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "cd3_target_per_kg": {
                          "description": "Planned CD3+ cells per recipient kilogram (1e6-1e9, magent clamp). Shi 2020's haploidentical protocol used 2e8/kg; a first DLI is often 1e7/kg. Not a CD34 HPC dose.",
                          "type": "number"
                        },
                        "collection_efficiency": {
                          "description": "Caller-assigned facility lymphocyte CE2 as a proportion in (0, 1]. Shi 2020 used a conservative first-quartile 0.57; magent does not default to 0.57 or invent a CE.",
                          "type": "number"
                        },
                        "donor_alc_per_ul": {
                          "description": "Donor absolute lymphocyte count on the collection day, cells/µL (100-20000, magent clamp). Shi 2020 estimates CD3+ as 60% of this ALC rather than a measured CD3 count. magent does not assay ALC.",
                          "type": "number"
                        },
                        "num_infusions": {
                          "description": "Optional integer infusions (1-12, default 1) multiplying the per-kg CD3 target when the planned dose is the total across infusions. Shi 2020 collected one 2e8/kg DLI product.",
                          "type": "integer"
                        },
                        "recipient_weight_kg": {
                          "description": "Recipient weight in kilograms (1-500, magent clamp). Shi 2020 doses CD3 per recipient kg. magent does not weigh the recipient.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "recipient_weight_kg",
                        "cd3_target_per_kg",
                        "donor_alc_per_ul",
                        "collection_efficiency"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "dli",
    "cd3",
    "leukapheresis",
    "hematology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:01:57.757Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T15:01:57.633Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "cd3_target_per_kg": 10000000,
                  "collection_efficiency": 0.5,
                  "donor_alc_per_ul": 1800,
                  "num_infusions": 1,
                  "recipient_weight_kg": 70
                },
                {
                  "cd3_target_per_kg": 10000000,
                  "collection_efficiency": 0.5,
                  "donor_alc_per_ul": 1800,
                  "num_infusions": 1,
                  "recipient_weight_kg": 70
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "cd3_fraction": 0.6,
                  "cd3_target_per_kg": 10000000,
                  "citation": {
                    "authors": "Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ",
                    "doi": "10.1111/trf.15576",
                    "id": "shi-2020-dli",
                    "pmid": "31756000",
                    "source": "Transfusion. 2020;60(1):133-143",
                    "title": "Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"
                  },
                  "collection_efficiency": 0.5,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "donor_alc_per_ul": 1800,
                  "estimated_cd3_per_ul": 1080,
                  "formula": "shi_2020",
                  "formula_expression": "process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)",
                  "num_infusions": 1,
                  "process_volume_l": 1.3,
                  "recipient_weight_kg": 70,
                  "total_cd3_required": 700000000
                },
                {
                  "cd3_fraction": 0.6,
                  "cd3_target_per_kg": 10000000,
                  "citation": {
                    "authors": "Shi PA, Sachais BS, Nandi V, Brochstein JA, Weinberg RS, Zhang J, Yoon EJ",
                    "doi": "10.1111/trf.15576",
                    "id": "shi-2020-dli",
                    "pmid": "31756000",
                    "source": "Transfusion. 2020;60(1):133-143",
                    "title": "Validation of simple prediction algorithms to consistently achieve CD3+ and postselection CD34+ targets with leukapheresis"
                  },
                  "collection_efficiency": 0.5,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "donor_alc_per_ul": 1800,
                  "estimated_cd3_per_ul": 1080,
                  "formula": "shi_2020",
                  "formula_expression": "process_volume_l = (recipient_weight_kg * cd3_target_per_kg * num_infusions) / (0.6 * donor_alc_per_ul * collection_efficiency * 1e6)",
                  "num_infusions": 1,
                  "process_volume_l": 1.3,
                  "recipient_weight_kg": 70,
                  "total_cd3_required": 700000000
                }
              ],
              "path": "/api/calc/dli_volume"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "cd3_target_per_kg": {
                            "description": "Planned CD3+ cells per recipient kilogram (1e6-1e9, magent clamp). Shi 2020's haploidentical protocol used 2e8/kg; a first DLI is often 1e7/kg. Not a CD34 HPC dose.",
                            "type": "number"
                          },
                          "collection_efficiency": {
                            "description": "Caller-assigned facility lymphocyte CE2 as a proportion in (0, 1]. Shi 2020 used a conservative first-quartile 0.57; magent does not default to 0.57 or invent a CE.",
                            "type": "number"
                          },
                          "donor_alc_per_ul": {
                            "description": "Donor absolute lymphocyte count on the collection day, cells/µL (100-20000, magent clamp). Shi 2020 estimates CD3+ as 60% of this ALC rather than a measured CD3 count. magent does not assay ALC.",
                            "type": "number"
                          },
                          "num_infusions": {
                            "description": "Optional integer infusions (1-12, default 1) multiplying the per-kg CD3 target when the planned dose is the total across infusions. Shi 2020 collected one 2e8/kg DLI product.",
                            "type": "integer"
                          },
                          "recipient_weight_kg": {
                            "description": "Recipient weight in kilograms (1-500, magent clamp). Shi 2020 doses CD3 per recipient kg. magent does not weigh the recipient.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "recipient_weight_kg",
                          "cd3_target_per_kg",
                          "donor_alc_per_ul",
                          "collection_efficiency"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}