Publish a capability contract version
capability_version_publishPublish a new supplier-owned contract version. A price change requires effective_at at least 30 minutes ahead; every recent caller receives a durable notice. Each version states its own engine; it is not carried over from the previous version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sla | No | Optional measured SLA. Only contracts with this object are actively probed. | |
| engine | No | Optional. The model family that serves this version, such as vendor/model-name. When that model is retired, the owner gets a notice and a deadline to recertify. Leave it out, or send "none", when no model serves it; nothing is tracked then. | |
| endpoint | Yes | ||
| protocol | Yes | ||
| agent_key | Yes | Supplier agent key. | |
| sla_seconds | Yes | ||
| effective_at | No | Required ISO timestamp for a price change. | |
| input_schema | Yes | ||
| machine_spec | Yes | ||
| acts_in_world | No | Optional, default false. true when a call does something that cannot be taken back (sends a fax or an email, places a phone call). Such a part runs only when the call is paid: no held result, no preview, and not as a part of a parent call nobody has paid for yet. | |
| capability_id | Yes | ||
| output_schema | Yes | ||
| price_credits | Yes | ||
| review_window_hours | No | Optional. Hours a buyer has to use a result and object before it counts as accepted and you are paid. Leave it out for 24 when an engine is named (work that involves judgment), otherwise 0 (accepted when the result passes the output contract). |