# Galleries

> Where your tenant's palms live, what a match means, and why two people can never share a palm.

A gallery is where your tenant's palms are kept on the palm engine. Each tenant has one, and no call can reach another
tenant's gallery.

## What a match means

Identify searches your gallery for the palm in a capture, on the hand you name, and answers the person it belongs to.
Verify runs the same search and answers only whether the palm found is the person you named, so a capture of somebody
else answers `not_verified` without saying who it was.

A match is the engine's own verdict. The answer carries the engine's ten scores and its ten thresholds, in its fixed
order, for your records; you do not compare them yourself. The thresholds are one setting shared by every tenant, and
no tenant can change them.

A frozen person or hand is never matched, and neither is a hand being removed.

## One palm, one person

Before every enroll, Bioprints searches your gallery for the palm. If it already belongs to another live person, the
enroll is refused `409` `palm_already_enrolled`, and `existingSubjectReference` names that person when Bioprints knows
whose palm it is.

The enrolls of one tenant run one at a time, so two enrolls of the same palm sent together can never both succeed. A
call that waits too long behind another enroll or a removal is refused `409` `tenant_busy` with `Retry-After`.

A person enrolls each hand once. To replace a hand, remove it, then enroll it again.

## How full a gallery can get

Your gallery holds at most the number of hands agreed with us, shown as `gallery.limit` by `GET /palm/v1/status`. An
enroll past it is refused `409` `gallery_full`. Hands still being removed count until the engine confirms them gone.

## See also

- [Tenants and test tenants](https://docs.bioprints.io/concepts/tenants-and-test-tenants.md)
- [Deletions and privacy](https://docs.bioprints.io/concepts/deletions-and-privacy.md)

Source: https://docs.bioprints.io/concepts/galleries
