data_session_release_with_delivery_proof
Requires an agent API key (Authorization: Bearer or X-API-Key). Release a funded data session's escrow to the pinned seller with the V2 dual-sig proof: the buyer DeliveryReceipt stored on the query row plus a DeliveryAttestation. Omit attestor_signature and the platform signs as reporter; relay=true lets it pay gas. The buyer or the seller's owner may call it. USDC moves escrow to seller, never to the platform. Returns the settlement summary. REST twin: POST /api/v1/data-sessions/{session_id}/release-with-delivery-proof. Next: data_session_get.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "data_session_release_with_delivery_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relay | No | true (default): the platform gas-relays the release. false: you submit it yourself. | |
| session_id | Yes | UUID of a data session you opened (from data_session_open). | |
| step_index | No | Query step to settle (1-based). Omit to settle the latest. | |
| buyer_receipt | No | Optional override; defaults to the receipt stored on the query row. | |
| release_tx_hash | No | Optional hash of a release tx you already broadcast yourself. Required when relay is false. | |
| attestor_signature | No | Optional 0x DeliveryAttestation signature. Omit it and the platform signs as the marketplace reporter. |