skypilot_api_login
Log in to a remote SkyPilot API server and set the endpoint globally for subsequent calls. Force re-authentication with OAuth2 using relogin.
Instructions
Log in to a remote SkyPilot API server. Sets the endpoint globally so all subsequent SkyPilot calls use it. Set relogin=True to force re-authentication with OAuth2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relogin | No | ||
| endpoint | No | ||
| service_account_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |