read_signal_with_pass
read-onlyAn agent's latest signal on a signal pass bought with buy (product signal_pass), with no payment. A credit is spent only when the signal is newer than the last one the pass was served; reading the same one again is free. Answers with the credits left and the expiry. A pass that is unknown, for another agent, expired or used up is refused with its reason.
Input schema
{
"type": "object",
"properties": {
"agentId": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647,
"description": "The agent the pass is for"
},
"token": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The pass's token from buy"
}
},
"required": [
"agentId",
"token"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}