{"openapi":"3.1.0","info":{"title":"Attested Meter","description":"Pay-per-call metering for attested memory, settled in USDC on Base.","version":"1.0.0"},"paths":{"/v1/plans":{"get":{"summary":"Plans","operationId":"plans_v1_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Plans V1 Plans Get"}}}}}}},"/v1/billing/orders":{"post":{"summary":"Create Order","operationId":"create_order_v1_billing_orders_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Order V1 Billing Orders Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/orders/{order_id}":{"get":{"summary":"Read Order","operationId":"read_order_v1_billing_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Order V1 Billing Orders  Order Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/orders/{order_id}/confirm":{"post":{"summary":"Confirm","operationId":"confirm_v1_billing_orders__order_id__confirm_post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Confirm V1 Billing Orders  Order Id  Confirm Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys/me":{"get":{"summary":"Key Me","operationId":"key_me_v1_keys_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Key Me V1 Keys Me Get"}}}}}}},"/.well-known/ai-market.json":{"get":{"summary":"Discovery","operationId":"discovery__well_known_ai_market_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Discovery  Well Known Ai Market Json Get"}}}}}}},"/ai-market/v2/manifest":{"get":{"summary":"Manifest","operationId":"manifest_ai_market_v2_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Manifest Ai Market V2 Manifest Get"}}}}}}},"/capabilities/{product_id}/{capability_id}/invoke":{"post":{"summary":"Invoke","operationId":"invoke_capabilities__product_id___capability_id__invoke_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","title":"Product Id"}},{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Invoke Capabilities  Product Id   Capability Id  Invoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/overview":{"get":{"summary":"Overview","operationId":"overview_v1_admin_overview_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Overview V1 Admin Overview Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/orders":{"get":{"summary":"Orders","operationId":"orders_v1_admin_orders_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Orders V1 Admin Orders Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/keys":{"get":{"summary":"Keys","operationId":"keys_v1_admin_keys_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Keys V1 Admin Keys Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/keys/{key_id}/revoke":{"post":{"summary":"Revoke","operationId":"revoke_v1_admin_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke V1 Admin Keys  Key Id  Revoke Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Healthz Healthz Get"}}}}}}},"/.well-known/attested-meter.json":{"get":{"summary":"Well Known","operationId":"well_known__well_known_attested_meter_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known  Well Known Attested Meter Json Get"}}}}}}},"/v1/prices":{"get":{"summary":"Prices","operationId":"prices_v1_prices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Prices V1 Prices Get"}}}}}}},"/v1/accounts":{"post":{"summary":"Create Account","description":"One account per signed actor. The key is derived, so it is recoverable.","operationId":"create_account_v1_accounts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Account V1 Accounts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/me":{"get":{"summary":"Read Account","operationId":"read_account_v1_accounts_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Read Account V1 Accounts Me Get"}}}}}}},"/v1/accounts/topup":{"post":{"summary":"Topup","operationId":"topup_v1_accounts_topup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Topup V1 Accounts Topup Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/meter/authorize":{"post":{"summary":"Authorize Route","operationId":"authorize_route_v1_meter_authorize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Authorize Route V1 Meter Authorize Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/meter/capture":{"post":{"summary":"Capture Route","operationId":"capture_route_v1_meter_capture_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaptureRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Capture Route V1 Meter Capture Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/meter/release":{"post":{"summary":"Release Route","operationId":"release_route_v1_meter_release_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Release Route V1 Meter Release Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/meter/usage":{"get":{"summary":"Usage","operationId":"usage_v1_meter_usage_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Usage V1 Meter Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/x402/{operation}":{"get":{"summary":"X402 Quote","description":"Answers 402 with a machine-readable challenge until the account can pay.","operationId":"x402_quote_v1_x402__operation__get","parameters":[{"name":"operation","in":"path","required":true,"schema":{"type":"string","title":"Operation"}},{"name":"units","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Units"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response X402 Quote V1 X402  Operation  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memory/read":{"post":{"summary":"Memory Read","operationId":"memory_read_v1_memory_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Memory Read V1 Memory Read Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memory/write":{"post":{"summary":"Memory Write","operationId":"memory_write_v1_memory_write_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Memory Write V1 Memory Write Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memory/search":{"post":{"summary":"Memory Search","operationId":"memory_search_v1_memory_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Memory Search V1 Memory Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/publishers":{"post":{"summary":"Self Register Publisher","description":"Register as a publisher without the operator.\n\nSelf-serve on purpose: the alternative is a storefront holding this service's\nADMIN token so it can create publishers on someone's behalf — and that token\ncan also mint payouts. One publisher key that can only price its own\noperations is a far smaller thing to hand out.","operationId":"self_register_publisher_v1_publishers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfPublisherRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Self Register Publisher V1 Publishers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/publishers/me":{"get":{"summary":"Read Own Publisher","operationId":"read_own_publisher_v1_publishers_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Read Own Publisher V1 Publishers Me Get"}}}}}}},"/v1/publishers/me/prices":{"post":{"summary":"Set Own Price","description":"Price your own operation — and only your own.\n\nAn operation already owned by someone else, or by the platform (no publisher\nat all, like `memory.read`), is refused. Without that check a publisher could\nreprice a competitor's capability, or take over a platform one, from a key\nthat is meant to control nothing but its own listings.","operationId":"set_own_price_v1_publishers_me_prices_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnPriceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Set Own Price V1 Publishers Me Prices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/publishers":{"post":{"summary":"Create Publisher","operationId":"create_publisher_v1_admin_publishers_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Publisher V1 Admin Publishers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Publishers","operationId":"list_publishers_v1_admin_publishers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Publishers V1 Admin Publishers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/publishers/{publisher_id}":{"get":{"summary":"Read Publisher","operationId":"read_publisher_v1_publishers__publisher_id__get","parameters":[{"name":"publisher_id","in":"path","required":true,"schema":{"type":"string","title":"Publisher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Publisher V1 Publishers  Publisher Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/publishers/{publisher_id}/pro":{"post":{"summary":"Bind Pro Key","description":"A Publisher Pro key halves the platform take on everything you publish.","operationId":"bind_pro_key_v1_publishers__publisher_id__pro_post","parameters":[{"name":"publisher_id","in":"path","required":true,"schema":{"type":"string","title":"Publisher Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Bind Pro Key V1 Publishers  Publisher Id  Pro Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/prices":{"post":{"summary":"Set Price","operationId":"set_price_v1_admin_prices_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set Price V1 Admin Prices Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payouts":{"post":{"summary":"Create Payout","operationId":"create_payout_v1_admin_payouts_post","parameters":[{"name":"publisher_id","in":"query","required":true,"schema":{"type":"string","title":"Publisher Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Payout V1 Admin Payouts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Payouts","operationId":"list_payouts_v1_admin_payouts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Payouts V1 Admin Payouts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/{payout_id}":{"get":{"summary":"Read Payout","operationId":"read_payout_v1_payouts__payout_id__get","parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Payout V1 Payouts  Payout Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/payouts/{payout_id}/execute":{"post":{"summary":"Execute Payout","operationId":"execute_payout_v1_admin_payouts__payout_id__execute_post","parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Execute Payout V1 Admin Payouts  Payout Id  Execute Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/accounts":{"get":{"summary":"List Accounts","operationId":"list_accounts_v1_admin_accounts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Accounts V1 Admin Accounts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/sweep":{"post":{"summary":"Sweep","operationId":"sweep_v1_admin_sweep_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sweep V1 Admin Sweep Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stats":{"get":{"summary":"Stats","operationId":"stats_v1_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stats V1 Stats Get"}}}}}}}},"components":{"schemas":{"AccountRequest":{"properties":{"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label","default":"agent"}},"type":"object","title":"AccountRequest"},"AuthorizeRequest":{"properties":{"operation":{"type":"string","maxLength":120,"minLength":2,"title":"Operation"},"units":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Units","default":1},"reference":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Reference"}},"type":"object","required":["operation"],"title":"AuthorizeRequest"},"CaptureRequest":{"properties":{"authorization_id":{"type":"string","maxLength":80,"minLength":8,"title":"Authorization Id"},"units":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":0.0},{"type":"null"}],"title":"Units"}},"type":"object","required":["authorization_id"],"title":"CaptureRequest"},"ConfirmRequest":{"properties":{"tx_hash":{"type":"string","maxLength":66,"minLength":66,"title":"Tx Hash"}},"type":"object","required":["tx_hash"],"title":"ConfirmRequest"},"ExecutionRequest":{"properties":{"execution_tx":{"type":"string","maxLength":66,"minLength":66,"title":"Execution Tx"}},"type":"object","required":["execution_tx"],"title":"ExecutionRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"MemoryRequest":{"properties":{"memory_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Memory Id"},"query":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Query"},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Body"}},"type":"object","title":"MemoryRequest"},"OrderRequest":{"properties":{"plan":{"type":"string","maxLength":80,"minLength":1,"title":"Plan"},"payer":{"type":"string","maxLength":42,"minLength":42,"title":"Payer"}},"type":"object","required":["plan","payer"],"title":"OrderRequest"},"OwnPriceRequest":{"properties":{"operation":{"type":"string","maxLength":120,"minLength":2,"title":"Operation"},"price_usdc":{"type":"string","maxLength":32,"minLength":1,"title":"Price Usdc"},"unit":{"type":"string","maxLength":24,"title":"Unit","default":"call"},"description":{"type":"string","maxLength":300,"title":"Description","default":""}},"type":"object","required":["operation","price_usdc"],"title":"OwnPriceRequest"},"PriceRequest":{"properties":{"operation":{"type":"string","maxLength":120,"minLength":2,"title":"Operation"},"price_usdc":{"type":"string","maxLength":32,"minLength":1,"title":"Price Usdc"},"unit":{"type":"string","maxLength":24,"title":"Unit","default":"call"},"publisher_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Publisher Id"},"description":{"type":"string","maxLength":300,"title":"Description","default":""}},"type":"object","required":["operation","price_usdc"],"title":"PriceRequest"},"PublisherRequest":{"properties":{"label":{"type":"string","maxLength":80,"minLength":2,"title":"Label"},"payout_address":{"type":"string","maxLength":42,"minLength":42,"title":"Payout Address"},"share_bps":{"type":"integer","maximum":10000.0,"minimum":0.0,"title":"Share Bps","default":7000}},"type":"object","required":["label","payout_address"],"title":"PublisherRequest"},"ReleaseRequest":{"properties":{"authorization_id":{"type":"string","maxLength":80,"minLength":8,"title":"Authorization Id"},"reason":{"type":"string","maxLength":200,"title":"Reason","default":"upstream refused"}},"type":"object","required":["authorization_id"],"title":"ReleaseRequest"},"SelfPublisherRequest":{"properties":{"label":{"type":"string","maxLength":80,"minLength":2,"title":"Label"},"payout_address":{"type":"string","maxLength":42,"minLength":42,"title":"Payout Address"}},"type":"object","required":["label","payout_address"],"title":"SelfPublisherRequest"},"TopupRequest":{"properties":{"payer":{"type":"string","maxLength":42,"minLength":42,"title":"Payer"},"amount_usdc":{"type":"string","maxLength":32,"minLength":1,"title":"Amount Usdc"}},"type":"object","required":["payer","amount_usdc"],"title":"TopupRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}