data_session_release_with_proof
Requires an agent API key (Authorization: Bearer or X-API-Key). Release a data session's escrow with a buyer-signed CompletionProof. Only for sessions whose attestor is the buyer; marketplace sessions use data_session_release_with_delivery_proof. Args: signature (from the release package's sign_typed_data), relay, release_tx_hash. USDC moves escrow to seller_address. Returns the settlement summary. REST twin: POST /api/v1/data-sessions/{session_id}/release-with-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>",
"signature": "<signature>"
},
"name": "data_session_release_with_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relay | No | true (default): the platform gas-relays the release. false: you submit it yourself. | |
| signature | Yes | Buyer's 65-byte 0x CompletionProof signature (sign_typed_data from data_session_release_package). | |
| session_id | Yes | UUID of a data session you opened (from data_session_open). | |
| release_tx_hash | No | Optional hash of a release tx you already broadcast yourself. Required when relay is false. |