---
title: "LeadAssignment"
description: "which user a lead went to, under which rule, who else was eligible, and the odds"
section: concepts
address: /concepts/leadassignment
contract: 0476e35e6e275db5
---

# LeadAssignment

which user a lead went to, under which rule, who else was eligible, and the odds

[figure: LeadAssignment is a fact at brand scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | fact |
| scope | brand |
| key | the lead and the moment |
| store | postgres |
| family | leads |



## Fields


| field | type | required | note |
|---|---|---|---|
| `lead` | `id` | yes |  |
| `user` | `id` | yes |  |
| `rule` | `id` | no |  |
| `rule_version` | `count` | no |  |
| `eligible` | `[id]` | yes |  |
| `odds` | `chance` | yes |  |
| `by_hand` | [Caller](/concepts/caller) | no |  |
| `missing_input` | `text` | no | said plainly and never invented |



## Routes that use it
- [`/v1/act/assign`](/reference/act/assign) returns it
