---
name: ao-use-poker-hand-history
description: Replay and analyze Poker AI by AO hand histories using the public six-max sample or the caller’s authorized hand exports.
---

# Work with poker hand history

Use the [hand history guide](https://poker.byao.one/hand-histories) to choose an input. The free recorded sample is bot-only and shows the named house model’s hole cards. The one-hand practice file is synthetic and uses a different schema. The [benchmark CSV](https://poker.byao.one/benchmark-data) contains aggregate results.

- For an interactive replay, call `poker_replay_recorded_hand`. Present the visible board, hole cards, pot, and amount to call. Ask what the user would do and wait. Then call again with the same `hand_id` and `decision` and `reveal: true` to compare their choice with the recorded action.
- For an author’s live-table history use `poker_live_table_hands`. For licensed tournament history use `poker_builder_workspace` to resolve the exact entitled model, then `poker_recorded_hands` with `op: "brackets"` to find coverage and `op: "history"` for a completed slot. Follow the returned cursors. A missing record or hidden card stays missing.
- In the public sample seat 0 is the button. Use the listed blind seats and pre-action `pot` and `to_call`. A positive stack marks a player dealt into the hand. Read only the named hero’s cards. The board contains cards that appeared by the end of the hand. A turn decision can only use cards visible on that street.
- Verify each hand’s start and end stacks sum to the same total. The hero’s net BB is its stack change divided by the blind. Before sharing a derived result, verify ownership or license and remove any unnecessary names, session IDs and unpublished hole cards.
- Show an actual hand ID from the free sample or an authorized export and specify the street, players, starting stacks and decision denominator. This sample is a small teaching collection. For a strategy claim use the public charts or a suitably matched full data slice.
