Skip to main content

ZeqClinicalTrial

Clinical trial design and power analysis. Sample size calculation, randomization, interim analysis boundaries (O'Brien-Fleming) with Zeqond enrollment timestamps.

EndpointPOST /api/pharma/clinical-trial
Authapi-key
Rate limit10/min
Categorypharma

Parameters

NameTypeRequiredDescription
endpointstringYes'superiority', 'non-inferiority', 'equivalence'.
effectSizenumberYesExpected treatment effect.
alphanumberNoSignificance level.
powernumberNoStatistical power.

Returns

{ sampleSize, enrollmentTarget, interimBoundaries, trialDuration_months, zeqond }

Example

curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"endpoint": "<endpoint>",
"effectSize": 0,
"alpha": 0.05,
"power": 0.8
}' \
"https://zeqsdk.com/api/pharma/clinical-trial"

This protocol is a named building block — one of the operations you compose inside a state contract. Call it directly with the request above, or invoke it from a contract that fires on your machine's clock. Browse the whole library at GET /api/protocols; fetch this one at GET /api/protocols/zeq-clinical-trial.