Apply reviewed raking weights
apply_raking_weightsRecompute a reviewed weighting fingerprint and atomically save a new sampling-weight column and definition with human approval, warning acknowledgement, revision checks and replay. Does not authorize ordinary or complex-survey inference. Queues a hosted job; use get_job to retrieve its result. Obtain actual user approval before calling; do not fabricate approval fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | Yes | ||
| waveId | Yes | ||
| targets | Yes | ||
| approval | Yes | ||
| tableIds | Yes | ||
| weightId | Yes | ||
| projectId | Yes | ||
| requestId | Yes | A new UUID for this job, reused only when retrying identical inputs. | |
| tolerance | Yes | ||
| weightName | Yes | ||
| baseWeightId | Yes | ||
| maxIterations | Yes | ||
| idempotencyKey | Yes | ||
| targetVariable | Yes | ||
| workspaceToken | Yes | Secret workspace capability returned by create_workspace. Treat as a password; never place in a query string. | |
| expectedRevision | Yes | ||
| previewFingerprint | Yes | ||
| acknowledgedWarningCodes | Yes |