changedOutput schema / properties / operation / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "done": {
- "type": "boolean"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "balance_required_micros": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "code": {
- "enum": [
- "insufficient_balance",
- "account_frozen",
- "key_limit_reached",
- "payment_required",
- "payment_failed",
- "unsupported_parameter",
- "invalid_request",
- "unauthenticated",
- "forbidden",
- "not_found",
- "method_not_allowed",
- "conflict",
- "idempotency_in_flight",
- "gone",
- "idempotency_key_reused",
- "rate_limited",
- "internal_error",
- "not_implemented",
- "vendor_error",
- "no_capacity",
- "vendor_timeout",
- "claim_invalid",
- "claim_proof_invalid",
- "checks_failed",
- "node_exists",
- "supply_link_unavailable",
- "node_revoked",
- "node_suspended",
- "node_replay",
- "probe_in_progress",
- "payout_proof_required",
- "agent_upgrade_required"
- ],
- "type": "string"
- },
- "detail": {
- "type": "string"
- },
- "docs_url": {
- "format": "uri",
- "type": "string"
- },
- "errors": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "message": {
- "type": "string"
- },
- "path": {
- "type": "string"
- }
- },
- "required": [
- "path",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "hold_id": {
- "pattern": "^hold_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "instance": {
- "type": "string"
- },
- "request_id": {
- "type": "string"
- },
- "retry_after": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "status": {
- "maximum": 599,
- "minimum": 100,
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "topup": {
- "additionalProperties": false,
- "properties": {
- "checkout_url": {
- "format": "uri",
- "type": "string"
- },
- "x402_url": {
- "format": "uri",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "title",
- "status",
- "code"
- ],
- "type": "object"
- },
- "metadata": {
- "additionalProperties": false,
- "properties": {
- "create_time": {
- "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)))$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "create_sandbox",
- "resume_sandbox",
- "create_gpu_pod",
- "settle_x402"
- ],
- "type": "string"
- },
- "target": {
- "type": [
- "string",
- "null"
- ]
- },
- "update_time": {
- "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)))$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "target",
- "create_time",
- "update_time"
- ],
- "type": "object"
- },
- "name": {
- "pattern": "^operations\\/op_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "response": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "auto_pause": {
- "type": "boolean"
- },
- "auto_resume": {
- "type": "boolean"
- },
- "billed_by": {
- "enum": [
- "rent.dev",
- "vendor"
- ],
- "type": "string"
- },
- "captured_micros": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "cpu_count": {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "created_at": {
- "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)))$",
- "type": "string"
- },
- "domain": {
- "type": [
- "string",
- "null"
- ]
- },
- "ended_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "endpoint_id": {
- "type": "string"
- },
- "held_micros": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "id": {
- "pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "memory_mb": {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "metadata": {
- "additionalProperties": {
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "region": {
- "type": "string"
- },
- "sandbox_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "started_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "requested",
- "placing",
- "running",
- "paused",
- "settling",
- "terminated",
- "failed"
- ],
- "type": "string"
- },
- "supplier": {
- "enum": [
- "own",
- "byok",
- "partner"
- ],
- "type": "string"
- },
- "template": {
- "type": "string"
- },
- "timeout_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "wire": {
- "enum": [
- "e2b",
- "vercel",
- "runpod",
- "rent"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "sandbox_id",
- "account_id",
- "state",
- "template",
- "cpu_count",
- "memory_mb",
- "supplier",
- "wire",
- "endpoint_id",
- "region",
- "billed_by",
- "metadata",
- "auto_pause",
- "auto_resume",
- "created_at",
- "started_at",
- "timeout_at",
- "ended_at",
- "domain",
- "captured_micros",
- "held_micros"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "billed_by": {
- "const": "vendor",
- "type": "string"
- },
- "cloud_type": {
- "enum": [
- "SECURE",
- "COMMUNITY"
- ],
- "type": "string"
- },
- "container_disk_gb": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "cost_per_hour_usd": {
- "anyOf": [
- {
- "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "created_at": {
- "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)))$",
- "type": "string"
- },
- "credential_id": {
- "pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "ended_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "gpu_count": {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "gpu_type": {
- "type": "string"
- },
- "id": {
- "pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "image": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "pod_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "ports": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "started_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "enum": [
- "requested",
- "placing",
- "running",
- "paused",
- "settling",
- "terminated",
- "failed"
- ],
- "type": "string"
- },
- "volume_gb": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "pod_id",
- "account_id",
- "credential_id",
- "name",
- "state",
- "gpu_type",
- "gpu_count",
- "image",
- "cloud_type",
- "container_disk_gb",
- "volume_gb",
- "ports",
- "cost_per_hour_usd",
- "billed_by",
- "created_at",
- "started_at",
- "ended_at"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "api_key": {
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "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)))$",
- "type": "string"
- },
- "id": {
- "pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "last_used_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "prefix": {
- "maxLength": 12,
- "minLength": 12,
- "type": "string"
- },
- "revoked_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "secret": {
- "pattern": "^rent_sk_[0-9a-f]{64}$",
- "type": "string"
- },
- "spend_limit_micros": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "spent_micros": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "prefix",
- "name",
- "created_at",
- "last_used_at",
- "revoked_at",
- "spend_limit_micros",
- "spent_micros",
- "secret"
- ],
- "type": "object"
- },
- "network": {
- "type": "string"
- },
- "payer": {
- "type": "string"
- },
- "topup": {
- "additionalProperties": false,
- "properties": {
- "account_id": {
- "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "completed_at": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "created_at": {
- "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)))$",
- "type": "string"
- },
- "credit_micros": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "failure_reason": {
- "type": [
- "string",
- "null"
- ]
- },
- "fee_micros": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "id": {
- "pattern": "^top_[0-9A-HJKMNP-TV-Z]{26}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "checkout",
- "auto_recharge",
- "x402"
- ],
- "type": "string"
- },
- "rail": {
- "enum": [
- "stripe",
- "x402"
- ],
- "type": "string"
- },
- "ref": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "enum": [
- "pending",
- "succeeded",
- "failed"
- ],
- "type": "string"
- },
- "tax_micros": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "account_id",
- "rail",
- "kind",
- "status",
- "credit_micros",
- "fee_micros",
- "tax_micros",
- "ref",
- "failure_reason",
- "created_at",
- "completed_at"
- ],
- "type": "object"
- },
- "transaction": {
- "type": "string"
- }
- },
- "required": [
- "account_id",
- "topup",
- "network",
- "payer",
- "transaction"
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "name",
- "metadata",
- "done"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "done": {
+ "type": "boolean"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "balance_required_micros": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "code": {
+ "enum": [
+ "insufficient_balance",
+ "account_frozen",
+ "key_limit_reached",
+ "payment_required",
+ "payment_failed",
+ "unsupported_parameter",
+ "invalid_request",
+ "unauthenticated",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "conflict",
+ "idempotency_in_flight",
+ "gone",
+ "idempotency_key_reused",
+ "rate_limited",
+ "internal_error",
+ "not_implemented",
+ "vendor_error",
+ "no_capacity",
+ "vendor_timeout",
+ "claim_invalid",
+ "claim_proof_invalid",
+ "checks_failed",
+ "node_exists",
+ "supply_link_unavailable",
+ "linking_limit",
+ "node_revoked",
+ "node_suspended",
+ "node_replay",
+ "probe_in_progress",
+ "payout_proof_required",
+ "agent_upgrade_required"
+ ],
+ "type": "string"
+ },
+ "detail": {
+ "type": "string"
+ },
+ "docs_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "errors": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hold_id": {
+ "pattern": "^hold_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "instance": {
+ "type": "string"
+ },
+ "request_id": {
+ "type": "string"
+ },
+ "retry_after": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "maximum": 599,
+ "minimum": 100,
+ "type": "integer"
+ },
+ "title": {
+ "type": "string"
+ },
+ "topup": {
+ "additionalProperties": false,
+ "properties": {
+ "checkout_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "x402_url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "title",
+ "status",
+ "code"
+ ],
+ "type": "object"
+ },
+ "metadata": {
+ "additionalProperties": false,
+ "properties": {
+ "create_time": {
+ "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)))$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "create_sandbox",
+ "resume_sandbox",
+ "create_gpu_pod",
+ "settle_x402"
+ ],
+ "type": "string"
+ },
+ "target": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "update_time": {
+ "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)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "target",
+ "create_time",
+ "update_time"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "pattern": "^operations\\/op_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "response": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "auto_pause": {
+ "type": "boolean"
+ },
+ "auto_resume": {
+ "type": "boolean"
+ },
+ "billed_by": {
+ "enum": [
+ "rent.dev",
+ "vendor"
+ ],
+ "type": "string"
+ },
+ "captured_micros": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cpu_count": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "created_at": {
+ "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)))$",
+ "type": "string"
+ },
+ "domain": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ended_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "endpoint_id": {
+ "type": "string"
+ },
+ "held_micros": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "id": {
+ "pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "memory_mb": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "metadata": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "region": {
+ "type": "string"
+ },
+ "sandbox_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "started_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "requested",
+ "placing",
+ "running",
+ "paused",
+ "settling",
+ "terminated",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "supplier": {
+ "enum": [
+ "own",
+ "byok",
+ "partner"
+ ],
+ "type": "string"
+ },
+ "template": {
+ "type": "string"
+ },
+ "timeout_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "wire": {
+ "enum": [
+ "e2b",
+ "vercel",
+ "runpod",
+ "rent"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "sandbox_id",
+ "account_id",
+ "state",
+ "template",
+ "cpu_count",
+ "memory_mb",
+ "supplier",
+ "wire",
+ "endpoint_id",
+ "region",
+ "billed_by",
+ "metadata",
+ "auto_pause",
+ "auto_resume",
+ "created_at",
+ "started_at",
+ "timeout_at",
+ "ended_at",
+ "domain",
+ "captured_micros",
+ "held_micros"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "billed_by": {
+ "const": "vendor",
+ "type": "string"
+ },
+ "cloud_type": {
+ "enum": [
+ "SECURE",
+ "COMMUNITY"
+ ],
+ "type": "string"
+ },
+ "container_disk_gb": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cost_per_hour_usd": {
+ "anyOf": [
+ {
+ "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "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)))$",
+ "type": "string"
+ },
+ "credential_id": {
+ "pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "ended_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "gpu_count": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "gpu_type": {
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "pod_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ports": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "started_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "requested",
+ "placing",
+ "running",
+ "paused",
+ "settling",
+ "terminated",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "volume_gb": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "pod_id",
+ "account_id",
+ "credential_id",
+ "name",
+ "state",
+ "gpu_type",
+ "gpu_count",
+ "image",
+ "cloud_type",
+ "container_disk_gb",
+ "volume_gb",
+ "ports",
+ "cost_per_hour_usd",
+ "billed_by",
+ "created_at",
+ "started_at",
+ "ended_at"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "api_key": {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "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)))$",
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "last_used_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "prefix": {
+ "maxLength": 12,
+ "minLength": 12,
+ "type": "string"
+ },
+ "revoked_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "secret": {
+ "pattern": "^rent_sk_[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "spend_limit_micros": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "spent_micros": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "prefix",
+ "name",
+ "created_at",
+ "last_used_at",
+ "revoked_at",
+ "spend_limit_micros",
+ "spent_micros",
+ "secret"
+ ],
+ "type": "object"
+ },
+ "network": {
+ "type": "string"
+ },
+ "payer": {
+ "type": "string"
+ },
+ "topup": {
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "completed_at": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "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)))$",
+ "type": "string"
+ },
+ "credit_micros": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "failure_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fee_micros": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "id": {
+ "pattern": "^top_[0-9A-HJKMNP-TV-Z]{26}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "checkout",
+ "auto_recharge",
+ "x402"
+ ],
+ "type": "string"
+ },
+ "rail": {
+ "enum": [
+ "stripe",
+ "x402"
+ ],
+ "type": "string"
+ },
+ "ref": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "succeeded",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "tax_micros": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "account_id",
+ "rail",
+ "kind",
+ "status",
+ "credit_micros",
+ "fee_micros",
+ "tax_micros",
+ "ref",
+ "failure_reason",
+ "created_at",
+ "completed_at"
+ ],
+ "type": "object"
+ },
+ "transaction": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "account_id",
+ "topup",
+ "network",
+ "payer",
+ "transaction"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "metadata",
+ "done"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]