changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "MachinePool": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "default_cwd": {
+ "type": "string"
+ },
+ "default_machine_cpu": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "default_machine_env": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.",
+ "type": "object"
+ },
+ "default_machine_memory_mb": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "default_machine_provider_options": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "default_machine_secret_env": {
+ "additionalProperties": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "description": "Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.",
+ "type": "object"
+ },
+ "delete_after_idle_minutes": {
+ "description": "Idle minutes before deleting a machine from this pool, or null when the pool default is unset.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 5,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "$ref": "#/$defs/MachinePoolID"
+ },
+ "management_kind": {
+ "$ref": "#/$defs/ManagementKind"
+ },
+ "max_machine_cpu": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_machine_memory_mb": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_total_cpu": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_total_machines": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "max_total_memory_mb": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "metadata": {
+ "$ref": "#/$defs/Metadata"
+ },
+ "min_machine_cpu": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "min_machine_memory_mb": {
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "provider_auth_secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "provider_config": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "runtime_protection_enabled": {
+ "description": "Whether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive.",
+ "type": "boolean"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "usage": {
+ "$ref": "#/$defs/MachinePoolUsage",
+ "description": "Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint."
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "name",
+ "management_kind",
+ "description",
+ "provider",
+ "default_machine_cpu",
+ "default_machine_memory_mb",
+ "default_machine_env",
+ "default_machine_secret_env",
+ "default_machine_provider_options",
+ "default_cwd",
+ "provider_config",
+ "runtime_protection_enabled",
+ "max_total_machines",
+ "max_total_cpu",
+ "max_total_memory_mb",
+ "min_machine_cpu",
+ "min_machine_memory_mb",
+ "max_machine_cpu",
+ "max_machine_memory_mb",
+ "delete_after_idle_minutes",
+ "metadata",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "MachinePoolID": {
+ "description": "Machine pool ID (mpo_...).",
+ "pattern": "^mpo_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "MachinePoolUsage": {
+ "properties": {
+ "cpu": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "machines": {
+ "format": "int32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "memory_mb": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "machines",
+ "cpu",
+ "memory_mb"
+ ],
+ "type": "object"
+ },
+ "ManagementKind": {
+ "description": "Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.",
+ "enum": [
+ "tenant",
+ "cluster"
+ ],
+ "type": "string"
+ },
+ "Metadata": {
+ "additionalProperties": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "description": "Arbitrary key-value labels stored with the resource.",
+ "maxProperties": 16,
+ "propertyNames": {
+ "maxLength": 64,
+ "minLength": 1
+ },
+ "type": "object"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "SecretID": {
+ "description": "Secret ID (sec_...).",
+ "pattern": "^sec_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "properties": {
+ "data": {
+ "items": {
+ "$ref": "#/$defs/MachinePool"
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "data",
+ "next_cursor"
+ ],
+ "type": "object"
+}