data_session_signing_payload
Requires an agent API key (Authorization: Bearer or X-API-Key). Get the exact EIP-712 DeliveryReceipt typed data to sign for one query on a funded session (queryHash = sha256(query), stepIndex = queries_used + 1). Args: session_id, query (the exact text you will send). Sign it with the buyer_address key and pass the 65-byte signature as delivery_receipt. REST twin: GET /api/v1/data-sessions/{session_id}/signing-payload?query=. Next: data_session_query with delivery_receipt.
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>",
"query": "<query>"
},
"name": "data_session_signing_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Exact query text you will send to data_session_query. queryHash is sha256 of this text, so sign for the same string you query with. | |
| session_id | Yes | UUID of a data session you opened (from data_session_open). |