{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/jobs/launch":{"post":{"tags":["jobs"],"summary":"Launch","operationId":"launch_jobs_launch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsLaunchBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/queue":{"post":{"tags":["jobs"],"summary":"Queue","operationId":"queue_jobs_queue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsQueueBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/queue/v2":{"post":{"tags":["jobs"],"summary":"Queue V2","operationId":"queue_v2_jobs_queue_v2_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsQueueV2Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/wait":{"post":{"tags":["jobs"],"summary":"Wait","operationId":"wait_jobs_wait_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsWaitBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/cancel":{"post":{"tags":["jobs"],"summary":"Cancel","operationId":"cancel_jobs_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsCancelBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/logs":{"post":{"tags":["jobs"],"summary":"Logs","operationId":"logs_jobs_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/download_logs":{"post":{"tags":["jobs"],"summary":"Download Logs","operationId":"download_logs_jobs_download_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsDownloadLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/pool_apply":{"post":{"tags":["jobs"],"summary":"Pool Apply","operationId":"pool_apply_jobs_pool_apply_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsPoolApplyBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/pool_down":{"post":{"tags":["jobs"],"summary":"Pool Down","operationId":"pool_down_jobs_pool_down_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsPoolDownBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/pool_status":{"post":{"tags":["jobs"],"summary":"Pool Status","operationId":"pool_status_jobs_pool_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsPoolStatusBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/pool_logs":{"post":{"tags":["jobs"],"summary":"Pool Tail Logs","operationId":"pool_tail_logs_jobs_pool_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsPoolLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/pool_sync-down-logs":{"post":{"tags":["jobs"],"summary":"Pool Download Logs","operationId":"pool_download_logs_jobs_pool_sync_down_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobsPoolDownloadLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/events":{"post":{"tags":["jobs"],"summary":"Events","description":"Gets task events for a managed job.","operationId":"events_jobs_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetJobEventsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/up":{"post":{"tags":["serve"],"summary":"Up","operationId":"up_serve_up_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeUpBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/update":{"post":{"tags":["serve"],"summary":"Update","operationId":"update_serve_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeUpdateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/down":{"post":{"tags":["serve"],"summary":"Down","operationId":"down_serve_down_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeDownBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/terminate-replica":{"post":{"tags":["serve"],"summary":"Terminate Replica","operationId":"terminate_replica_serve_terminate_replica_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeTerminateReplicaBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/status":{"post":{"tags":["serve"],"summary":"Status","operationId":"status_serve_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeStatusBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/logs":{"post":{"tags":["serve"],"summary":"Tail Logs","operationId":"tail_logs_serve_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/serve/sync-down-logs":{"post":{"tags":["serve"],"summary":"Download Logs","operationId":"download_logs_serve_sync_down_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServeDownloadLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users":{"get":{"tags":["users"],"summary":"Users","description":"Gets all users.","operationId":"users_users_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Users Users Get"}}}}}}},"/users/role":{"get":{"tags":["users"],"summary":"Get Current User Role","description":"Get current user's role.","operationId":"get_current_user_role_users_role_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/users/create":{"post":{"tags":["users"],"summary":"User Create","operationId":"user_create_users_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/update":{"post":{"tags":["users"],"summary":"User Update","description":"Updates the user role.","operationId":"user_update_users_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/delete":{"post":{"tags":["users"],"summary":"User Delete","operationId":"user_delete_users_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDeleteBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/import":{"post":{"tags":["users"],"summary":"User Import","description":"Import users from CSV content.","operationId":"user_import_users_import_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserImportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response User Import Users Import Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/export":{"get":{"tags":["users"],"summary":"User Export","description":"Export all users as CSV content.","operationId":"user_export_users_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response User Export Users Export Get"}}}}}}},"/users/service-account-tokens":{"get":{"tags":["users"],"summary":"Get Service Account Tokens","description":"Get service account tokens. All users can see all tokens.","operationId":"get_service_account_tokens_users_service_account_tokens_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Get Service Account Tokens Users Service Account Tokens Get"}}}}}},"post":{"tags":["users"],"summary":"Create Service Account Token","description":"Create a new service account token.","operationId":"create_service_account_token_users_service_account_tokens_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountTokenCreateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Service Account Token Users Service Account Tokens Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/service-account-tokens/delete":{"post":{"tags":["users"],"summary":"Delete Service Account Token","description":"Delete a service account token.\n\nAdmins can delete any token, users can only delete their own.","operationId":"delete_service_account_token_users_service_account_tokens_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountTokenDeleteBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Delete Service Account Token Users Service Account Tokens Delete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/service-account-tokens/get-role":{"post":{"tags":["users"],"summary":"Get Service Account Role","description":"Get the role of a service account.","operationId":"get_service_account_role_users_service_account_tokens_get_role_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountTokenRoleBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Service Account Role Users Service Account Tokens Get Role Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/service-account-tokens/update-role":{"post":{"tags":["users"],"summary":"Update Service Account Role","description":"Update the role of a service account.","operationId":"update_service_account_role_users_service_account_tokens_update_role_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountTokenUpdateRoleBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Update Service Account Role Users Service Account Tokens Update Role Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/service-account-tokens/rotate":{"post":{"tags":["users"],"summary":"Rotate Service Account Token","description":"Rotate a service account token.\n\nGenerates a new token value for an existing service account while keeping\nthe same service account identity and roles.","operationId":"rotate_service_account_token_users_service_account_tokens_rotate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceAccountTokenRotateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Rotate Service Account Token Users Service Account Tokens Rotate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces":{"get":{"tags":["workspaces"],"summary":"Get","description":"Gets workspace config on the server.","operationId":"get_workspaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/workspaces/update":{"post":{"tags":["workspaces"],"summary":"Update","description":"Updates a specific workspace configuration.","operationId":"update_workspaces_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWorkspaceBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/create":{"post":{"tags":["workspaces"],"summary":"Create","description":"Creates a new workspace configuration.","operationId":"create_workspaces_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWorkspaceBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/delete":{"post":{"tags":["workspaces"],"summary":"Delete","description":"Deletes a workspace configuration.","operationId":"delete_workspaces_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteWorkspaceBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/workspaces/config":{"get":{"tags":["workspaces"],"summary":"Get Config","description":"Gets the entire SkyPilot configuration.","operationId":"get_config_workspaces_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["workspaces"],"summary":"Update Config","description":"Updates the entire SkyPilot configuration.","operationId":"update_config_workspaces_config_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConfigBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/volumes":{"get":{"tags":["volumes"],"summary":"Volume List","description":"Gets the volumes.\n\nArgs:\n    refresh: If True, refresh volume state from cloud APIs before returning.\n        If False (default), return cached data from the database.","operationId":"volume_list_volumes_get","parameters":[{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/volumes/delete":{"post":{"tags":["volumes"],"summary":"Volume Delete","description":"Deletes a volume.","operationId":"volume_delete_volumes_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VolumeDeleteBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/volumes/validate":{"post":{"tags":["volumes"],"summary":"Volume Validate","description":"Validates a volume.","operationId":"volume_validate_volumes_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VolumeValidateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/volumes/apply":{"post":{"tags":["volumes"],"summary":"Volume Apply","description":"Creates or registers a volume.","operationId":"volume_apply_volumes_apply_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VolumeApplyBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools":{"get":{"tags":["ssh_node_pools"],"summary":"Get Ssh Node Pools","description":"Get all SSH Node Pool configurations.","operationId":"get_ssh_node_pools_ssh_node_pools_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Ssh Node Pools Ssh Node Pools Get"}}}}}},"post":{"tags":["ssh_node_pools"],"summary":"Update Ssh Node Pools","description":"Update SSH Node Pool configurations.","operationId":"update_ssh_node_pools_ssh_node_pools_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Pools Config"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Update Ssh Node Pools Ssh Node Pools Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools/{pool_name}":{"delete":{"tags":["ssh_node_pools"],"summary":"Delete Ssh Node Pool","description":"Delete a SSH Node Pool configuration.","operationId":"delete_ssh_node_pool_ssh_node_pools__pool_name__delete","parameters":[{"name":"pool_name","in":"path","required":true,"schema":{"type":"string","title":"Pool Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Ssh Node Pool Ssh Node Pools  Pool Name  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools/keys":{"get":{"tags":["ssh_node_pools"],"summary":"List Ssh Keys","description":"List available SSH keys.","operationId":"list_ssh_keys_ssh_node_pools_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response List Ssh Keys Ssh Node Pools Keys Get"}}}}}},"post":{"tags":["ssh_node_pools"],"summary":"Upload Ssh Key","description":"Upload SSH private key.","operationId":"upload_ssh_key_ssh_node_pools_keys_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Upload Ssh Key Ssh Node Pools Keys Post"}}}}}}},"/ssh_node_pools/{pool_name}/deploy":{"post":{"tags":["ssh_node_pools"],"summary":"Deploy Ssh Node Pool","description":"Deploy SSH Node Pool using existing ssh_up functionality.","operationId":"deploy_ssh_node_pool_ssh_node_pools__pool_name__deploy_post","parameters":[{"name":"pool_name","in":"path","required":true,"schema":{"type":"string","title":"Pool Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Deploy Ssh Node Pool Ssh Node Pools  Pool Name  Deploy Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools/deploy":{"post":{"tags":["ssh_node_pools"],"summary":"Deploy Ssh Node Pool General","description":"Deploys all SSH Node Pools.","operationId":"deploy_ssh_node_pool_general_ssh_node_pools_deploy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSHUpBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Deploy Ssh Node Pool General Ssh Node Pools Deploy Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools/{pool_name}/down":{"post":{"tags":["ssh_node_pools"],"summary":"Down Ssh Node Pool","description":"Cleans up a SSH Node Pools.","operationId":"down_ssh_node_pool_ssh_node_pools__pool_name__down_post","parameters":[{"name":"pool_name","in":"path","required":true,"schema":{"type":"string","title":"Pool Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Down Ssh Node Pool Ssh Node Pools  Pool Name  Down Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools/down":{"post":{"tags":["ssh_node_pools"],"summary":"Down Ssh Node Pool General","description":"Cleans up all SSH Node Pools.","operationId":"down_ssh_node_pool_general_ssh_node_pools_down_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SSHUpBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Down Ssh Node Pool General Ssh Node Pools Down Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssh_node_pools/{pool_name}/status":{"get":{"tags":["ssh_node_pools"],"summary":"Get Ssh Node Pool Status","description":"Get the status of a specific SSH Node Pool.","operationId":"get_ssh_node_pool_status_ssh_node_pools__pool_name__status_get","parameters":[{"name":"pool_name","in":"path","required":true,"schema":{"type":"string","title":"Pool Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Get Ssh Node Pool Status Ssh Node Pools  Pool Name  Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recipes":{"get":{"tags":["recipes"],"summary":"List Recipes","description":"List recipes (pinned + user's own).","operationId":"list_recipes_recipes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/recipes/list":{"post":{"tags":["recipes"],"summary":"List Recipes With Filters","description":"List recipes with filters.","operationId":"list_recipes_with_filters_recipes_list_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeListBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recipes/get":{"post":{"tags":["recipes"],"summary":"Get Recipe","description":"Get a single recipe by name.","operationId":"get_recipe_recipes_get_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeGetBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recipes/create":{"post":{"tags":["recipes"],"summary":"Create Recipe","description":"Create a new recipe.","operationId":"create_recipe_recipes_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeCreateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recipes/update":{"post":{"tags":["recipes"],"summary":"Update Recipe","description":"Update an existing recipe.","operationId":"update_recipe_recipes_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeUpdateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recipes/delete":{"post":{"tags":["recipes"],"summary":"Delete Recipe","description":"Delete a recipe.","operationId":"delete_recipe_recipes_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeDeleteBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recipes/pin":{"post":{"tags":["recipes"],"summary":"Pin Recipe","description":"Toggle pin status of a recipe (admin only).","operationId":"pin_recipe_recipes_pin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipePinBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/token":{"get":{"summary":"Token","operationId":"token_token_get","parameters":[{"name":"local_port","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Local Port"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/token":{"get":{"summary":"Poll Auth Token","description":"Poll for auth token using code_verifier.\n\nComputes code_challenge from code_verifier to look up the session.\n\nQuery params:\n    code_verifier: The original code verifier (required)\n\nReturns:\n    - 200 with token if session is authorized\n    - 404 if session not found (user hasn't clicked Authorize yet)","operationId":"poll_auth_token_api_v1_auth_token_get","parameters":[{"name":"code_verifier","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Verifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/authorize":{"post":{"summary":"Authorize Auth Session","description":"Authorize an auth session (called when user clicks Authorize button).\n\nThis endpoint requires authentication (via auth proxy cookies).\nIt generates the token and creates a session for the CLI to retrieve.\n\nRequest body:\n    code_challenge: The code challenge from the CLI\n\nReturns:\n    - 200 if successfully authorized","operationId":"authorize_auth_session_api_v1_auth_authorize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/authorize":{"get":{"summary":"Authorize Page","description":"Serve the authorization page where users click to authorize the CLI.\n\nThis page requires authentication (via auth proxy). The code_challenge\nquery param is read by JavaScript and sent to the POST endpoint.","operationId":"authorize_page_auth_authorize_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/check":{"post":{"summary":"Check","description":"Checks enabled clouds.","operationId":"check_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/enabled_clouds":{"get":{"summary":"Enabled Clouds","description":"Gets enabled clouds on the server.","operationId":"enabled_clouds_enabled_clouds_get","parameters":[{"name":"workspace","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace"}},{"name":"expand","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Expand"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/enabled_clouds/batch":{"get":{"summary":"Enabled Clouds Batch","description":"Gets enabled clouds for multiple workspaces in a single request.","operationId":"enabled_clouds_batch_enabled_clouds_batch_get","parameters":[{"name":"workspaces","in":"query","required":false,"schema":{"type":"string","default":"","title":"Workspaces"}},{"name":"expand","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Expand"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/realtime_kubernetes_gpu_availability":{"post":{"summary":"Realtime Kubernetes Gpu Availability","description":"Gets real-time Kubernetes GPU availability.","operationId":"realtime_kubernetes_gpu_availability_realtime_kubernetes_gpu_availability_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealtimeGpuAvailabilityRequestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/kubernetes_node_info":{"post":{"summary":"Kubernetes Node Info","description":"Gets Kubernetes nodes information and hints.","operationId":"kubernetes_node_info_kubernetes_node_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KubernetesNodeInfoRequestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slurm_gpu_availability":{"post":{"summary":"Slurm Gpu Availability","description":"Gets real-time Slurm GPU availability.","operationId":"slurm_gpu_availability_slurm_gpu_availability_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlurmGpuAvailabilityRequestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/slurm_node_info":{"get":{"summary":"Slurm Node Info","description":"Gets detailed information for each node in the Slurm cluster.","operationId":"slurm_node_info_slurm_node_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlurmNodeInfoRequestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Slurm Node Info","description":"Gets detailed information for each node in the Slurm cluster.","operationId":"slurm_node_info_slurm_node_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlurmNodeInfoRequestBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status_kubernetes":{"get":{"summary":"Status Kubernetes","description":"[Experimental] Get all SkyPilot resources (including from other '\n'users) in the current Kubernetes context.","operationId":"status_kubernetes_status_kubernetes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/kubernetes_label_gpus":{"post":{"summary":"Kubernetes Label Gpus","description":"Labels GPU nodes in a Kubernetes cluster.","operationId":"kubernetes_label_gpus_kubernetes_label_gpus_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KubernetesLabelGpusBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/list_accelerators":{"post":{"summary":"List Accelerators","description":"Gets list of accelerators from cloud catalog.","operationId":"list_accelerators_list_accelerators_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAcceleratorsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/list_accelerator_counts":{"post":{"summary":"List Accelerator Counts","description":"Gets list of accelerator counts from cloud catalog.","operationId":"list_accelerator_counts_list_accelerator_counts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAcceleratorCountsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/validate":{"post":{"summary":"Validate","description":"Validates the user's DAG.","operationId":"validate_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/optimize":{"post":{"summary":"Optimize","description":"Optimizes the user's DAG.","operationId":"optimize_optimize_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizeBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upload":{"post":{"summary":"Upload Zip File","description":"Uploads a zip file to the API server.\n\nThis endpoints can be called multiple times for the same upload_id with\ndifferent chunk_index. The server will merge the chunks and unzip the file\nwhen all chunks are uploaded.\n\nThis implementation is simplified and may need to be improved in the future,\ne.g., adopting S3-style multipart upload.\n\nArgs:\n    user_hash: The user hash.\n    upload_id: The upload id, a valid SkyPilot run_timestamp appended with 8\n        hex characters, e.g. 'sky-2025-01-17-09-10-13-933602-35d31c22'.\n    chunk_index: The chunk index, starting from 0.\n    total_chunks: The total number of chunks.","operationId":"upload_zip_file_upload_post","parameters":[{"name":"user_hash","in":"query","required":true,"schema":{"type":"string","title":"User Hash"}},{"name":"upload_id","in":"query","required":true,"schema":{"type":"string","title":"Upload Id"}},{"name":"chunk_index","in":"query","required":true,"schema":{"type":"integer","title":"Chunk Index"}},{"name":"total_chunks","in":"query","required":true,"schema":{"type":"integer","title":"Total Chunks"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadZipFileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upload_v2/blob":{"get":{"summary":"Check Blob Exists","description":"Check if a file mount blob already exists.","operationId":"check_blob_exists_upload_v2_blob_get","parameters":[{"name":"user_hash","in":"query","required":true,"schema":{"type":"string","title":"User Hash"}},{"name":"blob_id","in":"query","required":true,"schema":{"type":"string","title":"Blob Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Check Blob Exists Upload V2 Blob Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/upload_v2":{"post":{"summary":"Upload Blob","description":"Upload a file mount blob (chunked).\n\nUnlike /upload, this endpoint receives chunks, assembles and extracts\ninto a staging directory, then atomically renames to a shared extraction\ndirectory (blobs/{upload_id}/) so all requests can reuse it.","operationId":"upload_blob_upload_v2_post","parameters":[{"name":"user_hash","in":"query","required":true,"schema":{"type":"string","title":"User Hash"}},{"name":"upload_id","in":"query","required":true,"schema":{"type":"string","title":"Upload Id"}},{"name":"chunk_index","in":"query","required":true,"schema":{"type":"integer","title":"Chunk Index"}},{"name":"total_chunks","in":"query","required":true,"schema":{"type":"integer","title":"Total Chunks"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadZipFileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/launch":{"post":{"summary":"Launch","description":"Launches a cluster or task.","operationId":"launch_launch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LaunchBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/exec":{"post":{"summary":"Exec","description":"Executes a task on an existing cluster.","operationId":"exec_exec_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/stop":{"post":{"summary":"Stop","description":"Stops a cluster.","operationId":"stop_stop_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopOrDownBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status":{"post":{"summary":"Status","description":"Gets cluster statuses.","operationId":"status_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusBody","default":{"env_vars":{"SKYPILOT_DEMO_API_SERVICE_SERVICE_HOST":"34.118.226.59","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT":"tcp://34.118.232.5:80","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_SERVICE_PORT":"80","SKYPILOT_DEMO_API_SERVICE_PORT_9090_TCP_ADDR":"34.118.226.59","SKYPILOT_API_SERVER_STORAGE_ENABLED":"true","SKYPILOT_DEMO_PROMETHEUS_SERVER_SERVICE_PORT":"80","SKYPILOT_DEMO_PROMETHEUS_SERVER_PORT":"tcp://34.118.234.8:80","SKYPILOT_DEMO_API_SERVICE_PORT_9090_TCP_PORT":"9090","SKYPILOT_DEMO_GRAFANA_SERVICE_HOST":"34.118.237.190","SKYPILOT_DEMO_API_SERVICE_PORT_9090_TCP_PROTO":"tcp","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_80_TCP_ADDR":"34.118.232.5","SKYPILOT_DEMO_API_SERVICE_PORT":"tcp://34.118.226.59:80","SKYPILOT_DEMO_API_SERVICE_SERVICE_PORT":"80","SKYPILOT_PLUGIN_CREDENTIALS_DIR":"/var/skypilot/credentials","SKYPILOT_DEMO_PROMETHEUS_SERVER_PORT_80_TCP_ADDR":"34.118.234.8","SKYPILOT_DEMO_DCGM_EXPORTER_PORT_9400_TCP_ADDR":"34.118.232.122","SKYPILOT_DEMO_KUBE_STATE_METRICS_SERVICE_PORT_HTTP":"8080","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_80_TCP_PORT":"80","SKYPILOT_INGRESS_HOST":"","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_80_TCP_PROTO":"tcp","SKYPILOT_DEMO_GRAFANA_SERVICE_PORT_SERVICE":"80","SKYPILOT_DEMO_GRAFANA_SERVICE_PORT":"80","SKYPILOT_DEMO_GRAFANA_PORT":"tcp://34.118.237.190:80","SKYPILOT_DEMO_PROMETHEUS_SERVER_PORT_80_TCP_PORT":"80","SKYPILOT_DEMO_DCGM_EXPORTER_SERVICE_HOST":"34.118.232.122","SKYPILOT_DEMO_API_SERVICE_PORT_80_TCP_ADDR":"34.118.226.59","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_PORT_443_TCP_ADDR":"34.118.234.5","SKYPILOT_DEMO_API_SERVICE_SERVICE_PORT_METRICS":"9090","SKYPILOT_DEMO_DCGM_EXPORTER_PORT_9400_TCP_PORT":"9400","SKYPILOT_DEMO_DCGM_EXPORTER_PORT_9400_TCP_PROTO":"tcp","SKYPILOT_DEMO_PROMETHEUS_SERVER_PORT_80_TCP_PROTO":"tcp","SKYPILOT_DEMO_API_SERVICE_PORT_9090_TCP":"tcp://34.118.226.59:9090","SKYPILOT_CREDENTIALS_MASTER_KEY":"2Hq3u8y_RtU2oUuZbTqWc2yX5s9Mcqz9jXyQeSfoi0c=","SKYPILOT_POD_CPU_CORE_LIMIT":"3","SKYPILOT_DEMO_API_SERVICE_PORT_80_TCP_PORT":"80","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_PORT_443_TCP_PORT":"443","SKYPILOT_DEMO_KUBE_STATE_METRICS_PORT_8080_TCP_ADDR":"34.118.226.24","SKYPILOT_DEMO_KUBE_STATE_METRICS_SERVICE_HOST":"34.118.226.24","SKYPILOT_DEMO_API_SERVICE_PORT_80_TCP_PROTO":"tcp","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_PORT_443_TCP_PROTO":"tcp","SKYPILOT_DEMO_GRAFANA_PORT_80_TCP_ADDR":"34.118.237.190","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_443_TCP_ADDR":"34.118.232.5","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_80_TCP":"tcp://34.118.232.5:80","SKYPILOT_DEMO_DCGM_EXPORTER_SERVICE_PORT":"9400","SKYPILOT_DEMO_DCGM_EXPORTER_PORT":"tcp://34.118.232.122:9400","SKYPILOT_DEMO_KUBE_STATE_METRICS_PORT_8080_TCP_PORT":"8080","SKYPILOT_DEMO_KUBE_STATE_METRICS_PORT_8080_TCP_PROTO":"tcp","SKYPILOT_DEMO_GRAFANA_PORT_80_TCP_PORT":"80","SKYPILOT_DEMO_PROMETHEUS_SERVER_PORT_80_TCP":"tcp://34.118.234.8:80","SKYPILOT_DEMO_GRAFANA_PORT_80_TCP_PROTO":"tcp","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_443_TCP_PORT":"443","SKYPILOT_DEMO_DCGM_EXPORTER_PORT_9400_TCP":"tcp://34.118.232.122:9400","SKYPILOT_DEV":"true","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_443_TCP_PROTO":"tcp","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_SERVICE_PORT_HTTPS_WEBHOOK":"443","SKYPILOT_DEMO_KUBE_STATE_METRICS_PORT":"tcp://34.118.226.24:8080","SKYPILOT_DEMO_KUBE_STATE_METRICS_SERVICE_PORT":"8080","SKYPILOT_INTERNAL_APPLY_DEMO_PATCH":"true","SKYPILOT_DEMO_API_SERVICE_PORT_80_TCP":"tcp://34.118.226.59:80","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_PORT_443_TCP":"tcp://34.118.234.5:443","SKYPILOT_DEMO_DCGM_EXPORTER_SERVICE_PORT_METRICS":"9400","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_SERVICE_PORT_HTTP":"80","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_SERVICE_HOST":"34.118.234.5","SKYPILOT_DEMO_PROMETHEUS_SERVER_SERVICE_PORT_HTTP":"80","SKYPILOT_DEMO_KUBE_STATE_METRICS_PORT_8080_TCP":"tcp://34.118.226.24:8080","SKYPILOT_DEMO_GRAFANA_PORT_80_TCP":"tcp://34.118.237.190:80","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_PORT_443_TCP":"tcp://34.118.232.5:443","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_SERVICE_PORT_HTTPS":"443","SKYPILOT_DEMO_API_SERVICE_SERVICE_PORT_HTTP":"80","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_SERVICE_HOST":"34.118.232.5","SKYPILOT_RELEASE_NAME":"skypilot-demo","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_SERVICE_PORT":"443","SKYPILOT_DEMO_INGRESS_NGINX_CONTROLLER_ADMISSION_PORT":"tcp://34.118.234.5:443","SKYPILOT_GRACE_PERIOD_SECONDS":"60","SKYPILOT_DEMO_PROMETHEUS_SERVER_SERVICE_HOST":"34.118.234.8","SKYPILOT_POD_MEMORY_BYTES_LIMIT":"8589934592","SKYPILOT_USER_ID":"alice@skypilot.co","SKYPILOT_USER":"root","SKYPILOT_USAGE_RUN_ID":"00d8f261-fb9c-499f-a44c-9773ab482c7c"},"entrypoint":"","entrypoint_command":"/skypilot/sky/server/server.py --deploy --host=0.0.0.0","using_remote_api_server":false,"override_skypilot_config":{},"refresh":"NONE","all_users":true,"include_credentials":true,"summary_response":false,"include_handle":true}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/endpoints":{"post":{"summary":"Endpoints","description":"Gets the endpoint for a given cluster and port number (endpoint).","operationId":"endpoints_endpoints_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/down":{"post":{"summary":"Down","description":"Tears down a cluster.","operationId":"down_down_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopOrDownBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/start":{"post":{"summary":"Start","description":"Restarts a cluster.","operationId":"start_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autostop":{"post":{"summary":"Autostop","description":"Schedules an autostop/autodown for a cluster.","operationId":"autostop_autostop_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutostopBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/queue":{"post":{"summary":"Queue","description":"Gets the job queue of a cluster.","operationId":"queue_queue_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/job_status":{"post":{"summary":"Job Status","description":"Gets the status of a job.","operationId":"job_status_job_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cancel":{"post":{"summary":"Cancel","description":"Cancels jobs on a cluster.","operationId":"cancel_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logs":{"post":{"summary":"Logs","description":"Tails the logs of a job.","operationId":"logs_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterJobBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/download_logs":{"post":{"summary":"Download Logs","description":"Downloads the logs of a job.","operationId":"download_logs_download_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterJobsDownloadLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/download":{"post":{"summary":"Download","description":"Downloads a folder from the cluster to the local machine.","operationId":"download_download_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DownloadBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/provision_logs":{"post":{"summary":"Provision Logs","description":"Streams the provision.log for the latest launch request of a cluster.","operationId":"provision_logs_provision_logs_post","parameters":[{"name":"follow","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Follow"}},{"name":"tail","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Tail"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionLogsBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/autostop_logs":{"post":{"summary":"Autostop Logs","description":"Tails the autostop hook logs of a cluster.","operationId":"autostop_logs_autostop_logs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutostopLogsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cost_report":{"post":{"summary":"Cost Report","description":"Gets the cost report of a cluster.","operationId":"cost_report_cost_report_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostReportBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cluster_events":{"post":{"summary":"Cluster Events","description":"Gets events for a cluster.","operationId":"cluster_events_cluster_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterEventsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/storage/ls":{"get":{"summary":"Storage Ls","description":"Gets the storages.","operationId":"storage_ls_storage_ls_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/storage/delete":{"post":{"summary":"Storage Delete","description":"Deletes a storage.","operationId":"storage_delete_storage_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/local_up":{"post":{"summary":"Local Up","description":"Launches a Kubernetes cluster on API server.","operationId":"local_up_local_up_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalUpBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/local_down":{"post":{"summary":"Local Down","description":"Tears down the Kubernetes cluster started by local_up.","operationId":"local_down_local_down_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocalDownBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/get":{"get":{"summary":"Api Get","description":"Gets a request with a given request ID prefix.","operationId":"api_get_api_get_get","parameters":[{"name":"request_id","in":"query","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestPayload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/stream":{"get":{"summary":"Stream","description":"Streams the logs of a request.\n\nWhen format is 'auto' and the request is coming from a browser, the response\nis a HTML page with JavaScript to handle streaming, which will request the\nAPI server again with format='plain' to get the actual log content.\n\nArgs:\n    request_id: Request ID to stream logs for.\n    log_path: Log path to stream logs for.\n    tail: Number of lines to stream from the end of the log file.\n    follow: Whether to follow the log file.\n    format: Response format - 'auto' (HTML for browsers, plain for HTML\n        clients, console for CLI/API clients), 'plain' (force plain text),\n        'html' (force HTML), or 'console' (force console)","operationId":"stream_api_stream_get","parameters":[{"name":"request_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request Id"}},{"name":"log_path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Log Path"}},{"name":"tail","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tail"}},{"name":"follow","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Follow"}},{"name":"format","in":"query","required":false,"schema":{"enum":["auto","plain","html","console"],"type":"string","default":"auto","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cancel":{"post":{"summary":"Api Cancel","description":"Cancels requests.","operationId":"api_cancel_api_cancel_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequestCancelBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/status":{"get":{"summary":"Api Status","description":"Gets the list of requests.","operationId":"api_status_api_status_get","parameters":[{"name":"request_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Request ID prefixes to get status for.","title":"Request Ids"},"description":"Request ID prefixes to get status for."},{"name":"all_status","in":"query","required":false,"schema":{"type":"boolean","description":"Get finished requests as well.","default":false,"title":"All Status"},"description":"Get finished requests as well."},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Number of requests to show.","title":"Limit"},"description":"Number of requests to show."},{"name":"fields","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Fields to get. If None, get all fields.","title":"Fields"},"description":"Fields to get. If None, get all fields."},{"name":"cluster_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter requests by cluster name.","title":"Cluster Name"},"description":"Filter requests by cluster name."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RequestPayload"},"title":"Response Api Status Api Status Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plugins":{"get":{"summary":"List Plugins","description":"Return metadata about loaded backend plugins.","operationId":"list_plugins_api_plugins_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Response List Plugins Api Plugins Get"}}}}}}},"/api/health":{"get":{"summary":"Health","description":"Checks the health of the API server.\n\nReturns:\n    responses.APIHealthResponse: The health response.","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIHealthResponse"}}}}}}},"/all_contexts":{"get":{"summary":"All Contexts","description":"Gets all Kubernetes and SSH node pool contexts.","operationId":"all_contexts_all_contexts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/completion/cluster_name":{"get":{"summary":"Complete Cluster Name","operationId":"complete_cluster_name_api_completion_cluster_name_get","parameters":[{"name":"incomplete","in":"query","required":true,"schema":{"type":"string","title":"Incomplete"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Complete Cluster Name Api Completion Cluster Name Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/completion/storage_name":{"get":{"summary":"Complete Storage Name","operationId":"complete_storage_name_api_completion_storage_name_get","parameters":[{"name":"incomplete","in":"query","required":true,"schema":{"type":"string","title":"Incomplete"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Complete Storage Name Api Completion Storage Name Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/completion/volume_name":{"get":{"summary":"Complete Volume Name","operationId":"complete_volume_name_api_completion_volume_name_get","parameters":[{"name":"incomplete","in":"query","required":true,"schema":{"type":"string","title":"Incomplete"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Complete Volume Name Api Completion Volume Name Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/completion/api_request":{"get":{"summary":"Complete Api Request","operationId":"complete_api_request_api_completion_api_request_get","parameters":[{"name":"incomplete","in":"query","required":true,"schema":{"type":"string","title":"Incomplete"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Complete Api Request Api Completion Api Request Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/{full_path}":{"get":{"summary":"Serve Dashboard","description":"Serves the Next.js dashboard application.\n\nArgs:\n    request: The incoming HTTP request (used to attach the CSP nonce).\n    full_path: The path requested by the client.\n    e.g. /clusters, /jobs\n\nReturns:\n    FileResponse for static files, or nonce-injected HTMLResponse for\n    HTML pages.\n\nRaises:\n    HTTPException: If the path is invalid or file not found.","operationId":"serve_dashboard_dashboard__full_path__get","parameters":[{"name":"full_path","in":"path","required":true,"schema":{"type":"string","title":"Full Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"APIHealthResponse":{"properties":{"status":{"$ref":"#/components/schemas/ApiServerStatus"},"api_version":{"type":"string","title":"Api Version","default":""},"version":{"type":"string","title":"Version","default":""},"version_on_disk":{"type":"string","title":"Version On Disk","default":""},"commit":{"type":"string","title":"Commit","default":""},"basic_auth_enabled":{"type":"boolean","title":"Basic Auth Enabled","default":false},"user":{"anyOf":[{"$ref":"#/components/schemas/User"},{"type":"null"}]},"service_account_token_enabled":{"type":"boolean","title":"Service Account Token Enabled","default":false},"ingress_basic_auth_enabled":{"type":"boolean","title":"Ingress Basic Auth Enabled","default":false},"latest_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Version"},"external_proxy_auth_enabled":{"type":"boolean","title":"External Proxy Auth Enabled","default":false}},"type":"object","required":["status"],"title":"APIHealthResponse","description":"Response for the API health endpoint."},"ApiServerStatus":{"type":"string","enum":["healthy","unhealthy","version_mismatch","needs_auth"],"title":"ApiServerStatus"},"AutostopBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"idle_minutes":{"type":"integer","title":"Idle Minutes"},"wait_for":{"anyOf":[{"$ref":"#/components/schemas/AutostopWaitFor"},{"type":"null"}]},"down":{"type":"boolean","title":"Down","default":false},"hook":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hook"},"hook_timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hook Timeout"}},"type":"object","required":["cluster_name","idle_minutes"],"title":"AutostopBody","description":"The request body for the autostop endpoint."},"AutostopLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"follow":{"type":"boolean","title":"Follow","default":true},"tail":{"type":"integer","title":"Tail","default":0}},"type":"object","required":["cluster_name"],"title":"AutostopLogsBody","description":"Autostop logs request body."},"AutostopWaitFor":{"type":"string","enum":["jobs_and_ssh","jobs","none"],"title":"AutostopWaitFor","description":"Enum for the Autostop behaviour.\n\nJOBS: Wait for jobs to finish.\nJOBS_AND_SSH: Wait for jobs to finish and all SSH sessions to be closed.\nNONE: Unconditionally stop the cluster after the idle time."},"CancelBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"job_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Job Ids"},"all":{"type":"boolean","title":"All","default":false},"all_users":{"type":"boolean","title":"All Users","default":false},"try_cancel_if_cluster_is_init":{"type":"boolean","title":"Try Cancel If Cluster Is Init","default":false}},"type":"object","required":["cluster_name","job_ids"],"title":"CancelBody","description":"The request body for the cancel endpoint."},"CheckBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"clouds":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Clouds"},"verbose":{"type":"boolean","title":"Verbose","default":false},"workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace"}},"type":"object","title":"CheckBody","description":"The request body for the check endpoint."},"ClusterEventsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cluster Name"},"cluster_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cluster Hash"},"event_type":{"type":"string","title":"Event Type"},"include_timestamps":{"type":"boolean","title":"Include Timestamps","default":false},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},"type":"object","required":["event_type"],"title":"ClusterEventsBody","description":"The request body for the cluster events endpoint."},"ClusterJobBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"job_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Id"},"follow":{"type":"boolean","title":"Follow","default":true},"tail":{"type":"integer","title":"Tail","default":0}},"type":"object","required":["cluster_name","job_id"],"title":"ClusterJobBody","description":"The request body for the cluster job endpoint."},"ClusterJobsDownloadLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"job_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Job Ids"},"local_dir":{"type":"string","title":"Local Dir","default":"~/sky_logs"}},"type":"object","required":["cluster_name","job_ids"],"title":"ClusterJobsDownloadLogsBody","description":"The request body for the cluster jobs download logs endpoint."},"CostReportBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days","default":30},"cluster_hashes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cluster Hashes"},"dashboard_summary_response":{"type":"boolean","title":"Dashboard Summary Response","default":false}},"type":"object","title":"CostReportBody","description":"The request body for the cost report endpoint."},"CreateWorkspaceBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"workspace_name":{"type":"string","title":"Workspace Name","default":""},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["config"],"title":"CreateWorkspaceBody","description":"The request body for creating a new workspace."},"DeleteWorkspaceBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"workspace_name":{"type":"string","title":"Workspace Name"}},"type":"object","required":["workspace_name"],"title":"DeleteWorkspaceBody","description":"The request body for deleting a workspace."},"DownloadBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"folder_paths":{"items":{"type":"string"},"type":"array","title":"Folder Paths"}},"type":"object","required":["folder_paths"],"title":"DownloadBody","description":"The request body for the download endpoint."},"EndpointsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster":{"type":"string","title":"Cluster"},"port":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Port"}},"type":"object","required":["cluster"],"title":"EndpointsBody","description":"The request body for the endpoint."},"ExecBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"task":{"type":"string","title":"Task"},"cluster_name":{"type":"string","title":"Cluster Name"},"dryrun":{"type":"boolean","title":"Dryrun","default":false},"down":{"type":"boolean","title":"Down","default":false},"backend":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend"}},"type":"object","required":["task","cluster_name"],"title":"ExecBody","description":"The request body for the exec endpoint."},"GetJobEventsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"job_id":{"type":"integer","title":"Job Id"},"task_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Task Id"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit","default":10}},"type":"object","required":["job_id"],"title":"GetJobEventsBody","description":"The request body for the get job task events endpoint."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobStatusBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"job_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Job Ids"}},"type":"object","required":["cluster_name","job_ids"],"title":"JobStatusBody","description":"The request body for the job status endpoint."},"JobsCancelBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"job_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Job Ids"},"all":{"type":"boolean","title":"All","default":false},"all_users":{"type":"boolean","title":"All Users","default":false},"pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool"},"graceful":{"type":"boolean","title":"Graceful","default":false},"graceful_timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Graceful Timeout"}},"type":"object","title":"JobsCancelBody","description":"The request body for the jobs cancel endpoint."},"JobsDownloadLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"job_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Id"},"refresh":{"type":"boolean","title":"Refresh","default":false},"controller":{"type":"boolean","title":"Controller","default":false},"local_dir":{"type":"string","title":"Local Dir","default":"~/sky_logs"}},"type":"object","required":["name","job_id"],"title":"JobsDownloadLogsBody","description":"The request body for the jobs download logs endpoint."},"JobsLaunchBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"task":{"type":"string","title":"Task"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool"},"num_jobs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Jobs"}},"type":"object","required":["task","name"],"title":"JobsLaunchBody","description":"The request body for the jobs launch endpoint."},"JobsLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"job_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Id"},"follow":{"type":"boolean","title":"Follow","default":true},"controller":{"type":"boolean","title":"Controller","default":false},"refresh":{"type":"boolean","title":"Refresh","default":false},"tail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tail"},"task":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Task"}},"type":"object","title":"JobsLogsBody","description":"The request body for the jobs logs endpoint."},"JobsPoolApplyBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"workers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Workers"},"pool_name":{"type":"string","title":"Pool Name"},"mode":{"$ref":"#/components/schemas/UpdateMode"}},"type":"object","required":["pool_name","mode"],"title":"JobsPoolApplyBody","description":"The request body for the jobs pool apply endpoint."},"JobsPoolDownBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"pool_names":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Pool Names"},"all":{"type":"boolean","title":"All","default":false},"purge":{"type":"boolean","title":"Purge","default":false}},"type":"object","required":["pool_names"],"title":"JobsPoolDownBody","description":"The request body for the jobs pool down endpoint."},"JobsPoolDownloadLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"pool_name":{"type":"string","title":"Pool Name"},"local_dir":{"type":"string","title":"Local Dir"},"targets":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/ServiceComponent"},{"items":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/ServiceComponent"}]},"type":"array"},{"type":"null"}],"title":"Targets"},"worker_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Worker Ids"},"tail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tail"}},"type":"object","required":["pool_name","local_dir","targets"],"title":"JobsPoolDownloadLogsBody","description":"The request body for the jobs pool download logs endpoint."},"JobsPoolLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"pool_name":{"type":"string","title":"Pool Name"},"target":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/ServiceComponent"}],"title":"Target"},"worker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Worker Id"},"follow":{"type":"boolean","title":"Follow","default":true},"tail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tail"}},"type":"object","required":["pool_name","target"],"title":"JobsPoolLogsBody","description":"The request body for the jobs pool logs endpoint."},"JobsPoolStatusBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"pool_names":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Pool Names"}},"type":"object","required":["pool_names"],"title":"JobsPoolStatusBody","description":"The request body for the jobs pool status endpoint."},"JobsQueueBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"refresh":{"type":"boolean","title":"Refresh","default":false},"skip_finished":{"type":"boolean","title":"Skip Finished","default":false},"all_users":{"type":"boolean","title":"All Users","default":false},"job_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Job Ids"}},"type":"object","title":"JobsQueueBody","description":"The request body for the jobs queue endpoint."},"JobsQueueV2Body":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"refresh":{"type":"boolean","title":"Refresh","default":false},"skip_finished":{"type":"boolean","title":"Skip Finished","default":false},"all_users":{"type":"boolean","title":"All Users","default":false},"job_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Job Ids"},"user_match":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Match"},"workspace_match":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Match"},"name_match":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Match"},"pool_match":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool Match"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"statuses":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Statuses"},"fields":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fields"},"sort_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"},"sort_order":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort Order"}},"type":"object","title":"JobsQueueV2Body","description":"The request body for the jobs queue endpoint."},"JobsWaitBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"job_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Job Id"},"timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout"},"poll_interval":{"type":"integer","title":"Poll Interval","default":15},"task":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Task"}},"type":"object","title":"JobsWaitBody","description":"The request body for the jobs wait endpoint."},"KubernetesLabelGpusBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"cleanup_only":{"type":"boolean","title":"Cleanup Only","default":false},"wait_for_completion":{"type":"boolean","title":"Wait For Completion","default":true}},"type":"object","title":"KubernetesLabelGpusBody","description":"The request body for the GPU labeling endpoint."},"KubernetesNodeInfoRequestBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"}},"type":"object","title":"KubernetesNodeInfoRequestBody","description":"The request body for the kubernetes node info endpoint."},"LaunchBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"task":{"type":"string","title":"Task"},"cluster_name":{"type":"string","title":"Cluster Name"},"retry_until_up":{"type":"boolean","title":"Retry Until Up","default":false},"idle_minutes_to_autostop":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Idle Minutes To Autostop"},"dryrun":{"type":"boolean","title":"Dryrun","default":false},"down":{"type":"boolean","title":"Down","default":false},"backend":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend"},"optimize_target":{"$ref":"#/components/schemas/OptimizeTarget","default":0},"no_setup":{"type":"boolean","title":"No Setup","default":false},"clone_disk_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clone Disk From"},"fast":{"type":"boolean","title":"Fast","default":false},"quiet_optimizer":{"type":"boolean","title":"Quiet Optimizer","default":false},"is_launched_by_jobs_controller":{"type":"boolean","title":"Is Launched By Jobs Controller","default":false},"is_launched_by_sky_serve_controller":{"type":"boolean","title":"Is Launched By Sky Serve Controller","default":false},"disable_controller_check":{"type":"boolean","title":"Disable Controller Check","default":false}},"type":"object","required":["task","cluster_name"],"title":"LaunchBody","description":"The request body for the launch endpoint."},"ListAcceleratorCountsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"gpus_only":{"type":"boolean","title":"Gpus Only","default":true},"name_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Filter"},"region_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region Filter"},"quantity_filter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity Filter"},"clouds":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Clouds"}},"type":"object","title":"ListAcceleratorCountsBody","description":"The request body for the list accelerator counts endpoint."},"ListAcceleratorsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"gpus_only":{"type":"boolean","title":"Gpus Only","default":true},"name_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Filter"},"region_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region Filter"},"quantity_filter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity Filter"},"clouds":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Clouds"},"all_regions":{"type":"boolean","title":"All Regions","default":false},"require_price":{"type":"boolean","title":"Require Price","default":true},"case_sensitive":{"type":"boolean","title":"Case Sensitive","default":true}},"type":"object","title":"ListAcceleratorsBody","description":"The request body for the list accelerators endpoint."},"LocalDownBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"LocalDownBody","description":"The request body for the local down endpoint."},"LocalUpBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"gpus":{"type":"boolean","title":"Gpus","default":true},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"port_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Port Start"}},"type":"object","title":"LocalUpBody","description":"The request body for the local up endpoint."},"OptimizeBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"dag":{"type":"string","title":"Dag"},"request_options":{"anyOf":[{"$ref":"#/components/schemas/RequestOptions"},{"type":"null"}]},"minimize":{"$ref":"#/components/schemas/OptimizeTarget","default":0}},"type":"object","required":["dag","request_options"],"title":"OptimizeBody","description":"The request body for the optimize endpoint."},"OptimizeTarget":{"type":"integer","enum":[0,1],"title":"OptimizeTarget"},"ProvisionLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"worker":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Worker"}},"type":"object","required":["cluster_name"],"title":"ProvisionLogsBody","description":"Cluster node."},"QueueBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"skip_finished":{"type":"boolean","title":"Skip Finished","default":false},"all_users":{"type":"boolean","title":"All Users","default":false}},"type":"object","required":["cluster_name"],"title":"QueueBody","description":"The request body for the queue endpoint."},"RealtimeGpuAvailabilityRequestBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"name_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Filter"},"quantity_filter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity Filter"},"is_ssh":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Ssh"}},"type":"object","title":"RealtimeGpuAvailabilityRequestBody","description":"The request body for the realtime GPU availability endpoint."},"RecipeCreateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"type":"string","title":"Name"},"content":{"type":"string","title":"Content"},"recipe_type":{"type":"string","title":"Recipe Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"owner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Name"}},"type":"object","required":["name","content","recipe_type"],"title":"RecipeCreateBody","description":"The request body for creating a new recipe."},"RecipeDeleteBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"recipe_name":{"type":"string","title":"Recipe Name"}},"type":"object","required":["recipe_name"],"title":"RecipeDeleteBody","description":"The request body for deleting a recipe."},"RecipeGetBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"recipe_name":{"type":"string","title":"Recipe Name"}},"type":"object","required":["recipe_name"],"title":"RecipeGetBody","description":"The request body for getting a single recipe."},"RecipeListBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"pinned_only":{"type":"boolean","title":"Pinned Only","default":false},"my_recipes_only":{"type":"boolean","title":"My Recipes Only","default":false},"recipe_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipe Type"}},"type":"object","title":"RecipeListBody","description":"The request body for listing recipes."},"RecipePinBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"recipe_name":{"type":"string","title":"Recipe Name"},"pinned":{"type":"boolean","title":"Pinned"}},"type":"object","required":["recipe_name","pinned"],"title":"RecipePinBody","description":"The request body for toggling pin status."},"RecipeUpdateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"recipe_name":{"type":"string","title":"Recipe Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"}},"type":"object","required":["recipe_name"],"title":"RecipeUpdateBody","description":"The request body for updating an existing recipe."},"RequestCancelBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"request_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Request Ids"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},"type":"object","title":"RequestCancelBody","description":"The request body for the API request cancellation endpoint."},"RequestOptions":{"properties":{"cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cluster Name"},"idle_minutes_to_autostop":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Idle Minutes To Autostop"},"down":{"type":"boolean","title":"Down"},"dryrun":{"type":"boolean","title":"Dryrun"}},"type":"object","required":["cluster_name","idle_minutes_to_autostop","down","dryrun"],"title":"RequestOptions","description":"Request options for admin policy.\n\nArgs:\n    cluster_name: Name of the cluster to create/reuse. It is None if not\n        specified by the user.\n    idle_minutes_to_autostop: Autostop setting requested by a user. The\n        cluster will be set to autostop after this many minutes of idleness.\n    down: If true, use autodown rather than autostop.\n    dryrun: Is the request a dryrun?"},"RequestPayload":{"properties":{"request_id":{"type":"string","title":"Request Id"},"name":{"type":"string","title":"Name"},"entrypoint":{"type":"string","title":"Entrypoint"},"request_body":{"type":"string","title":"Request Body"},"status":{"type":"string","title":"Status"},"created_at":{"type":"number","title":"Created At"},"user_id":{"type":"string","title":"User Id"},"return_value":{"type":"string","title":"Return Value"},"error":{"type":"string","title":"Error"},"pid":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pid"},"schedule_type":{"type":"string","title":"Schedule Type"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cluster Name"},"status_msg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Msg"},"should_retry":{"type":"boolean","title":"Should Retry","default":false},"finished_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Finished At"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"}},"type":"object","required":["request_id","name","entrypoint","request_body","status","created_at","user_id","return_value","error","pid","schedule_type"],"title":"RequestPayload","description":"The payload for the requests."},"SSHUpBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"infra":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Infra"},"cleanup":{"type":"boolean","title":"Cleanup","default":false}},"type":"object","title":"SSHUpBody","description":"The request body for the SSH up/down endpoints."},"ServeDownBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"service_names":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Service Names"},"all":{"type":"boolean","title":"All","default":false},"purge":{"type":"boolean","title":"Purge","default":false}},"type":"object","required":["service_names"],"title":"ServeDownBody","description":"The request body for the serve down endpoint."},"ServeDownloadLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"service_name":{"type":"string","title":"Service Name"},"local_dir":{"type":"string","title":"Local Dir"},"targets":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/ServiceComponent"},{"items":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/ServiceComponent"}]},"type":"array"},{"type":"null"}],"title":"Targets"},"replica_ids":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Replica Ids"},"tail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tail"}},"type":"object","required":["service_name","local_dir","targets"],"title":"ServeDownloadLogsBody","description":"The request body for the serve download logs endpoint."},"ServeLogsBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"service_name":{"type":"string","title":"Service Name"},"target":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/ServiceComponent"}],"title":"Target"},"replica_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Replica Id"},"follow":{"type":"boolean","title":"Follow","default":true},"tail":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tail"}},"type":"object","required":["service_name","target"],"title":"ServeLogsBody","description":"The request body for the serve logs endpoint."},"ServeStatusBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"service_names":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Service Names"}},"type":"object","required":["service_names"],"title":"ServeStatusBody","description":"The request body for the serve status endpoint."},"ServeTerminateReplicaBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"service_name":{"type":"string","title":"Service Name"},"replica_id":{"type":"integer","title":"Replica Id"},"purge":{"type":"boolean","title":"Purge","default":false}},"type":"object","required":["service_name","replica_id"],"title":"ServeTerminateReplicaBody","description":"The request body for the serve terminate replica endpoint."},"ServeUpBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"task":{"type":"string","title":"Task"},"service_name":{"type":"string","title":"Service Name"}},"type":"object","required":["task","service_name"],"title":"ServeUpBody","description":"The request body for the serve up endpoint."},"ServeUpdateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"task":{"type":"string","title":"Task"},"service_name":{"type":"string","title":"Service Name"},"mode":{"$ref":"#/components/schemas/UpdateMode"}},"type":"object","required":["task","service_name","mode"],"title":"ServeUpdateBody","description":"The request body for the serve update endpoint."},"ServiceAccountTokenCreateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"token_name":{"type":"string","title":"Token Name"},"expires_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In Days"}},"type":"object","required":["token_name"],"title":"ServiceAccountTokenCreateBody","description":"The request body for creating a service account token."},"ServiceAccountTokenDeleteBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"token_id":{"type":"string","title":"Token Id"}},"type":"object","required":["token_id"],"title":"ServiceAccountTokenDeleteBody","description":"The request body for deleting a service account token."},"ServiceAccountTokenRoleBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"token_id":{"type":"string","title":"Token Id"}},"type":"object","required":["token_id"],"title":"ServiceAccountTokenRoleBody","description":"The request body for getting a service account token role."},"ServiceAccountTokenRotateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"token_id":{"type":"string","title":"Token Id"},"expires_in_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expires In Days"}},"type":"object","required":["token_id"],"title":"ServiceAccountTokenRotateBody","description":"The request body for rotating a service account token."},"ServiceAccountTokenUpdateRoleBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"token_id":{"type":"string","title":"Token Id"},"role":{"type":"string","title":"Role"}},"type":"object","required":["token_id","role"],"title":"ServiceAccountTokenUpdateRoleBody","description":"The request body for updating a service account token role."},"ServiceComponent":{"type":"string","enum":["controller","load_balancer","replica"],"title":"ServiceComponent"},"SlurmGpuAvailabilityRequestBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"slurm_cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slurm Cluster Name"},"name_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Filter"},"quantity_filter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quantity Filter"}},"type":"object","title":"SlurmGpuAvailabilityRequestBody","description":"Request body for getting Slurm real-time GPU availability."},"SlurmNodeInfoRequestBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"slurm_cluster_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slurm Cluster Name"}},"type":"object","title":"SlurmNodeInfoRequestBody","description":"The request body for the slurm node info endpoint."},"StartBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"idle_minutes_to_autostop":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Idle Minutes To Autostop"},"wait_for":{"anyOf":[{"$ref":"#/components/schemas/AutostopWaitFor"},{"type":"null"}]},"retry_until_up":{"type":"boolean","title":"Retry Until Up","default":false},"down":{"type":"boolean","title":"Down","default":false},"force":{"type":"boolean","title":"Force","default":false}},"type":"object","required":["cluster_name"],"title":"StartBody","description":"The request body for the start endpoint."},"StatusBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_names":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cluster Names"},"refresh":{"$ref":"#/components/schemas/StatusRefreshMode","default":"NONE"},"all_users":{"type":"boolean","title":"All Users","default":true},"include_credentials":{"type":"boolean","title":"Include Credentials","default":true},"summary_response":{"type":"boolean","title":"Summary Response","default":false},"include_handle":{"type":"boolean","title":"Include Handle","default":true}},"type":"object","title":"StatusBody","description":"The request body for the status endpoint."},"StatusRefreshMode":{"type":"string","enum":["NONE","AUTO","FORCE"],"title":"StatusRefreshMode","description":"The mode of refreshing the status of a cluster."},"StopOrDownBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"cluster_name":{"type":"string","title":"Cluster Name"},"purge":{"type":"boolean","title":"Purge","default":false},"graceful":{"type":"boolean","title":"Graceful","default":false},"graceful_timeout":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Graceful Timeout"}},"type":"object","required":["cluster_name"],"title":"StopOrDownBody"},"StorageBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"StorageBody","description":"The request body for the storage endpoint."},"UpdateConfigBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["config"],"title":"UpdateConfigBody","description":"The request body for updating the entire SkyPilot configuration."},"UpdateMode":{"type":"string","enum":["rolling","blue_green"],"title":"UpdateMode","description":"Update mode for updating a service."},"UpdateWorkspaceBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"workspace_name":{"type":"string","title":"Workspace Name","default":""},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["config"],"title":"UpdateWorkspaceBody","description":"The request body for updating a specific workspace configuration."},"UploadZipFileResponse":{"properties":{"status":{"type":"string","title":"Status"},"missing_chunks":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Missing Chunks"}},"type":"object","required":["status"],"title":"UploadZipFileResponse","description":"The response body for the upload zip file endpoint."},"User":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"created_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Created At"},"user_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Type"}},"type":"object","required":["id"],"title":"User"},"UserCreateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"}},"type":"object","required":["username","password"],"title":"UserCreateBody","description":"The request body for the user create endpoint."},"UserDeleteBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"user_id":{"type":"string","title":"User Id"}},"type":"object","required":["user_id"],"title":"UserDeleteBody","description":"The request body for the user delete endpoint."},"UserImportBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"csv_content":{"type":"string","title":"Csv Content"}},"type":"object","required":["csv_content"],"title":"UserImportBody","description":"The request body for the user import endpoint."},"UserUpdateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"user_id":{"type":"string","title":"User Id"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"}},"type":"object","required":["user_id"],"title":"UserUpdateBody","description":"The request body for the user update endpoint."},"ValidateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"dag":{"type":"string","title":"Dag"},"request_options":{"anyOf":[{"$ref":"#/components/schemas/RequestOptions"},{"type":"null"}]}},"type":"object","required":["dag","request_options"],"title":"ValidateBody","description":"The request body for the validate endpoint."},"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"},"VolumeApplyBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"type":"string","title":"Name"},"volume_type":{"type":"string","title":"Volume Type"},"cloud":{"type":"string","title":"Cloud"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"labels":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Labels"},"use_existing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Existing"},"creation_yaml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Creation Yaml"}},"type":"object","required":["name","volume_type","cloud"],"title":"VolumeApplyBody","description":"The request body for the volume apply endpoint."},"VolumeDeleteBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"names":{"items":{"type":"string"},"type":"array","title":"Names"},"purge":{"type":"boolean","title":"Purge","default":false}},"type":"object","required":["names"],"title":"VolumeDeleteBody","description":"The request body for the volume delete endpoint."},"VolumeValidateBody":{"properties":{"env_vars":{"additionalProperties":{"type":"string"},"type":"object","title":"Env Vars","default":{}},"entrypoint":{"type":"string","title":"Entrypoint","default":""},"entrypoint_command":{"type":"string","title":"Entrypoint Command","default":""},"using_remote_api_server":{"type":"boolean","title":"Using Remote Api Server","default":false},"override_skypilot_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Override Skypilot Config","default":{}},"override_skypilot_config_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Override Skypilot Config Path"},"file_mounts_blob_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Mounts Blob Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"volume_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Volume Type"},"infra":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Infra"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"},"labels":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Labels"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"},"use_existing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Existing"}},"type":"object","title":"VolumeValidateBody","description":"The request body for the volume validate endpoint."}}}}