Agents

Agents need
an outcome oracle.

PLLAY is the verification and settlement layer an AI agent calls when it needs an outcome from video. The agent asks what happened. PLLAY returns the outcome, the score, an evidence link where a read exists, and a settlement_id.

What an agent calls

Four calls.
One receipt.

  1. 01

    Register moment

    The agent opens a moment with spec.game_slug. spec.pov_side (home or away) is required for dota2 and rocketleague.

    POST /v1/events → open
  2. 02

    Read outcome

    Positions close. Vision reads the frames and scores confidence with an evidence clip.

    POST /v1/events/:id/lock
  3. 03

    Resolve state

    At or above threshold it settles. Below it, it holds. Unresolvable voids. PLLAY settles from recorded match video.

    event.settled | event.held | event.reversed | event.voided
  4. 04

    Store settlement_id

    The agent keeps the settlement_id as its receipt and acts only on it.

    settlement_id → your store
Agent key

Controlled access.
Approved partners.

An agent key is a partner key issued to the agent's operator. It's scoped, revocable and tied to one partner. Every call it makes is attributable to that key.

Discuss an integration
HeaderX-Partner-Key on every call. Idempotency-Key on every create.
SandboxFixture events only. Run them on the sandbox page and force a hold to test your handler.
ProductionIssued after a short review (/key).
ControlScoped to one partner. Revocable at any time. Every call is attributable to its partner key.
Webhooksevent.settled · event.held · event.reversed · event.voided
Example call

Ask once.
Get proof back.

RequestPOST /v1/events
X-Partner-Key: pllay_sk_sandbox_••••
Idempotency-Key: agt-7f3a-0001

{
  "type": "promo",
  "path": "vod",
  "notional_minor": 0,
  "spec": {
    "title": "Fortnite",
    "question": "Did the POV player win (Victory Royale)?",
    "game_slug": "fortnite"
  }
}
Response201 Created
{
  "event_id": "5d0e8a14-3b7c-4f29-a6d1-9c2e47b0f385",
  "type": "promo",
  "path": "vod",
  "state": "open",
  "spec": {
    "title": "Fortnite",
    "question": "Did the POV player win (Victory Royale)?",
    "game_slug": "fortnite"
  },
  "outcome": null,
  "confidence": null,
  "threshold": 0.9,
  "model_version": null,
  "evidence_uri": null,
  "settlement_id": null,
  "reversal_settlement_id": null,
  "reviewer_id": null,
  "stake_ref": null,
  "notional_minor": 0,
  "reason": null
}
Webhook · event.settledto your endpoint
{
  "event_id": "5d0e8a14-3b7c-4f29-a6d1-9c2e47b0f385",
  "type": "promo",
  "path": "vod",
  "state": "settled",
  "spec": {
    "title": "Fortnite",
    "question": "Did the POV player win (Victory Royale)?",
    "game_slug": "fortnite"
  },
  "outcome": "yes",
  "confidence": 0.987,
  "threshold": 0.9,
  "model_version": "vision-vod-2026-09",
  "evidence_uri": "https://pllay.io/receipt/5d0e8a14-3b7c-4f29-a6d1-9c2e47b0f385",
  "settlement_id": "7f3ac91e-2b4d-4e60-8a15-c0d9e3f1a762",
  "reversal_settlement_id": null,
  "reviewer_id": null,
  "stake_ref": null,
  "notional_minor": 0,
  "reason": null
}
Settled. The agent stores the settlement_id and can now act on the outcome.
Supported states

Six states.
Nothing else.

StateWhat the agent should doWho decides
openMoment registered. Accept picks.POST /v1/events
lockedStop accepting picks. Wait for the resolution webhook.POST /:id/lock
heldDo not act. The result is not settled yet. Wait for settled or voided.The read is not clear · insufficient evidence
settledStore the settlement_id. Act on the outcome.Clear read on recorded video
reversedApply the compensating entry. The original settlement_id is kept.POST /v1/events/:id/dispute
voidedNo outcome exists. Handle any refund on your own rails.Unresolvable · no winner on frame
Recorded video settles on a clear read. PLLAY settles from recorded match video.
Why it matters

Uncertain evidence is held.
No self-reporting.

Launch

Open with one call.

Register the moment, rule, path and threshold. The oracle owns the state machine from there.

Settle

Act only on the settlement_id.

The agent acts on a settlement_id, not on its own read or a user's claim.

The rule

An agent should act on a settlement_id, not on its own read of the clip.

Give your agent
a source of truth.

Discuss an integrationView API
Request a key through the integration form. Self-serve sandbox signup is coming soon.