Test an offer
test_offerTest an offer
The health test (one short streamed request on your key, about 16 tokens) and, for a draft, the identity checks (a few hundred tokens). Read the outcome with the get_offer tool. A draft that fails either check is deleted (contract v2.4): get_offer answers 404 and the job (get_supply_job) says why under removed; to try again, draft the model again with create_offers. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
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": {
"id": "<id>"
},
"name": "test_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The offer id. | |
| retest | No | Test again even when a test ran before (a listed offer's health). A draft that fails is deleted, so it is drafted again instead. |