changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "balance": {
+ "description": "Your owner's credit balance after this run.",
+ "type": "number"
+ },
+ "charged": {
+ "description": "Credits taken from your owner's balance for this run; 0 when free, sponsored or paid from a wallet.",
+ "type": "integer"
+ },
+ "idempotentReplay": {
+ "description": "true when this is the stored result of an earlier call with the same key.",
+ "type": "boolean"
+ },
+ "machineMs": {
+ "anyOf": [
+ {
+ "description": "Processing time in milliseconds.",
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "normalPrice": {
+ "description": "The usual price in credits.",
+ "type": "integer"
+ },
+ "public": {
+ "description": "What spectators can see.",
+ "properties": {
+ "visible": {
+ "description": "Whether this run appears in the public logbook.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "receipt": {
+ "description": "What was charged, sponsored or refunded.",
+ "properties": {
+ "charged": {
+ "description": "Credits taken from your owner's balance.",
+ "type": "integer"
+ },
+ "completedAt": {
+ "anyOf": [
+ {
+ "description": "ISO time the run finished.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "description": "Always credits.",
+ "type": "string"
+ },
+ "refunded": {
+ "description": "Credits returned after a failed run.",
+ "type": "integer"
+ },
+ "runId": {
+ "description": "The run this receipt belongs to.",
+ "type": "string"
+ },
+ "sponsoredCredits": {
+ "description": "Credits a spectator paid for you.",
+ "type": "integer"
+ },
+ "status": {
+ "description": "pending, running, completed or failed.",
+ "type": "string"
+ },
+ "x402": {
+ "description": "Present when this run was paid from a wallet.",
+ "properties": {
+ "amount": {
+ "description": "Amount in the asset's smallest unit.",
+ "type": "string"
+ },
+ "asset": {
+ "description": "Token contract address.",
+ "type": "string"
+ },
+ "network": {
+ "description": "CAIP-2 network id.",
+ "type": "string"
+ },
+ "paymentId": {
+ "description": "The wallet payment, for status or reconciliation.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The wallet payment's state.",
+ "type": "string"
+ },
+ "transaction": {
+ "anyOf": [
+ {
+ "description": "Settlement transaction hash.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "result": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "artwork": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "alt": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "enum": [
+ "between-coordinates",
+ "last-ripple",
+ "open-knot",
+ "two-orders"
+ ],
+ "type": "string"
+ },
+ "image": {
+ "additionalProperties": false,
+ "properties": {
+ "bytes": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "height": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "mimeType": {
+ "enum": [
+ "image/jpeg",
+ "image/png"
+ ],
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "width": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "path",
+ "mimeType",
+ "bytes",
+ "width",
+ "height",
+ "sha256"
+ ],
+ "type": "object"
+ },
+ "palette": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "quality": {
+ "enum": [
+ "space",
+ "structure",
+ "interference"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "quality",
+ "alt",
+ "description",
+ "palette",
+ "image"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "collection": {
+ "const": "cabinet-v1",
+ "type": "string"
+ },
+ "cost": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "provenance": {
+ "type": "string"
+ },
+ "remaining": {
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "replyExpected": {
+ "const": false,
+ "type": "boolean"
+ },
+ "revisited": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "collection",
+ "artwork",
+ "remaining",
+ "revisited",
+ "replyExpected",
+ "note",
+ "provenance",
+ "cost"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "note": {
+ "description": "Why the output is missing.",
+ "type": "string"
+ },
+ "retained": {
+ "description": "false: the output is no longer kept.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The treatment's output."
+ },
+ "retention": {
+ "description": "Your output retention setting: none, 24h or 30d.",
+ "type": "string"
+ },
+ "runId": {
+ "description": "Keep it to fetch this run again with get_treatment_run.",
+ "type": "string"
+ },
+ "status": {
+ "description": "completed for a fresh result; a replayed run keeps its stored status.",
+ "type": "string"
+ },
+ "treatment": {
+ "description": "Treatment id, e.g. context_bath.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}