{"openapi":"3.1.0","info":{"title":"ComputeSage direct agent HTTP","version":"1.0.0"},"servers":[{"url":"https://mcp.computesage.com"}],"externalDocs":{"description":"Human-facing API documentation","url":"https://computesage.com/api"},"security":[],"x-no-credentials":true,"x-cors":{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, OPTIONS","Access-Control-Allow-Headers":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability","Access-Control-Expose-Headers":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id","Vary":"Origin, Access-Control-Request-Headers"},"x-response-contract":{"contentType":"application/json; charset=utf-8","cacheControl":"no-store","requestIdHeader":"X-Request-Id","paymentHeaders":["PAYMENT-REQUIRED","PAYMENT-RESPONSE"],"reconciliationHeader":"X-StackBench-Ledger-Reconciliation"},"paths":{"/agent/v1/check-fit":{"post":{"operationId":"checkFit","x-resource-name":"check_deployment_fit","security":[],"parameters":[{"$ref":"#/components/parameters/Accept"},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/PaymentSignature"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckDeploymentFitInput"}}}},"responses":{"200":{"description":"Validated machine response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckDeploymentFitOutput"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"402":{"description":"Official x402 payment challenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"403":{"description":"Internal-only API path is not public","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"404":{"description":"Unknown route","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"405":{"description":"Method not allowed; response includes Allow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"406":{"description":"Accept must include application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"409":{"description":"Deterministic paid-call replay/conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"415":{"description":"POST Content-Type must be application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"422":{"description":"Strict schema or cross-field validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"503":{"description":"Fail-closed policy, backend, ledger, facilitator, or settlement availability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}},"options":{"operationId":"corsPreflight","responses":{"204":{"description":"No body","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","const":"GET, POST, OPTIONS"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","const":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability"}},"Access-Control-Expose-Headers":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}}},"/agent/v1/predict":{"post":{"operationId":"predict","x-resource-name":"predict_performance","security":[],"parameters":[{"$ref":"#/components/parameters/Accept"},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/PaymentSignature"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictPerformanceInput"}}}},"responses":{"200":{"description":"Validated machine response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictPerformanceOutput"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"402":{"description":"Official x402 payment challenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"403":{"description":"Internal-only API path is not public","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"404":{"description":"Unknown route","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"405":{"description":"Method not allowed; response includes Allow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"406":{"description":"Accept must include application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"409":{"description":"Deterministic paid-call replay/conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"415":{"description":"POST Content-Type must be application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"422":{"description":"Strict schema or cross-field validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"503":{"description":"Fail-closed policy, backend, ledger, facilitator, or settlement availability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}},"options":{"operationId":"corsPreflight","responses":{"204":{"description":"No body","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","const":"GET, POST, OPTIONS"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","const":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability"}},"Access-Control-Expose-Headers":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}}},"/agent/v1/recommend":{"post":{"operationId":"recommend","x-resource-name":"recommend_deployment","security":[],"parameters":[{"$ref":"#/components/parameters/Accept"},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/PaymentSignature"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendDeploymentInput"}}}},"responses":{"200":{"description":"Validated machine response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendDeploymentOutput"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"402":{"description":"Official x402 payment challenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"403":{"description":"Internal-only API path is not public","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"404":{"description":"Unknown route","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"405":{"description":"Method not allowed; response includes Allow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"406":{"description":"Accept must include application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"409":{"description":"Deterministic paid-call replay/conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"415":{"description":"POST Content-Type must be application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"422":{"description":"Strict schema or cross-field validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"503":{"description":"Fail-closed policy, backend, ledger, facilitator, or settlement availability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}},"options":{"operationId":"corsPreflight","responses":{"204":{"description":"No body","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","const":"GET, POST, OPTIONS"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","const":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability"}},"Access-Control-Expose-Headers":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}}},"/agent/v1/launch-config":{"post":{"operationId":"launchConfig","x-resource-name":"generate_launch_config","security":[],"parameters":[{"$ref":"#/components/parameters/Accept"},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/PaymentSignature"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateLaunchConfigInput"}}}},"responses":{"200":{"description":"Validated machine response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateLaunchConfigOutput"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"402":{"description":"Official x402 payment challenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"403":{"description":"Internal-only API path is not public","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"404":{"description":"Unknown route","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"405":{"description":"Method not allowed; response includes Allow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"406":{"description":"Accept must include application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"409":{"description":"Deterministic paid-call replay/conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"415":{"description":"POST Content-Type must be application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"422":{"description":"Strict schema or cross-field validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"503":{"description":"Fail-closed policy, backend, ledger, facilitator, or settlement availability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}},"options":{"operationId":"corsPreflight","responses":{"204":{"description":"No body","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","const":"GET, POST, OPTIONS"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","const":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability"}},"Access-Control-Expose-Headers":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}}},"/agent/v1/evidence/export":{"get":{"operationId":"evidenceExport","x-resource-name":"evidence_export","security":[],"parameters":[{"$ref":"#/components/parameters/Accept"},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/PaymentSignature"},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":160}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":100000,"default":0}}],"responses":{"200":{"description":"Validated machine response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceExportOutput"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"402":{"description":"Official x402 payment challenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"403":{"description":"Internal-only API path is not public","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"404":{"description":"Unknown route","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"405":{"description":"Method not allowed; response includes Allow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"406":{"description":"Accept must include application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"409":{"description":"Deterministic paid-call replay/conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"415":{"description":"POST Content-Type must be application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"422":{"description":"Strict schema or cross-field validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"503":{"description":"Fail-closed policy, backend, ledger, facilitator, or settlement availability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}},"options":{"operationId":"corsPreflight","responses":{"204":{"description":"No body","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","const":"GET, POST, OPTIONS"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","const":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability"}},"Access-Control-Expose-Headers":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}}},"/agent/v1/products/agent-commerce-blueprint":{"get":{"operationId":"purchaseAgentCommerceBlueprint","x-resource-name":"agent_commerce_blueprint","description":"One-time x402 checkout. The settled response is a private, bounded JSON delivery representation; archive fields and examples are intentionally omitted from this public contract.","security":[],"parameters":[{"$ref":"#/components/parameters/Accept"},{"$ref":"#/components/parameters/RequestId"},{"$ref":"#/components/parameters/PaymentSignature"}],"responses":{"200":{"description":"Validated machine response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"402":{"description":"Official x402 payment challenge","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"403":{"description":"Internal-only API path is not public","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"404":{"description":"Unknown route","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"405":{"description":"Method not allowed; response includes Allow","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"406":{"description":"Accept must include application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"409":{"description":"Deterministic paid-call replay/conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"415":{"description":"POST Content-Type must be application/json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"422":{"description":"Strict schema or cross-field validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}},"503":{"description":"Fail-closed policy, backend, ledger, facilitator, or settlement availability","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}},"headers":{"Cache-Control":{"schema":{"type":"string","const":"no-store"}},"Content-Type":{"schema":{"type":"string","const":"application/json; charset=utf-8"}},"X-Request-Id":{"schema":{"type":"string","minLength":1,"maxLength":200}},"PAYMENT-REQUIRED":{"schema":{"type":"string"}},"PAYMENT-RESPONSE":{"schema":{"type":"string"}},"X-StackBench-Ledger-Reconciliation":{"schema":{"type":"string","enum":["settled","pending"]}},"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Expose-Headers":{"schema":{"type":"string","const":"PAYMENT-REQUIRED, PAYMENT-RESPONSE, X-StackBench-Ledger-Reconciliation, X-Request-Id"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}},"options":{"operationId":"corsPreflight","responses":{"204":{"description":"No body","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string","const":"*"}},"Access-Control-Allow-Methods":{"schema":{"type":"string","const":"GET, POST, OPTIONS"}},"Access-Control-Allow-Headers":{"schema":{"type":"string","const":"Accept, Content-Type, Payment-Signature, X-Request-Id, Idempotency-Key, X-StackBench-Commerce-Capability"}},"Access-Control-Expose-Headers":{"schema":{"type":"string"}},"Vary":{"schema":{"type":"string","const":"Origin, Access-Control-Request-Headers"}}}}}}}},"x-commerce-paths":{"/commerce/agent-commerce-blueprint/readiness":{"get":{"operationId":"getAgentCommerceCheckoutReadiness","security":[],"responses":{"200":{"description":"Closed payment-rail availability projection","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["x402_available","stripe_available"],"properties":{"x402_available":{"type":"boolean"},"stripe_available":{"type":"boolean"}}}}}},"405":{"description":"GET required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/commerce/agent-commerce-blueprint/orders":{"post":{"operationId":"createAgentCommerceOrder","security":[],"parameters":[{"name":"Accept","in":"header","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommerceOrderCreateInput"}}}},"responses":{"200":{"description":"Idempotent existing order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommerceOrderCreateOutput"}}}},"201":{"description":"Order created; capability is returned once","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommerceOrderCreateOutput"}}}},"400":{"description":"Missing idempotency key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"403":{"description":"Cross-origin request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"415":{"description":"JSON required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"422":{"description":"Strict order validation failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Order or Stripe configuration unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/commerce/agent-commerce-blueprint/orders/{order_id}/status":{"get":{"operationId":"getAgentCommerceOrderStatus","security":[{"commerceCapability":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-StackBench-Commerce-Capability","in":"header","required":false,"schema":{"type":"string","minLength":32,"maxLength":256}}],"responses":{"200":{"description":"Bounded order status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommerceOrderStatusOutput"}}}},"401":{"description":"Capability required or conflicting","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"404":{"description":"Opaque order not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"410":{"description":"Expired order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Order service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/commerce/agent-commerce-blueprint/orders/{order_id}/download":{"get":{"operationId":"downloadAgentCommerceBlueprint","security":[{"commerceCapability":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-StackBench-Commerce-Capability","in":"header","required":false,"schema":{"type":"string","minLength":32,"maxLength":256}}],"responses":{"200":{"description":"Canonical protected gzip archive","content":{"application/gzip":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Capability required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"409":{"description":"Entitlement not ready","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"410":{"description":"Download limit or expiry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Archive/order unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/commerce/agent-commerce-blueprint/orders/{order_id}/synthetic":{"post":{"operationId":"markAgentCommerceReleaseProbeSynthetic","description":"Operator-only, pre-settlement designation for funded release probes. Buyers cannot set or clear this marker.","security":[{"monetizationInternal":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false}}}},"responses":{"200":{"description":"Order irreversibly excluded from revenue and commission counts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"403":{"description":"Operator authority required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"409":{"description":"Order already settled or otherwise ineligible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"422":{"description":"Empty JSON object required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Order service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/commerce/agent-commerce-blueprint/orders/{order_id}/stripe-reversal-check":{"post":{"operationId":"checkAgentCommerceStripeReversal","description":"Operator-only, provider-retrieved refund/dispute check required immediately before Stripe commission eligibility or payout.","security":[{"monetizationInternal":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false}}}},"responses":{"200":{"description":"Bounded clear or reversed state recorded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"403":{"description":"Operator authority required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"409":{"description":"Provider evidence is ambiguous or does not match the settled order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"422":{"description":"Empty JSON object required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Stripe or order service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/commerce/stripe/webhook":{"post":{"operationId":"receiveStripeWebhook","security":[],"parameters":[{"name":"Stripe-Signature","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":1024}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeWebhookEnvelope"}}}},"responses":{"200":{"description":"Verified event accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"400":{"description":"Signature or binding rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"413":{"description":"Webhook too large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Stripe/order configuration unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}},"/agent/v1/orders/{order_id}/x402":{"get":{"operationId":"payAgentCommerceOrderWithX402","description":"Order-bound official x402 v2 exact checkout. The server-created order/capability binding is included in the payment requirements before facilitator settlement.","security":[{"commerceCapability":[]}],"parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"X-StackBench-Commerce-Capability","in":"header","required":false,"schema":{"type":"string","minLength":32,"maxLength":256}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Optional comparison assertion; the server derives the order key from the path."}},{"name":"Payment-Signature","in":"header","required":false,"schema":{"type":"string","description":"Official x402 v2 payment authorization returned after the 402 challenge."}}],"responses":{"200":{"description":"Canonical private archive delivery representation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"401":{"description":"Capability/order binding required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"402":{"description":"Official x402 payment challenge containing the order binding","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"409":{"description":"Order/payment replay or binding conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"410":{"description":"Order expired or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}},"503":{"description":"Facilitator, ledger, or settlement reconciliation unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonDocument"}}}}}}}},"components":{"parameters":{"Accept":{"name":"Accept","in":"header","required":true,"schema":{"type":"string","pattern":"(^|,)\\s*application/json(?:;|,|$)"}},"RequestId":{"name":"X-Request-Id","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":200}},"PaymentSignature":{"name":"Payment-Signature","in":"header","required":false,"schema":{"type":"string","minLength":1}},"CommerceCapability":{"name":"X-StackBench-Commerce-Capability","in":"header","required":false,"schema":{"type":"string","minLength":32,"maxLength":256}}},"securitySchemes":{"commerceCapability":{"type":"apiKey","in":"header","name":"X-StackBench-Commerce-Capability"},"monetizationInternal":{"type":"apiKey","in":"header","name":"x-stackbench-monetization-internal"}},"schemas":{"JsonDocument":{"type":"object","additionalProperties":true},"CheckDeploymentFitInput":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":200},"hardware_system":{"type":"string","minLength":1,"maxLength":200},"quantization":{"nullable":true,"type":"string","minLength":1,"maxLength":120},"engine":{"nullable":true,"type":"string","minLength":1,"maxLength":120},"context_length":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"default":1,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"max_evidence":{"default":12,"type":"integer","minimum":1,"maximum":50}},"required":["model","hardware_system","context_length","concurrency","max_evidence"],"additionalProperties":false},"PredictPerformanceInput":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":240},"hardware_system":{"type":"string","minLength":1,"maxLength":240},"quantization":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"engine":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"engine_version":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"kv_cache_type_k":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"kv_cache_type_v":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"prompt_tokens":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"default":1,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"},"requested_metrics":{"default":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"],"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"max_evidence":{"default":12,"type":"integer","minimum":1,"maximum":50}},"required":["model","hardware_system","prompt_tokens","concurrency","requested_metrics","max_evidence"],"additionalProperties":false},"RecommendDeploymentInput":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":240},"hardware_system":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"mode":{"default":"configuration","type":"string","enum":["configuration","hardware_experimental"]},"quantization":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"engine":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"engine_version":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"prompt_tokens":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"default":1,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"},"candidate_kv_formats":{"nullable":true,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"minimum_prefill_tok_s":{"nullable":true,"type":"number","minimum":0,"exclusiveMinimum":true},"minimum_decode_tok_s":{"nullable":true,"type":"number","minimum":0,"exclusiveMinimum":true},"maximum_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"maximum_power_watts":{"nullable":true,"type":"number","minimum":0,"exclusiveMinimum":true},"objective":{"default":"balanced","type":"string","enum":["balanced","maximize_decode","maximize_prefill","minimize_vram","minimize_power","minimize_capex","minimize_tco","maximize_decode_per_dollar","maximize_prefill_per_dollar"]},"evidence_policy":{"default":"include_public","type":"string","enum":["verified_only","include_public","all"]},"constraint_policy":{"default":"point_estimate","type":"string","enum":["point_estimate","conservative"]},"recommendation_scope":{"default":"full","type":"string","enum":["full","performance_only"]},"quality_policy":{"default":"prefer","type":"string","enum":["prefer","require","ignore"]},"quality_evidence_policy":{"default":"allow_calibrated_estimates","type":"string","enum":["allow_calibrated_estimates","allow_cross_model_estimates","measured_only"]},"workload_profile":{"nullable":true,"type":"string","minLength":1,"maxLength":120},"workload_profile_version":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"quality_thresholds":{"nullable":true,"maxItems":30,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","minLength":1,"maxLength":120},"unit":{"type":"string","minLength":1,"maxLength":80},"direction":{"type":"string","enum":["higher_is_better","lower_is_better"]},"value":{"type":"number"}},"required":["dimension","unit","direction","value"],"additionalProperties":false}},"quality_policy_version":{"default":"planner-quality-policy-v2","type":"string","minLength":1,"maxLength":120},"max_results":{"default":5,"type":"integer","minimum":1,"maximum":5},"budget_amount":{"nullable":true,"type":"number","minimum":0},"budget_currency":{"default":"USD"},"maximum_tco_amount":{"nullable":true,"type":"number","minimum":0},"electricity_rate_per_kwh":{"default":0.18,"type":"number","minimum":0},"tco_years":{"default":3,"type":"number","minimum":0,"exclusiveMinimum":true,"maximum":20},"utilization_hours_per_day":{"default":8,"type":"number","minimum":0,"maximum":24},"utilization_days_per_year":{"default":365,"type":"number","minimum":0,"maximum":366},"cost_policy":{"default":"latest_official","type":"string","enum":["latest_official","latest_any","manual_only","market_preferred","market_only","market_override_only"]},"allow_manual_market_override":{"default":false,"type":"boolean"},"ownership_mode":{"default":"purchase","type":"string","enum":["purchase","owned"]},"manual_hardware_costs":{"nullable":true,"type":"object","additionalProperties":{"type":"number","minimum":0}},"economic_materiality_pct":{"default":2,"type":"number","minimum":0,"maximum":100},"economic_materiality_amount":{"default":25,"type":"number","minimum":0},"materiality_tiebreaker":{"default":"minimize_power","type":"string","enum":["balanced","maximize_decode","maximize_prefill","minimize_vram","minimize_power"]}},"required":["model","mode","prompt_tokens","concurrency","objective","evidence_policy","constraint_policy","recommendation_scope","quality_policy","quality_evidence_policy","quality_policy_version","max_results","budget_currency","electricity_rate_per_kwh","tco_years","utilization_hours_per_day","utilization_days_per_year","cost_policy","allow_manual_market_override","ownership_mode","economic_materiality_pct","economic_materiality_amount","materiality_tiebreaker"],"additionalProperties":false},"GenerateLaunchConfigInput":{"type":"object","properties":{"runtime":{"type":"string","enum":["vllm","llama.cpp"]},"model":{"type":"string","minLength":1,"maxLength":240},"hardware_system":{"type":"string","minLength":1,"maxLength":240},"prompt_tokens":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"quantization":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"engine_version":{"nullable":true,"type":"string","minLength":1,"maxLength":240},"decode_context_depth":{"type":"integer","minimum":0,"maximum":9007199254740991},"batch_size":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"default":1,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"},"candidate_kv_formats":{"nullable":true},"minimum_prefill_tok_s":{"type":"number","minimum":0,"exclusiveMinimum":true},"minimum_decode_tok_s":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum_vram_bytes":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"maximum_power_watts":{"type":"number","minimum":0,"exclusiveMinimum":true},"objective":{"default":"balanced","type":"string","enum":["balanced","maximize_decode","maximize_prefill","minimize_vram","minimize_power","minimize_capex","minimize_tco","maximize_decode_per_dollar","maximize_prefill_per_dollar"]},"constraint_policy":{"default":"point_estimate","type":"string","enum":["point_estimate","conservative"]},"evidence_policy":{"default":"include_public","type":"string","enum":["verified_only","include_public","all"]}},"required":["runtime","model","hardware_system","prompt_tokens","concurrency","objective","constraint_policy","evidence_policy"],"additionalProperties":false},"EvidenceExportQuery":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":160},"limit":{"default":20,"type":"integer","minimum":1,"maximum":50},"offset":{"default":0,"type":"integer","minimum":0,"maximum":100000}},"required":["q","limit","offset"],"additionalProperties":false},"PaymentReceipt":{"oneOf":[{"type":"object","additionalProperties":false,"required":["x402_version","scheme","network","asset","amount","decimals","transaction","payer","pay_to","verified","settled"],"properties":{"x402_version":{"const":2},"scheme":{"const":"exact"},"network":{"const":"eip155:8453"},"asset":{"const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"amount":{"type":"string","pattern":"^[0-9]+$"},"decimals":{"const":6},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"const":true},"settled":{"const":true}}},{"type":"object","additionalProperties":false,"required":["x402_version","scheme","network","asset","amount","decimals","transaction","payer","pay_to","verified","settled"],"properties":{"x402_version":{"const":2},"scheme":{"const":"exact"},"network":{"const":"eip155:84532"},"asset":{"const":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"},"amount":{"type":"string","pattern":"^[0-9]+$"},"decimals":{"const":6},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"const":true},"settled":{"const":true}}}]},"EvidenceExportOutput":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":1,"maximum":50},"offset":{"type":"integer","minimum":0,"maximum":100000},"results":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["benchmark","failure"]},"evidence_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model":{"nullable":true,"type":"string","maxLength":500},"hardware_system":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"measured_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"evidence_grade":{"nullable":true,"type":"string","maxLength":500},"verification_status":{"nullable":true,"type":"string","maxLength":500},"metrics":{"nullable":true,"type":"object","properties":{"prefill_tok_s":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0}},"required":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"],"additionalProperties":false},"failure_category":{"nullable":true,"type":"string","maxLength":500},"failure_stage":{"nullable":true,"type":"string","maxLength":500},"failure_error_code":{"nullable":true,"type":"string","maxLength":500},"source_type":{"nullable":true,"type":"string","maxLength":500},"source_name":{"nullable":true,"type":"string","maxLength":500},"source_key":{"nullable":true,"type":"string","maxLength":500},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500}},"required":["kind","evidence_id","experiment_id","model","hardware_system","engine","quantization","status","measured_at","evidence_grade","verification_status","metrics","failure_category","failure_stage","failure_error_code","source_type","source_name","source_key","source_url","attribution_required","publication_caveat"],"additionalProperties":false}},"error_code":{"type":"string","nullable":true,"enum":[null]},"message":{"type":"string","maxLength":500},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","total","limit","offset","results","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["unavailable","error"]},"total":{"type":"string","nullable":true,"enum":[null]},"limit":{"type":"integer","minimum":1,"maximum":50},"offset":{"type":"integer","minimum":0,"maximum":100000},"results":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["benchmark","failure"]},"evidence_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model":{"nullable":true,"type":"string","maxLength":500},"hardware_system":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"measured_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"evidence_grade":{"nullable":true,"type":"string","maxLength":500},"verification_status":{"nullable":true,"type":"string","maxLength":500},"metrics":{"nullable":true,"type":"object","properties":{"prefill_tok_s":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0}},"required":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"],"additionalProperties":false},"failure_category":{"nullable":true,"type":"string","maxLength":500},"failure_stage":{"nullable":true,"type":"string","maxLength":500},"failure_error_code":{"nullable":true,"type":"string","maxLength":500},"source_type":{"nullable":true,"type":"string","maxLength":500},"source_name":{"nullable":true,"type":"string","maxLength":500},"source_key":{"nullable":true,"type":"string","maxLength":500},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500}},"required":["kind","evidence_id","experiment_id","model","hardware_system","engine","quantization","status","measured_at","evidence_grade","verification_status","metrics","failure_category","failure_stage","failure_error_code","source_type","source_name","source_key","source_url","attribution_required","publication_caveat"],"additionalProperties":false}},"error_code":{"type":"string","minLength":1,"maxLength":120},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","total","limit","offset","results","error_code","message","payment_receipt"],"additionalProperties":false}]},"CheckDeploymentFitOutput":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"result":{"type":"object","properties":{"model":{"type":"string","maxLength":500},"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"context_length":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fit_probability":{"type":"number"},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"known_successes":{"type":"integer","minimum":0,"maximum":9007199254740991},"known_capacity_failures":{"type":"integer","minimum":0,"maximum":9007199254740991},"predicted_peak_memory_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"available_accelerator_memory_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"method":{"type":"string","maxLength":500},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","maxLength":500},"fit_outcome":{"type":"string","enum":["success","capacity_failure","other_failure","unknown"]},"context_length":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"peak_ram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"failure_categories":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"source_type":{"nullable":true,"type":"string","maxLength":500},"source_key":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"provenance_label":{"nullable":true,"type":"string","maxLength":500}},"required":["experiment_id","status","fit_outcome","context_length","concurrency","evidence_grade","verification_status","source_name","source_url","distance_score","evidence_weight","peak_vram_bytes","peak_ram_bytes","failure_categories","source_type","source_key","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","quality_flags","notes","provenance_label"],"additionalProperties":false}}},"required":["model","hardware_system","quantization","engine","context_length","concurrency","fit_probability","confidence_score","confidence_label","known_successes","known_capacity_failures","predicted_peak_memory_bytes","available_accelerator_memory_bytes","method","caveats","evidence"],"additionalProperties":false},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["unavailable"]},"result":{"type":"string","nullable":true,"enum":[null]},"error_code":{"type":"string","enum":["backend_not_configured","backend_unavailable","backend_error","backend_invalid_response"]},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["error"]},"result":{"type":"string","nullable":true,"enum":[null]},"error_code":{"type":"string","enum":["backend_not_configured","backend_unavailable","backend_error","backend_invalid_response"]},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","error_code","message","payment_receipt"],"additionalProperties":false}]},"PredictPerformanceOutput":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"result":{"type":"object","properties":{"model":{"type":"string","maxLength":500},"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_k":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_v":{"nullable":true,"type":"string","maxLength":500},"prompt_tokens":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"decode_context_depth":{"type":"integer","minimum":0,"maximum":9007199254740991},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"},"method":{"type":"string","maxLength":500},"method_version":{"type":"string","maxLength":500},"overall_confidence_score":{"type":"number"},"overall_confidence_label":{"type":"string","maxLength":500},"metrics":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"metric_name":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"unit":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"method":{"type":"string","maxLength":500},"evidence_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"interpolation_mode":{"type":"string","enum":["exact","interpolation","extrapolation","single_point"]},"geometry_class":{"type":"string","enum":["exact","interpolation","extrapolation_low","extrapolation_high","single_point"]},"target_axis_value":{"type":"integer","minimum":0,"maximum":9007199254740991},"supporting_axis_values":{"maxItems":32,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"prediction_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["metric_name","point_estimate","lower_bound","upper_bound","unit","confidence_score","confidence_label","method","evidence_count","interpolation_mode","geometry_class","target_axis_value","supporting_axis_values","prediction_id"],"additionalProperties":false}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}}},"required":["model","hardware_system","quantization","engine","engine_version","kv_cache_type_k","kv_cache_type_v","prompt_tokens","decode_context_depth","batch_size","ubatch_size","concurrency","flash_attention","method","method_version","overall_confidence_score","overall_confidence_label","metrics","evidence","caveats"],"additionalProperties":false},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"error_code":{"type":"string","nullable":true,"enum":[null]},"message":{"type":"string","maxLength":500},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["partial"]},"result":{"type":"object","properties":{"model":{"type":"string","maxLength":500},"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_k":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_v":{"nullable":true,"type":"string","maxLength":500},"prompt_tokens":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"decode_context_depth":{"type":"integer","minimum":0,"maximum":9007199254740991},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"},"method":{"type":"string","maxLength":500},"method_version":{"type":"string","maxLength":500},"overall_confidence_score":{"type":"number"},"overall_confidence_label":{"type":"string","maxLength":500},"metrics":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"metric_name":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"unit":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"method":{"type":"string","maxLength":500},"evidence_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"interpolation_mode":{"type":"string","enum":["exact","interpolation","extrapolation","single_point"]},"geometry_class":{"type":"string","enum":["exact","interpolation","extrapolation_low","extrapolation_high","single_point"]},"target_axis_value":{"type":"integer","minimum":0,"maximum":9007199254740991},"supporting_axis_values":{"maxItems":32,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"prediction_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["metric_name","point_estimate","lower_bound","upper_bound","unit","confidence_score","confidence_label","method","evidence_count","interpolation_mode","geometry_class","target_axis_value","supporting_axis_values","prediction_id"],"additionalProperties":false}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}}},"required":["model","hardware_system","quantization","engine","engine_version","kv_cache_type_k","kv_cache_type_v","prompt_tokens","decode_context_depth","batch_size","ubatch_size","concurrency","flash_attention","method","method_version","overall_confidence_score","overall_confidence_label","metrics","evidence","caveats"],"additionalProperties":false},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"error_code":{"type":"string","nullable":true,"enum":[null]},"message":{"type":"string","maxLength":500},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["no_result"]},"result":{"type":"string","nullable":true,"enum":[null]},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"error_code":{"type":"string","enum":["no_result"]},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["unavailable"]},"result":{"type":"string","nullable":true,"enum":[null]},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["error"]},"result":{"type":"string","nullable":true,"enum":[null]},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false}]},"RecommendDeploymentOutput":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"result":{"type":"object","properties":{"model":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["configuration","hardware_experimental"]},"objective":{"type":"string","enum":["balanced","maximize_decode","maximize_prefill","minimize_vram","minimize_power","minimize_capex","minimize_tco","maximize_decode_per_dollar","maximize_prefill_per_dollar"]},"recommendation_scope":{"type":"string","enum":["full","performance_only"]},"selected":{"nullable":true,"type":"object","properties":{"rank":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"score":{"type":"number"},"feasible":{"type":"boolean"},"conservative_feasible":{"type":"boolean"},"pareto_frontier":{"type":"boolean"},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"evidence_geometry":{"type":"string","maxLength":500},"fit_probability":{"nullable":true,"type":"number"},"fit_confidence_score":{"nullable":true,"type":"number"},"available_accelerator_memory_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"configuration":{"type":"object","properties":{"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_k":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_v":{"nullable":true,"type":"string","maxLength":500},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"}},"required":["hardware_system","quantization","engine","engine_version","kv_cache_type_k","kv_cache_type_v","batch_size","ubatch_size","concurrency","flash_attention"],"additionalProperties":false},"metrics":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"metric_name":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"unit":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"method":{"type":"string","maxLength":500},"evidence_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"interpolation_mode":{"type":"string","enum":["exact","interpolation","extrapolation","single_point"]},"geometry_class":{"type":"string","enum":["exact","interpolation","extrapolation_low","extrapolation_high","single_point"]},"target_axis_value":{"type":"integer","minimum":0,"maximum":9007199254740991},"supporting_axis_values":{"maxItems":32,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"prediction_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["metric_name","point_estimate","lower_bound","upper_bound","unit","confidence_score","confidence_label","method","evidence_count","interpolation_mode","geometry_class","target_axis_value","supporting_axis_values","prediction_id"],"additionalProperties":false}},"constraints":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":500},"operator":{"type":"string","enum":[">=","<="]},"target":{"type":"number"},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"passed":{"type":"boolean"},"conservative_passed":{"type":"boolean"},"unit":{"type":"string","maxLength":500}},"required":["name","operator","target","point_estimate","lower_bound","upper_bound","passed","conservative_passed","unit"],"additionalProperties":false}},"rationale":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence_experiment_ids":{"maxItems":12,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"economics":{"nullable":true,"type":"object","properties":{"acquisition_cost":{"nullable":true,"type":"number","minimum":0},"energy_cost":{"nullable":true,"type":"number","minimum":0},"tco":{"nullable":true,"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"electricity_rate_per_kwh":{"type":"number","minimum":0},"annual_energy_kwh":{"nullable":true,"type":"number","minimum":0},"tco_years":{"type":"number","minimum":0,"exclusiveMinimum":true},"utilization_hours_per_day":{"type":"number","minimum":0},"utilization_days_per_year":{"type":"number","minimum":0},"price_observation_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"price_kind":{"nullable":true,"type":"string","maxLength":500},"price_observed_at":{"nullable":true,"type":"string","maxLength":500},"price_source_name":{"nullable":true,"type":"string","maxLength":500},"price_source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"price_scope":{"nullable":true,"type":"string","maxLength":500},"cost_basis":{"type":"string","maxLength":500},"decode_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"prefill_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"economically_equivalent_to_best":{"type":"boolean"},"economic_delta_from_best":{"nullable":true,"type":"number"},"economic_delta_pct_from_best":{"nullable":true,"type":"number"},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}}},"required":["acquisition_cost","energy_cost","tco","currency","electricity_rate_per_kwh","annual_energy_kwh","tco_years","utilization_hours_per_day","utilization_days_per_year","price_observation_id","price_kind","price_observed_at","price_source_name","price_source_url","price_scope","cost_basis","decode_tok_s_per_tco_dollar","prefill_tok_s_per_tco_dollar","economically_equivalent_to_best","economic_delta_from_best","economic_delta_pct_from_best","caveats"],"additionalProperties":false},"available_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"omitted_claims":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}}},"required":["rank","score","feasible","conservative_feasible","pareto_frontier","confidence_score","confidence_label","evidence_geometry","fit_probability","fit_confidence_score","available_accelerator_memory_bytes","configuration","metrics","constraints","rationale","caveats","evidence_experiment_ids","economics","available_metrics","missing_metrics","omitted_claims","evidence"],"additionalProperties":false},"alternatives":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"rank":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"score":{"type":"number"},"feasible":{"type":"boolean"},"conservative_feasible":{"type":"boolean"},"pareto_frontier":{"type":"boolean"},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"evidence_geometry":{"type":"string","maxLength":500},"fit_probability":{"nullable":true,"type":"number"},"fit_confidence_score":{"nullable":true,"type":"number"},"available_accelerator_memory_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"configuration":{"type":"object","properties":{"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_k":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_v":{"nullable":true,"type":"string","maxLength":500},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"}},"required":["hardware_system","quantization","engine","engine_version","kv_cache_type_k","kv_cache_type_v","batch_size","ubatch_size","concurrency","flash_attention"],"additionalProperties":false},"metrics":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"metric_name":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"unit":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"method":{"type":"string","maxLength":500},"evidence_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"interpolation_mode":{"type":"string","enum":["exact","interpolation","extrapolation","single_point"]},"geometry_class":{"type":"string","enum":["exact","interpolation","extrapolation_low","extrapolation_high","single_point"]},"target_axis_value":{"type":"integer","minimum":0,"maximum":9007199254740991},"supporting_axis_values":{"maxItems":32,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"prediction_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["metric_name","point_estimate","lower_bound","upper_bound","unit","confidence_score","confidence_label","method","evidence_count","interpolation_mode","geometry_class","target_axis_value","supporting_axis_values","prediction_id"],"additionalProperties":false}},"constraints":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":500},"operator":{"type":"string","enum":[">=","<="]},"target":{"type":"number"},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"passed":{"type":"boolean"},"conservative_passed":{"type":"boolean"},"unit":{"type":"string","maxLength":500}},"required":["name","operator","target","point_estimate","lower_bound","upper_bound","passed","conservative_passed","unit"],"additionalProperties":false}},"rationale":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence_experiment_ids":{"maxItems":12,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"economics":{"nullable":true,"type":"object","properties":{"acquisition_cost":{"nullable":true,"type":"number","minimum":0},"energy_cost":{"nullable":true,"type":"number","minimum":0},"tco":{"nullable":true,"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"electricity_rate_per_kwh":{"type":"number","minimum":0},"annual_energy_kwh":{"nullable":true,"type":"number","minimum":0},"tco_years":{"type":"number","minimum":0,"exclusiveMinimum":true},"utilization_hours_per_day":{"type":"number","minimum":0},"utilization_days_per_year":{"type":"number","minimum":0},"price_observation_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"price_kind":{"nullable":true,"type":"string","maxLength":500},"price_observed_at":{"nullable":true,"type":"string","maxLength":500},"price_source_name":{"nullable":true,"type":"string","maxLength":500},"price_source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"price_scope":{"nullable":true,"type":"string","maxLength":500},"cost_basis":{"type":"string","maxLength":500},"decode_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"prefill_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"economically_equivalent_to_best":{"type":"boolean"},"economic_delta_from_best":{"nullable":true,"type":"number"},"economic_delta_pct_from_best":{"nullable":true,"type":"number"},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}}},"required":["acquisition_cost","energy_cost","tco","currency","electricity_rate_per_kwh","annual_energy_kwh","tco_years","utilization_hours_per_day","utilization_days_per_year","price_observation_id","price_kind","price_observed_at","price_source_name","price_source_url","price_scope","cost_basis","decode_tok_s_per_tco_dollar","prefill_tok_s_per_tco_dollar","economically_equivalent_to_best","economic_delta_from_best","economic_delta_pct_from_best","caveats"],"additionalProperties":false},"available_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"omitted_claims":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}}},"required":["rank","score","feasible","conservative_feasible","pareto_frontier","confidence_score","confidence_label","evidence_geometry","fit_probability","fit_confidence_score","available_accelerator_memory_bytes","configuration","metrics","constraints","rationale","caveats","evidence_experiment_ids","economics","available_metrics","missing_metrics","omitted_claims","evidence"],"additionalProperties":false}},"candidates_considered":{"type":"integer","minimum":0,"maximum":9007199254740991},"feasible_candidates":{"type":"integer","minimum":0,"maximum":9007199254740991},"method":{"type":"string","maxLength":500},"method_version":{"type":"string","maxLength":500},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"quality_policy":{"type":"string","enum":["prefer","require","ignore"]},"quality_evidence_policy":{"type":"string","enum":["allow_calibrated_estimates","allow_cross_model_estimates","measured_only"]},"workload_profile":{"nullable":true,"type":"string","maxLength":500},"workload_profile_version":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"quality_decision_trace":{"nullable":true,"type":"object","properties":{"algorithm_version":{"type":"string","maxLength":500},"quality_policy":{"type":"string","enum":["prefer","require","ignore"]},"quality_evidence_policy":{"type":"string","enum":["allow_calibrated_estimates","allow_cross_model_estimates","measured_only"]},"policy_version":{"type":"string","maxLength":500},"caveat":{"type":"string","maxLength":500}},"required":["algorithm_version","quality_policy","quality_evidence_policy","policy_version","caveat"],"additionalProperties":false}},"required":["model","mode","objective","recommendation_scope","selected","alternatives","candidates_considered","feasible_candidates","method","method_version","caveats","quality_policy","quality_evidence_policy","workload_profile","workload_profile_version","quality_decision_trace"],"additionalProperties":false},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"error_code":{"type":"string","nullable":true,"enum":[null]},"message":{"type":"string","maxLength":500},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["partial"]},"result":{"type":"object","properties":{"model":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["configuration","hardware_experimental"]},"objective":{"type":"string","enum":["balanced","maximize_decode","maximize_prefill","minimize_vram","minimize_power","minimize_capex","minimize_tco","maximize_decode_per_dollar","maximize_prefill_per_dollar"]},"recommendation_scope":{"type":"string","enum":["full","performance_only"]},"selected":{"nullable":true,"type":"object","properties":{"rank":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"score":{"type":"number"},"feasible":{"type":"boolean"},"conservative_feasible":{"type":"boolean"},"pareto_frontier":{"type":"boolean"},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"evidence_geometry":{"type":"string","maxLength":500},"fit_probability":{"nullable":true,"type":"number"},"fit_confidence_score":{"nullable":true,"type":"number"},"available_accelerator_memory_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"configuration":{"type":"object","properties":{"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_k":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_v":{"nullable":true,"type":"string","maxLength":500},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"}},"required":["hardware_system","quantization","engine","engine_version","kv_cache_type_k","kv_cache_type_v","batch_size","ubatch_size","concurrency","flash_attention"],"additionalProperties":false},"metrics":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"metric_name":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"unit":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"method":{"type":"string","maxLength":500},"evidence_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"interpolation_mode":{"type":"string","enum":["exact","interpolation","extrapolation","single_point"]},"geometry_class":{"type":"string","enum":["exact","interpolation","extrapolation_low","extrapolation_high","single_point"]},"target_axis_value":{"type":"integer","minimum":0,"maximum":9007199254740991},"supporting_axis_values":{"maxItems":32,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"prediction_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["metric_name","point_estimate","lower_bound","upper_bound","unit","confidence_score","confidence_label","method","evidence_count","interpolation_mode","geometry_class","target_axis_value","supporting_axis_values","prediction_id"],"additionalProperties":false}},"constraints":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":500},"operator":{"type":"string","enum":[">=","<="]},"target":{"type":"number"},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"passed":{"type":"boolean"},"conservative_passed":{"type":"boolean"},"unit":{"type":"string","maxLength":500}},"required":["name","operator","target","point_estimate","lower_bound","upper_bound","passed","conservative_passed","unit"],"additionalProperties":false}},"rationale":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence_experiment_ids":{"maxItems":12,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"economics":{"nullable":true,"type":"object","properties":{"acquisition_cost":{"nullable":true,"type":"number","minimum":0},"energy_cost":{"nullable":true,"type":"number","minimum":0},"tco":{"nullable":true,"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"electricity_rate_per_kwh":{"type":"number","minimum":0},"annual_energy_kwh":{"nullable":true,"type":"number","minimum":0},"tco_years":{"type":"number","minimum":0,"exclusiveMinimum":true},"utilization_hours_per_day":{"type":"number","minimum":0},"utilization_days_per_year":{"type":"number","minimum":0},"price_observation_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"price_kind":{"nullable":true,"type":"string","maxLength":500},"price_observed_at":{"nullable":true,"type":"string","maxLength":500},"price_source_name":{"nullable":true,"type":"string","maxLength":500},"price_source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"price_scope":{"nullable":true,"type":"string","maxLength":500},"cost_basis":{"type":"string","maxLength":500},"decode_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"prefill_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"economically_equivalent_to_best":{"type":"boolean"},"economic_delta_from_best":{"nullable":true,"type":"number"},"economic_delta_pct_from_best":{"nullable":true,"type":"number"},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}}},"required":["acquisition_cost","energy_cost","tco","currency","electricity_rate_per_kwh","annual_energy_kwh","tco_years","utilization_hours_per_day","utilization_days_per_year","price_observation_id","price_kind","price_observed_at","price_source_name","price_source_url","price_scope","cost_basis","decode_tok_s_per_tco_dollar","prefill_tok_s_per_tco_dollar","economically_equivalent_to_best","economic_delta_from_best","economic_delta_pct_from_best","caveats"],"additionalProperties":false},"available_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"omitted_claims":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}}},"required":["rank","score","feasible","conservative_feasible","pareto_frontier","confidence_score","confidence_label","evidence_geometry","fit_probability","fit_confidence_score","available_accelerator_memory_bytes","configuration","metrics","constraints","rationale","caveats","evidence_experiment_ids","economics","available_metrics","missing_metrics","omitted_claims","evidence"],"additionalProperties":false},"alternatives":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"rank":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"score":{"type":"number"},"feasible":{"type":"boolean"},"conservative_feasible":{"type":"boolean"},"pareto_frontier":{"type":"boolean"},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"evidence_geometry":{"type":"string","maxLength":500},"fit_probability":{"nullable":true,"type":"number"},"fit_confidence_score":{"nullable":true,"type":"number"},"available_accelerator_memory_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"configuration":{"type":"object","properties":{"hardware_system":{"type":"string","maxLength":500},"quantization":{"nullable":true,"type":"string","maxLength":500},"engine":{"nullable":true,"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_k":{"nullable":true,"type":"string","maxLength":500},"kv_cache_type_v":{"nullable":true,"type":"string","maxLength":500},"batch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"ubatch_size":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"concurrency":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"flash_attention":{"nullable":true,"type":"boolean"}},"required":["hardware_system","quantization","engine","engine_version","kv_cache_type_k","kv_cache_type_v","batch_size","ubatch_size","concurrency","flash_attention"],"additionalProperties":false},"metrics":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"metric_name":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"unit":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500},"method":{"type":"string","maxLength":500},"evidence_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"interpolation_mode":{"type":"string","enum":["exact","interpolation","extrapolation","single_point"]},"geometry_class":{"type":"string","enum":["exact","interpolation","extrapolation_low","extrapolation_high","single_point"]},"target_axis_value":{"type":"integer","minimum":0,"maximum":9007199254740991},"supporting_axis_values":{"maxItems":32,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"prediction_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["metric_name","point_estimate","lower_bound","upper_bound","unit","confidence_score","confidence_label","method","evidence_count","interpolation_mode","geometry_class","target_axis_value","supporting_axis_values","prediction_id"],"additionalProperties":false}},"constraints":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":500},"operator":{"type":"string","enum":[">=","<="]},"target":{"type":"number"},"point_estimate":{"type":"number"},"lower_bound":{"type":"number"},"upper_bound":{"type":"number"},"passed":{"type":"boolean"},"conservative_passed":{"type":"boolean"},"unit":{"type":"string","maxLength":500}},"required":["name","operator","target","point_estimate","lower_bound","upper_bound","passed","conservative_passed","unit"],"additionalProperties":false}},"rationale":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence_experiment_ids":{"maxItems":12,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"economics":{"nullable":true,"type":"object","properties":{"acquisition_cost":{"nullable":true,"type":"number","minimum":0},"energy_cost":{"nullable":true,"type":"number","minimum":0},"tco":{"nullable":true,"type":"number","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"electricity_rate_per_kwh":{"type":"number","minimum":0},"annual_energy_kwh":{"nullable":true,"type":"number","minimum":0},"tco_years":{"type":"number","minimum":0,"exclusiveMinimum":true},"utilization_hours_per_day":{"type":"number","minimum":0},"utilization_days_per_year":{"type":"number","minimum":0},"price_observation_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"price_kind":{"nullable":true,"type":"string","maxLength":500},"price_observed_at":{"nullable":true,"type":"string","maxLength":500},"price_source_name":{"nullable":true,"type":"string","maxLength":500},"price_source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"price_scope":{"nullable":true,"type":"string","maxLength":500},"cost_basis":{"type":"string","maxLength":500},"decode_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"prefill_tok_s_per_tco_dollar":{"nullable":true,"type":"number","minimum":0},"economically_equivalent_to_best":{"type":"boolean"},"economic_delta_from_best":{"nullable":true,"type":"number"},"economic_delta_pct_from_best":{"nullable":true,"type":"number"},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}}},"required":["acquisition_cost","energy_cost","tco","currency","electricity_rate_per_kwh","annual_energy_kwh","tco_years","utilization_hours_per_day","utilization_days_per_year","price_observation_id","price_kind","price_observed_at","price_source_name","price_source_url","price_scope","cost_basis","decode_tok_s_per_tco_dollar","prefill_tok_s_per_tco_dollar","economically_equivalent_to_best","economic_delta_from_best","economic_delta_pct_from_best","caveats"],"additionalProperties":false},"available_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"omitted_claims":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"evidence":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}}},"required":["rank","score","feasible","conservative_feasible","pareto_frontier","confidence_score","confidence_label","evidence_geometry","fit_probability","fit_confidence_score","available_accelerator_memory_bytes","configuration","metrics","constraints","rationale","caveats","evidence_experiment_ids","economics","available_metrics","missing_metrics","omitted_claims","evidence"],"additionalProperties":false}},"candidates_considered":{"type":"integer","minimum":0,"maximum":9007199254740991},"feasible_candidates":{"type":"integer","minimum":0,"maximum":9007199254740991},"method":{"type":"string","maxLength":500},"method_version":{"type":"string","maxLength":500},"caveats":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"quality_policy":{"type":"string","enum":["prefer","require","ignore"]},"quality_evidence_policy":{"type":"string","enum":["allow_calibrated_estimates","allow_cross_model_estimates","measured_only"]},"workload_profile":{"nullable":true,"type":"string","maxLength":500},"workload_profile_version":{"nullable":true,"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"quality_decision_trace":{"nullable":true,"type":"object","properties":{"algorithm_version":{"type":"string","maxLength":500},"quality_policy":{"type":"string","enum":["prefer","require","ignore"]},"quality_evidence_policy":{"type":"string","enum":["allow_calibrated_estimates","allow_cross_model_estimates","measured_only"]},"policy_version":{"type":"string","maxLength":500},"caveat":{"type":"string","maxLength":500}},"required":["algorithm_version","quality_policy","quality_evidence_policy","policy_version","caveat"],"additionalProperties":false}},"required":["model","mode","objective","recommendation_scope","selected","alternatives","candidates_considered","feasible_candidates","method","method_version","caveats","quality_policy","quality_evidence_policy","workload_profile","workload_profile_version","quality_decision_trace"],"additionalProperties":false},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"error_code":{"type":"string","nullable":true,"enum":[null]},"message":{"type":"string","maxLength":500},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["no_result"]},"result":{"type":"string","nullable":true,"enum":[null]},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"error_code":{"type":"string","enum":["no_result"]},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["unavailable"]},"result":{"type":"string","nullable":true,"enum":[null]},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["error"]},"result":{"type":"string","nullable":true,"enum":[null]},"missing_metrics":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":120}},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","missing_metrics","error_code","message","payment_receipt"],"additionalProperties":false}]},"GenerateLaunchConfigOutput":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"result":{"type":"object","properties":{"runtime":{"type":"string","enum":["vllm","llama.cpp"]},"candidate":{"type":"object","properties":{"rank":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":9007199254740991},"recommendation_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model":{"type":"string","maxLength":500},"hardware_system":{"type":"string","maxLength":500},"engine":{"type":"string","maxLength":500},"engine_version":{"nullable":true,"type":"string","maxLength":500},"evidence_geometry":{"type":"string","maxLength":500},"confidence_score":{"type":"number"},"confidence_label":{"type":"string","maxLength":500}},"required":["rank","recommendation_id","model","hardware_system","engine","engine_version","evidence_geometry","confidence_score","confidence_label"],"additionalProperties":false},"settings":{"minItems":16,"maxItems":40,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":80,"pattern":"^[a-z][a-z0-9_]*$"},"value":{"nullable":true,"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"classification":{"type":"string","enum":["evidence_backed","policy_default","unknown"]},"reason":{"type":"string","maxLength":500},"evidence_ids":{"maxItems":12,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["name","value","classification","reason","evidence_ids"],"additionalProperties":false}},"environment_placeholders":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[A-Z][A-Z0-9_]{0,31}$"}},"required":["name"],"additionalProperties":false}},"commands":{"type":"object","properties":{"runtime":{"type":"string","maxLength":500},"docker":{"type":"string","maxLength":500},"compose_yaml":{"type":"string","minLength":1,"maxLength":12000}},"required":["runtime","docker","compose_yaml"],"additionalProperties":false},"omitted_settings":{"maxItems":40,"type":"array","items":{"type":"string","maxLength":500}},"caveats":{"maxItems":40,"type":"array","items":{"type":"string","maxLength":500}},"evidence":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"experiment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"protocol":{"nullable":true,"type":"string","maxLength":500},"protocol_version":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"prompt_tokens":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"decode_context_depth":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"evidence_grade":{"type":"string","maxLength":500},"verification_status":{"type":"string","maxLength":500},"source_name":{"type":"string","maxLength":500},"model_variant_id":{"nullable":true,"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"model_artifact_sha256":{"nullable":true,"type":"string","pattern":"^[0-9a-fA-F]{64}$"},"source_url":{"nullable":true,"type":"string","maxLength":500,"format":"uri"},"source_key":{"nullable":true,"type":"string","maxLength":500},"status":{"nullable":true,"type":"string","maxLength":500},"publication_status":{"nullable":true,"type":"string","maxLength":500},"visibility":{"nullable":true,"type":"string","maxLength":500},"commercial_use_allowed":{"nullable":true,"type":"boolean"},"redistribution_allowed":{"nullable":true,"type":"boolean"},"attribution_required":{"nullable":true,"type":"boolean"},"publication_caveat":{"nullable":true,"type":"string","maxLength":500},"distance_score":{"type":"number"},"evidence_weight":{"type":"number"},"prefill_tok_s":{"nullable":true,"type":"number"},"prefill_tok_s_stddev":{"nullable":true,"type":"number"},"decode_tok_s":{"nullable":true,"type":"number"},"decode_tok_s_stddev":{"nullable":true,"type":"number"},"peak_vram_bytes":{"nullable":true,"type":"integer","minimum":0,"maximum":9007199254740991},"avg_power_watts":{"nullable":true,"type":"number","minimum":0},"quality_flags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":500}},"notes":{"nullable":true,"type":"string","maxLength":500},"legacy":{"type":"boolean"},"provenance_label":{"nullable":true,"type":"string","maxLength":500},"missing_metrics":{"maxItems":4,"type":"array","items":{"type":"string","enum":["prefill_tok_s","decode_tok_s","peak_vram_bytes","avg_power_watts"]}},"effective_prefill_tok_s":{"nullable":true,"type":"number"},"effective_prefill_method":{"nullable":true,"type":"string","maxLength":500},"quality":{"type":"object","properties":{"coverage":{"type":"string","enum":["exact_variant","estimated_variant","canonical_model_proxy","unavailable"]},"unavailable_reason":{"nullable":true,"type":"string","maxLength":500},"authority":{"type":"string","enum":["exact","estimated","proxy","unavailable"]}},"required":["coverage","unavailable_reason","authority"],"additionalProperties":false}},"required":["experiment_id","protocol","protocol_version","prompt_tokens","decode_context_depth","evidence_grade","verification_status","source_name","model_variant_id","model_artifact_sha256","source_url","source_key","status","publication_status","visibility","commercial_use_allowed","redistribution_allowed","attribution_required","publication_caveat","distance_score","evidence_weight","prefill_tok_s","prefill_tok_s_stddev","decode_tok_s","decode_tok_s_stddev","peak_vram_bytes","avg_power_watts","quality_flags","notes","legacy","provenance_label","missing_metrics","effective_prefill_tok_s","effective_prefill_method","quality"],"additionalProperties":false}},"evidence_experiment_ids":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["runtime","candidate","settings","environment_placeholders","commands","omitted_settings","caveats","evidence","evidence_experiment_ids"],"additionalProperties":false},"error_code":{"type":"string","nullable":true,"enum":[null]},"message":{"type":"string","maxLength":500},"payment_receipt":{"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["no_result"]},"result":{"type":"string","nullable":true,"enum":[null]},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["unsupported"]},"result":{"type":"string","nullable":true,"enum":[null]},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","error_code","message","payment_receipt"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["unavailable","error"]},"result":{"type":"string","nullable":true,"enum":[null]},"error_code":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.-]{0,119}$"},"message":{"type":"string","maxLength":500},"payment_receipt":{"nullable":true,"anyOf":[{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:8453"]},"asset":{"type":"string","enum":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false},{"type":"object","properties":{"x402_version":{"type":"number","enum":[2]},"scheme":{"type":"string","enum":["exact"]},"amount":{"type":"string","pattern":"^\\d+$"},"decimals":{"type":"number","enum":[6]},"transaction":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"payer":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pay_to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"verified":{"type":"boolean","enum":[true]},"settled":{"type":"boolean","enum":[true]},"network":{"type":"string","enum":["eip155:84532"]},"asset":{"type":"string","enum":["0x036CbD53842c5426634e7929541eC2318f3dCF7e"]}},"required":["x402_version","scheme","amount","decimals","transaction","payer","pay_to","verified","settled","network","asset"],"additionalProperties":false}]},"ledger_reconciliation":{"type":"string","enum":["settled","pending"]}},"required":["status","result","error_code","message","payment_receipt"],"additionalProperties":false}]},"CommerceOrderCreateInput":{"type":"object","additionalProperties":false,"required":["organization_name","business_email","production_origin","billing_country","payment_method","acknowledge_license","acknowledge_privacy"],"properties":{"organization_name":{"type":"string","minLength":2,"maxLength":200},"business_email":{"type":"string","minLength":3,"maxLength":320,"format":"email"},"production_origin":{"type":"string","minLength":10,"maxLength":253,"format":"uri","pattern":"^https://"},"billing_country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"payment_method":{"type":"string","enum":["x402","stripe"]},"acknowledge_license":{"const":true},"acknowledge_privacy":{"const":true}}},"CommerceOrderCreateOutput":{"type":"object","additionalProperties":false,"required":["order_id","state","payment_method","product","product_version","amount_cents","currency","expires_at","status_url"],"properties":{"order_id":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["created","payment_pending","paid_pending_delivery","ready","expired","failed","cancelled","reconciliation_required"]},"payment_method":{"type":"string","enum":["x402","stripe"]},"product":{"const":"agent_commerce_blueprint"},"product_version":{"const":"1.0.0"},"amount_cents":{"const":49900},"currency":{"const":"USD"},"expires_at":{"type":"string","format":"date-time"},"status_url":{"type":"string","maxLength":500},"capability":{"type":["string","null"],"minLength":32,"maxLength":256},"checkout_url":{"type":["string","null"],"maxLength":2000},"x402_url":{"type":["string","null"],"maxLength":500}}},"CommerceOrderStatusOutput":{"type":"object","additionalProperties":false,"required":["order_id","state","payment_method","product","product_version","amount_cents","currency","expires_at","downloads_remaining"],"properties":{"order_id":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["created","payment_pending","paid_pending_delivery","ready","expired","failed","cancelled","reconciliation_required"]},"payment_method":{"type":"string","enum":["x402","stripe"]},"product":{"const":"agent_commerce_blueprint"},"product_version":{"const":"1.0.0"},"amount_cents":{"const":49900},"currency":{"const":"USD"},"expires_at":{"type":"string","format":"date-time"},"downloads_remaining":{"type":"integer","minimum":0,"maximum":10},"download_url":{"type":["string","null"],"maxLength":500},"checkout_url":{"type":["string","null"],"maxLength":2000},"reason":{"type":["string","null"],"maxLength":240}}},"StripeWebhookEnvelope":{"type":"object","additionalProperties":false,"description":"Opaque Stripe event envelope validated from the raw signed body; provider payload fields are not persisted.","required":["id","type","data"],"properties":{"id":{"type":"string","maxLength":200},"type":{"type":"string","enum":["checkout.session.completed","charge.refunded","charge.dispute.created","charge.dispute.updated","charge.dispute.funds_withdrawn","charge.dispute.funds_reinstated","charge.dispute.closed"]},"data":{"type":"object","additionalProperties":false}}}}}}