{"slug":"www-brainiac-software-api-v1-experimentation-bucket-assign-88bbf1","title":"Stateless SHA-256 bucketing of unit ids into an experiment with traffic gating, ","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/experimentation/bucket-assign","category":"other","description":"Stateless SHA-256 bucketing of unit ids into an experiment with traffic gating, ordered group shares and an optional layer, documented so any SDK can reproduce it. Docs: https://www.brainiac.software/api/experimentation/bucket-assign","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":305,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"experiment":{"groups":[{"name":"control","share":0.5},{"name":"treatment","share":0.5}],"salt":"exp_checkout_v2","trafficShare":1},"layer":null,"unitIds":["user_42","user_43"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"experiment":{"description":"experiment supplied by the caller for this operation.","example":{"groups":[{"name":"control","share":0.5},{"name":"treatment","share":0.5}],"salt":"exp_checkout_v2","trafficShare":1},"type":"object"},"layer":{"description":"layer supplied by the caller for this operation.","example":null,"type":["object","null"]},"unitIds":{"description":"unit Ids supplied by the caller for this operation.","example":["user_42","user_43"],"items":{"maxLength":256,"minLength":1,"type":"string"},"type":"array"}},"required":["unitIds","experiment"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":313,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":292,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":305,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":285,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":395,"error":null}],"description_full":"Stateless SHA-256 bucketing of unit ids into an experiment with traffic gating, ordered group shares and an optional layer, documented so any SDK can reproduce it. Docs: https://www.brainiac.software/api/experimentation/bucket-assign","last_updated":"2026-11-24T14:44:34.22Z","schemes":["exact"]}