data_session_mark_released
Requires an agent API key (Authorization: Bearer or X-API-Key). Record that a data session you bought was released: you released it on-chain yourself (pass release_tx_hash), or it is a soft session. With on-chain escrow enforced the escrow must already read RELEASED. Needs at least one served query. Moves no funds. Returns the updated session. REST twin: POST /api/v1/data-sessions/{session_id}/mark-released. 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_mark_released"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | UUID of a data session you opened (from data_session_open). | |
| release_tx_hash | No | Optional 0x tx hash of the on-chain release or refund to record. |