v3
latestOpenAPI 3.1.02026-07-31115157197.4 KBBucket Access
Grant Bucket Access
Grant a principal access to a dataset's S3 bucket by SKU.
Resolves (dataset_id, lag, cut) → dataset_name via admin_config.bulk_bucket_details and delegates to BucketPolicyManager.add_principal_for_sku, which is idempotent.
Compliance gate (runs before any S3 write): the client_name (=clients.key) must resolve to a clients.id (422 unknown_client otherwise), and the SKU must not be blocked for that client by the live served-lag restriction model (403 compliance_blocked otherwise).
post/v2/bucket-access/datasets/{dataset_id}/grant
Path parameters
dataset_idstring required
Request body
Response
Successful Response