addedInput schema / properties / buyer_agent
Added value: +{
+ "description": "Optional. The buying agent, e.g. chatgpt or agent.example.com. A label recorded with the quote only (while its release flag is on); never sent to the pricing function.",
+ "maxLength": 100,
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / buyer_type
Added value: +{
+ "description": "Optional. Who the price is for: an AI agent or a person. Recorded with the quote only.",
+ "enum": [
+ "agent",
+ "person",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / channel
Added value: +{
+ "description": "Optional. The sales channel the price is for, such as a shopping agent or an agent marketplace. When your workspace saved a rate for it with set_channel_rates and channel pricing is on, the price is raised so you keep the same amount after the channel's cut.",
+ "maxLength": 64,
+ "type": "string"
+}
addedInput schema / properties / outcome_terms
Added value: +{
+ "description": "Optional, for a price charged per outcome. When the outcome counts as failed and what is owed then. Where outcome terms are switched on for the workspace, the result carries outcome_terms: these terms normalised, the deadline as a time, the amount owed on timeout, and which terms are missing (complete is false without success_definition, resolve_by and on_timeout). Sending it marks the price as an outcome price; so does metadata.unit \"outcome\".",
+ "properties": {
+ "evidence": {
+ "description": "What proves the outcome, e.g. [\"delivery_receipt\"].",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "on_timeout": {
+ "description": "What is owed when the deadline passes without success.",
+ "enum": [
+ "no_charge",
+ "partial",
+ "full"
+ ],
+ "type": "string"
+ },
+ "resolve_by": {
+ "description": "The deadline: an ISO 8601 duration from the quote (P30D, PT48H) or an RFC 3339 time. After it, with no success, the outcome has failed.",
+ "type": "string"
+ },
+ "success_definition": {
+ "description": "What the buyer must see for the outcome to count.",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "timeout_share": {
+ "description": "With on_timeout \"partial\": the fraction of the price owed, e.g. 0.3 for 30%.",
+ "exclusiveMaximum": 1,
+ "exclusiveMinimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+}
addedInput schema / properties / quote_valid_until
Added value: +{
+ "description": "Optional. The valid_until of the compute_price result this price came from (RFC 3339). Where quote expiry is switched on, a time already past is answered with quote_expired: true.",
+ "format": "date-time",
+ "type": "string"
+}