Deal record layout
We replay your recent advertising negotiations alongside your trader over six weeks (a shadow trial), with no live spend. Our AI agent negotiates for the side buying advertising (buyer agent) or the side selling it (seller agent). Export one record per negotiation in this layout, with the opening offer, every move in order, how it ended and your own price limit if you recorded it.
A worked example
In this invented negotiation, the buyer agreed to buy 300,000 ad impressions at £31.60 per thousand (CPM). The most the buyer would pay was £34.10 per thousand (their max CPM). The least a seller will accept per thousand is their floor. This record shows what the buyer knew at the time, so it contains only the buyer's own limit.
| Move | From | Action | Price per thousand |
|---|---|---|---|
| 1 | seller | Opening offer | £34.80 |
| 2 | buyer | Counter | £29.40 |
| 3 | seller | Counter | £33.90 |
| 4 | buyer | Counter | £30.10 |
| 5 | seller | Counter | £33.10 |
| 6 | buyer | Counter | £30.70 |
| 7 | seller | Counter | £32.50 |
| 8 | buyer | Counter | £31.05 |
| 9 | seller | Counter | £32.00 |
| 10 | buyer | Final offer | £31.60 |
| 11 | seller | Accept | £31.60 |
The agreed price was £2.50 per thousand below the buyer's limit. That is about £73,000 for every £1m the buyer was willing to pay.
The same negotiation as JSON
A JSON file can hold a single negotiation or a list of negotiations.
{
"record_version": "agentsia-deal-record/0.1",
"negotiation_id": "example-001",
"side": "buyer",
"currency": "GBP",
"deal_type": "PG",
"impressions": 300000,
"flight_start": "2026-12-01",
"flight_end": "2026-12-31",
"max_cpm": 34.1,
"counterparty_ref": "seller-01",
"status": "accepted",
"final_price": 31.6,
"offers": [
{
"round_number": 1,
"from": "seller",
"action": "offer",
"price": 34.8,
"impressions": 300000,
"note": "Invented example"
},
{
"round_number": 2,
"from": "buyer",
"action": "counter",
"price": 29.4
},
{
"round_number": 3,
"from": "seller",
"action": "counter",
"price": 33.9
},
{
"round_number": 4,
"from": "buyer",
"action": "counter",
"price": 30.1
},
{
"round_number": 5,
"from": "seller",
"action": "counter",
"price": 33.1
},
{
"round_number": 6,
"from": "buyer",
"action": "counter",
"price": 30.7
},
{
"round_number": 7,
"from": "seller",
"action": "counter",
"price": 32.5
},
{
"round_number": 8,
"from": "buyer",
"action": "counter",
"price": 31.05
},
{
"round_number": 9,
"from": "seller",
"action": "counter",
"price": 32
},
{
"round_number": 10,
"from": "buyer",
"action": "final_offer",
"price": 31.6
},
{
"round_number": 11,
"from": "seller",
"action": "accept",
"price": 31.6
}
]
}Record fields
This is version 0.1, the first published. The layout may change as trials show what records hold. Any change will be published on this page under a new version name, and every file states its version in record_version.
About the negotiation
| Field | Required | What it holds |
|---|---|---|
record_version | Yes | agentsia-deal-record/0.1 |
negotiation_id | Yes | Your own ID for the negotiation. Use text with at least one non-space character and keep it unique within the file. |
side | Yes | Your side in the negotiation, buyer or seller. |
currency | Yes | Three capital letters, such as GBP. |
deal_type | No | PG (guaranteed), PD (preferred) or PA (private auction). |
impressions | No | The volume under discussion at the start. |
flight_startflight_end | No | When the ads were to run, as YYYY-MM-DD. |
started_atcompleted_at | No | When the negotiation began and ended, as a date and time with its time-zone offset. |
max_cpm | No | For a buyer, your own limit, where you recorded it. |
target_cpm | No | The price the buyer hoped for. |
floor_price | No | For a seller, your own floor, where you recorded it. |
buyer_tier | No | For a seller's records, the buyer group the seller agent uses to set prices. Use public, seat, agency or advertiser. |
counterparty_ref | No | A stand-in name for whoever was on the other side of the negotiation (your counterpart), such as seller-07. Leave out the real company name. |
status | Yes | How it ended. Use accepted, rejected (one side walked away and ended the negotiation without a deal) or expired. |
walked_away_by | If rejected | The side that walked away, buyer or seller. It must match the side on the last move. |
final_price | If accepted | The agreed CPM. It must match the price of the last move. |
final_impressions | No | The agreed volume, if it changed. |
offers | Yes | At least one move, in order. In CSV, each move has its own row. |
Each move
| Field | Required | What it holds |
|---|---|---|
round_number | Yes | 1 for the opening move, then counting up without gaps. |
from | Yes | buyer or seller. |
action | Yes | offer (the opening move), counter, final_offer, accept or reject. |
price | Unless the move is reject | The CPM proposed or accepted. |
impressions | No | The volume, if this move changed it. |
timestamp | No | When the move was made, as a date and time with its time-zone offset. |
note | No | Free text. Leave it out if it may name people or companies. |
CSV rules
Use one row per move. A file can hold several negotiations, grouped by negotiation_id. Repeat the negotiation fields on every row of that negotiation, with the same values each time.
Use the field names above as unique column names. Use offer_impressions and offer_timestamp for a move's volume and time. The rows replace the JSON offers list. Leave optional cells blank when you have no value.
What the checker tells you
Before a trial starts, the checker reads the file and describes each problem in a plain sentence, naming the negotiation and move where it can. It checks required fields, allowed values, positive prices, move order, whether the last move matches the outcome and whether repeated CSV values agree. If you supplied separate trial settings, the checker validates them and checks recorded move prices, closing prices and your limits against any agreed price ranges.
The checker counts negotiations with recorded decisions to compare with the agent's. It reports how many records contain enough detail to score prices past your limit or measure money kept against it. If your limit is missing, the checker warns you and accepts the omission. It also counts records with volumes for results by deal size and records with a negotiation or move date for results by month. Replay scores only what the record shows. Where the record cannot show what your counterpart would have done, replay leaves that decision unscored.
Where your records are processed
Your records are processed on a machine you control, or on one we send you. Only the report leaves it unless you choose otherwise.