Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ docs/_build/
# PyBuilder
target/

#Ipython Notebook
# Ipython Notebook
.ipynb_checkpoints
27 changes: 27 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ docs/CatalogInstanceUsageApi.md
docs/CatalogInstancesApi.md
docs/CatalogRegionsApi.md
docs/CatalogUsage.md
docs/ClearIdenfyVerificationResultRequest.md
docs/ComposeApi.md
docs/ComposeReply.md
docs/ConfigFile.md
docs/ConfirmPaymentAuthorizationReply.md
docs/CouponsApi.md
docs/CreateAccessTokenReply.md
docs/CreateAccessTokenRequest.md
docs/CreateAccountRequest.md
docs/CreateApp.md
docs/CreateAppReply.md
Expand Down Expand Up @@ -175,6 +178,7 @@ docs/GetServiceReply.md
docs/GetSnapshotReply.md
docs/GetSubscriptionReply.md
docs/GetUserOrganizationInvitationReply.md
docs/GetUserSettingsReply.md
docs/GitDeploymentMetadata.md
docs/GitEnvDeploymentMetadata.md
docs/GitHubRegistryConfiguration.md
Expand Down Expand Up @@ -241,6 +245,8 @@ docs/ListUsageReply.md
docs/ListUserOrganizationInvitationsReply.md
docs/ListUserOrganizationsReply.md
docs/LogEntry.md
docs/LoginMethodReply.md
docs/LoginMethodReplyMethod.md
docs/LoginReply.md
docs/LoginRequest.md
docs/LogsApi.md
Expand Down Expand Up @@ -383,6 +389,8 @@ docs/UpdateServiceReply.md
docs/UpdateSnapshotReply.md
docs/UpdateSnapshotRequest.md
docs/UpdateUserRequestUserUpdateBody.md
docs/UpdateUserSettingsReply.md
docs/UpdateUserSettingsRequest.md
docs/UpsertSignupQualificationReply.md
docs/UpsertSignupQualificationRequest.md
docs/Usage.md
Expand All @@ -392,6 +400,7 @@ docs/User.md
docs/UserFlags.md
docs/UserReply.md
docs/UserRoleRole.md
docs/UserSettings.md
docs/UsersApi.md
docs/VerifyDockerImageReply.md
docs/VerifyDockerImageReplyErrCode.md
Expand Down Expand Up @@ -470,9 +479,12 @@ koyeb/models/catalog_gpu_details.py
koyeb/models/catalog_instance.py
koyeb/models/catalog_instance_list_item.py
koyeb/models/catalog_usage.py
koyeb/models/clear_idenfy_verification_result_request.py
koyeb/models/compose_reply.py
koyeb/models/config_file.py
koyeb/models/confirm_payment_authorization_reply.py
koyeb/models/create_access_token_reply.py
koyeb/models/create_access_token_request.py
koyeb/models/create_account_request.py
koyeb/models/create_app.py
koyeb/models/create_app_reply.py
Expand Down Expand Up @@ -603,6 +615,7 @@ koyeb/models/get_service_reply.py
koyeb/models/get_snapshot_reply.py
koyeb/models/get_subscription_reply.py
koyeb/models/get_user_organization_invitation_reply.py
koyeb/models/get_user_settings_reply.py
koyeb/models/git_deployment_metadata.py
koyeb/models/git_env_deployment_metadata.py
koyeb/models/git_hub_registry_configuration.py
Expand Down Expand Up @@ -666,6 +679,8 @@ koyeb/models/list_usage_reply.py
koyeb/models/list_user_organization_invitations_reply.py
koyeb/models/list_user_organizations_reply.py
koyeb/models/log_entry.py
koyeb/models/login_method_reply.py
koyeb/models/login_method_reply_method.py
koyeb/models/login_reply.py
koyeb/models/login_request.py
koyeb/models/manage_reply.py
Expand Down Expand Up @@ -786,6 +801,8 @@ koyeb/models/update_service_reply.py
koyeb/models/update_snapshot_reply.py
koyeb/models/update_snapshot_request.py
koyeb/models/update_user_request_user_update_body.py
koyeb/models/update_user_settings_reply.py
koyeb/models/update_user_settings_request.py
koyeb/models/upsert_signup_qualification_reply.py
koyeb/models/upsert_signup_qualification_request.py
koyeb/models/usage.py
Expand All @@ -794,6 +811,7 @@ koyeb/models/user.py
koyeb/models/user_flags.py
koyeb/models/user_reply.py
koyeb/models/user_role_role.py
koyeb/models/user_settings.py
koyeb/models/verify_docker_image_reply.py
koyeb/models/verify_docker_image_reply_err_code.py
koyeb/py.typed
Expand Down Expand Up @@ -838,11 +856,14 @@ test/test_catalog_instance_usage_api.py
test/test_catalog_instances_api.py
test/test_catalog_regions_api.py
test/test_catalog_usage.py
test/test_clear_idenfy_verification_result_request.py
test/test_compose_api.py
test/test_compose_reply.py
test/test_config_file.py
test/test_confirm_payment_authorization_reply.py
test/test_coupons_api.py
test/test_create_access_token_reply.py
test/test_create_access_token_request.py
test/test_create_account_request.py
test/test_create_app.py
test/test_create_app_reply.py
Expand Down Expand Up @@ -977,6 +998,7 @@ test/test_get_service_reply.py
test/test_get_snapshot_reply.py
test/test_get_subscription_reply.py
test/test_get_user_organization_invitation_reply.py
test/test_get_user_settings_reply.py
test/test_git_deployment_metadata.py
test/test_git_env_deployment_metadata.py
test/test_git_hub_registry_configuration.py
Expand Down Expand Up @@ -1043,6 +1065,8 @@ test/test_list_usage_reply.py
test/test_list_user_organization_invitations_reply.py
test/test_list_user_organizations_reply.py
test/test_log_entry.py
test/test_login_method_reply.py
test/test_login_method_reply_method.py
test/test_login_reply.py
test/test_login_request.py
test/test_logs_api.py
Expand Down Expand Up @@ -1185,6 +1209,8 @@ test/test_update_service_reply.py
test/test_update_snapshot_reply.py
test/test_update_snapshot_request.py
test/test_update_user_request_user_update_body.py
test/test_update_user_settings_reply.py
test/test_update_user_settings_request.py
test/test_upsert_signup_qualification_reply.py
test/test_upsert_signup_qualification_request.py
test/test_usage.py
Expand All @@ -1194,6 +1220,7 @@ test/test_user.py
test/test_user_flags.py
test/test_user_reply.py
test/test_user_role_role.py
test/test_user_settings.py
test/test_users_api.py
test/test_verify_docker_image_reply.py
test/test_verify_docker_image_reply_err_code.py
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.14.0
7.17.0-SNAPSHOT
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TEST_OPTS=-v -test.timeout 300s
GIT_USER_ID?=koyeb
GIT_REPO_ID?=koyeb-api-client-python
OPENAPI_GENERATOR_VERSION?=latest
PACKAGE_VERSION?=2025.7.0
PACKAGE_VERSION?=2025.10.0


.PHONY: gen
Expand Down
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ The Koyeb API allows you to interact with the Koyeb platform in a simple, progra
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- Package version: 2025.7.0
- Generator version: 7.14.0
- Package version: 2025.10.0
- Generator version: 7.17.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -161,26 +161,30 @@ Class | Method | HTTP request | Description
*PersistentVolumesApi* | [**list_persistent_volumes**](docs/PersistentVolumesApi.md#list_persistent_volumes) | **GET** /v1/volumes | List all PersistentVolumes
*PersistentVolumesApi* | [**update_persistent_volume**](docs/PersistentVolumesApi.md#update_persistent_volume) | **POST** /v1/volumes/{id} | Update a PersistentVolume
*ProfileApi* | [**accept_organization_invitation**](docs/ProfileApi.md#accept_organization_invitation) | **POST** /v1/account/organization_invitations/{id}/accept | Accept Organization Invitation
*ProfileApi* | [**clear_idenfy_verification_result**](docs/ProfileApi.md#clear_idenfy_verification_result) | **POST** /v1/account/idenfy | ClearIdenfyVerificationResult marks the current result for idenfy as superseded
*ProfileApi* | [**decline_organization_invitation**](docs/ProfileApi.md#decline_organization_invitation) | **POST** /v1/account/organization_invitations/{id}/decline | Decline Organization Invitation
*ProfileApi* | [**get_current_organization**](docs/ProfileApi.md#get_current_organization) | **GET** /v1/account/organization | Get Current Organization
*ProfileApi* | [**get_current_user**](docs/ProfileApi.md#get_current_user) | **GET** /v1/account/profile | Get Current User
*ProfileApi* | [**get_idenfy_token**](docs/ProfileApi.md#get_idenfy_token) | **GET** /v1/account/idenfy | Begin a session with iDenfy, emit an authToken
*ProfileApi* | [**get_o_auth_options**](docs/ProfileApi.md#get_o_auth_options) | **GET** /v1/account/oauth | Get OAuth Providers
*ProfileApi* | [**get_user_organization_invitation**](docs/ProfileApi.md#get_user_organization_invitation) | **GET** /v1/account/organization_invitations/{id} | Get User Organization Invitation
*ProfileApi* | [**get_user_settings**](docs/ProfileApi.md#get_user_settings) | **GET** /v1/account/settings |
*ProfileApi* | [**list_user_organization_invitations**](docs/ProfileApi.md#list_user_organization_invitations) | **GET** /v1/account/organization_invitations | List User Organization Invitations
*ProfileApi* | [**list_user_organizations**](docs/ProfileApi.md#list_user_organizations) | **GET** /v1/account/organizations | List User Organizations
*ProfileApi* | [**login_method**](docs/ProfileApi.md#login_method) | **GET** /v1/account/login_method | Get the login method for an email address
*ProfileApi* | [**o_auth_callback**](docs/ProfileApi.md#o_auth_callback) | **POST** /v1/account/oauth | Authenticate using OAuth
*ProfileApi* | [**resend_email_validation**](docs/ProfileApi.md#resend_email_validation) | **POST** /v1/account/resend_validation | Resend Email Verification
*ProfileApi* | [**reset_password**](docs/ProfileApi.md#reset_password) | **POST** /v1/account/reset_password | Reset Password
*ProfileApi* | [**signup**](docs/ProfileApi.md#signup) | **POST** /v1/account/signup | Signup
*ProfileApi* | [**update_password**](docs/ProfileApi.md#update_password) | **POST** /v1/account/update_password | Update Password
*ProfileApi* | [**update_user**](docs/ProfileApi.md#update_user) | **PUT** /v1/account/profile | Update User
*ProfileApi* | [**update_user2**](docs/ProfileApi.md#update_user2) | **PATCH** /v1/account/profile | Update User
*ProfileApi* | [**update_user_settings**](docs/ProfileApi.md#update_user_settings) | **PATCH** /v1/account/settings |
*ProfileApi* | [**validate**](docs/ProfileApi.md#validate) | **POST** /v1/account/validate/{id} | Validate
*ProvisioningApi* | [**create_stage_attempt**](docs/ProvisioningApi.md#create_stage_attempt) | **POST** /v1/provisioning/{deployment_id}/status/{stage}/{attempt} | Create an attempt for a stage
*ProvisioningApi* | [**declare_stage_progress**](docs/ProvisioningApi.md#declare_stage_progress) | **PATCH** /v1/provisioning/{deployment_id}/status/{stage}/{attempt} | Declare stage progress
*ProvisioningApi* | [**declare_step_progress**](docs/ProvisioningApi.md#declare_step_progress) | **PATCH** /v1/provisioning/{deployment_id}/status/{stage}/{attempt}/{step} | Declare step progress
*QuotasApi* | [**review_organization_capacity**](docs/QuotasApi.md#review_organization_capacity) | **POST** /v1/quotas/capacity | Review Organization Capacity
*QuotasApi* | [**review_organization_capacity**](docs/QuotasApi.md#review_organization_capacity) | **POST** /v1/quotas/capacity | DEPRECATED: Review Organization Capacity
*RegionalDeploymentsApi* | [**get_regional_deployment**](docs/RegionalDeploymentsApi.md#get_regional_deployment) | **GET** /v1/regional_deployments/{id} | Get Regional Deployment
*RegionalDeploymentsApi* | [**list_regional_deployment_events**](docs/RegionalDeploymentsApi.md#list_regional_deployment_events) | **GET** /v1/regional_deployment_events | List Regional Deployment events
*RegionalDeploymentsApi* | [**list_regional_deployments**](docs/RegionalDeploymentsApi.md#list_regional_deployments) | **GET** /v1/regional_deployments | List Regional Deployments
Expand Down Expand Up @@ -227,6 +231,7 @@ Class | Method | HTTP request | Description
*BillingApi* | [**manage**](docs/BillingApi.md#manage) | **GET** /v1/billing/manage |
*BillingApi* | [**next_invoice**](docs/BillingApi.md#next_invoice) | **GET** /v1/billing/next_invoice | Experimental: Fetch next invoice
*InviteApi* | [**create_invite**](docs/InviteApi.md#create_invite) | **POST** /v1/account/invite |
*OrganizationApi* | [**create_access_token**](docs/OrganizationApi.md#create_access_token) | **POST** /v1/organizations/{id}/access_token | CreateAccessToken
*OrganizationApi* | [**create_budget**](docs/OrganizationApi.md#create_budget) | **POST** /v1/organizations/{organization_id}/budget | Create Budget
*OrganizationApi* | [**create_organization**](docs/OrganizationApi.md#create_organization) | **POST** /v1/organizations | Create Organization
*OrganizationApi* | [**deactivate_organization**](docs/OrganizationApi.md#deactivate_organization) | **POST** /v1/organizations/{id}/deactivate | Deactivate an Organization
Expand Down Expand Up @@ -276,9 +281,12 @@ Class | Method | HTTP request | Description
- [CatalogInstance](docs/CatalogInstance.md)
- [CatalogInstanceListItem](docs/CatalogInstanceListItem.md)
- [CatalogUsage](docs/CatalogUsage.md)
- [ClearIdenfyVerificationResultRequest](docs/ClearIdenfyVerificationResultRequest.md)
- [ComposeReply](docs/ComposeReply.md)
- [ConfigFile](docs/ConfigFile.md)
- [ConfirmPaymentAuthorizationReply](docs/ConfirmPaymentAuthorizationReply.md)
- [CreateAccessTokenReply](docs/CreateAccessTokenReply.md)
- [CreateAccessTokenRequest](docs/CreateAccessTokenRequest.md)
- [CreateAccountRequest](docs/CreateAccountRequest.md)
- [CreateApp](docs/CreateApp.md)
- [CreateAppReply](docs/CreateAppReply.md)
Expand Down Expand Up @@ -409,6 +417,7 @@ Class | Method | HTTP request | Description
- [GetSnapshotReply](docs/GetSnapshotReply.md)
- [GetSubscriptionReply](docs/GetSubscriptionReply.md)
- [GetUserOrganizationInvitationReply](docs/GetUserOrganizationInvitationReply.md)
- [GetUserSettingsReply](docs/GetUserSettingsReply.md)
- [GitDeploymentMetadata](docs/GitDeploymentMetadata.md)
- [GitEnvDeploymentMetadata](docs/GitEnvDeploymentMetadata.md)
- [GitHubRegistryConfiguration](docs/GitHubRegistryConfiguration.md)
Expand Down Expand Up @@ -472,6 +481,8 @@ Class | Method | HTTP request | Description
- [ListUserOrganizationInvitationsReply](docs/ListUserOrganizationInvitationsReply.md)
- [ListUserOrganizationsReply](docs/ListUserOrganizationsReply.md)
- [LogEntry](docs/LogEntry.md)
- [LoginMethodReply](docs/LoginMethodReply.md)
- [LoginMethodReplyMethod](docs/LoginMethodReplyMethod.md)
- [LoginReply](docs/LoginReply.md)
- [LoginRequest](docs/LoginRequest.md)
- [ManageReply](docs/ManageReply.md)
Expand Down Expand Up @@ -592,6 +603,8 @@ Class | Method | HTTP request | Description
- [UpdateSnapshotReply](docs/UpdateSnapshotReply.md)
- [UpdateSnapshotRequest](docs/UpdateSnapshotRequest.md)
- [UpdateUserRequestUserUpdateBody](docs/UpdateUserRequestUserUpdateBody.md)
- [UpdateUserSettingsReply](docs/UpdateUserSettingsReply.md)
- [UpdateUserSettingsRequest](docs/UpdateUserSettingsRequest.md)
- [UpsertSignupQualificationReply](docs/UpsertSignupQualificationReply.md)
- [UpsertSignupQualificationRequest](docs/UpsertSignupQualificationRequest.md)
- [Usage](docs/Usage.md)
Expand All @@ -600,6 +613,7 @@ Class | Method | HTTP request | Description
- [UserFlags](docs/UserFlags.md)
- [UserReply](docs/UserReply.md)
- [UserRoleRole](docs/UserRoleRole.md)
- [UserSettings](docs/UserSettings.md)
- [VerifyDockerImageReply](docs/VerifyDockerImageReply.md)
- [VerifyDockerImageReplyErrCode](docs/VerifyDockerImageReplyErrCode.md)

Expand Down
2 changes: 1 addition & 1 deletion bumpver.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpver]
current_version = "2025.7.0"
current_version = "2025.10.0"
version_pattern = "YYYY.MM.PATCH[PYTAGNUM]"
commit = false
tag = false
Expand Down
1 change: 1 addition & 0 deletions docs/CatalogInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Name | Type | Description | Notes
**gpu** | [**CatalogGPUDetails**](CatalogGPUDetails.md) | | [optional]
**service_types** | **List[str]** | | [optional]
**volumes_enabled** | **bool** | | [optional]
**light_sleep_enabled** | **bool** | | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions docs/CatalogInstanceListItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Name | Type | Description | Notes
**gpu** | [**CatalogGPUDetails**](CatalogGPUDetails.md) | | [optional]
**service_types** | **List[str]** | | [optional]
**volumes_enabled** | **bool** | | [optional]
**light_sleep_enabled** | **bool** | | [optional]

## Example

Expand Down
30 changes: 30 additions & 0 deletions docs/ClearIdenfyVerificationResultRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ClearIdenfyVerificationResultRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**user_id** | **str** | | [optional]
**organization_id** | **str** | | [optional]

## Example

```python
from koyeb.models.clear_idenfy_verification_result_request import ClearIdenfyVerificationResultRequest

# TODO update the JSON string below
json = "{}"
# create an instance of ClearIdenfyVerificationResultRequest from a JSON string
clear_idenfy_verification_result_request_instance = ClearIdenfyVerificationResultRequest.from_json(json)
# print the JSON string representation of the object
print(ClearIdenfyVerificationResultRequest.to_json())

# convert the object into a dict
clear_idenfy_verification_result_request_dict = clear_idenfy_verification_result_request_instance.to_dict()
# create an instance of ClearIdenfyVerificationResultRequest from a dict
clear_idenfy_verification_result_request_from_dict = ClearIdenfyVerificationResultRequest.from_dict(clear_idenfy_verification_result_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


29 changes: 29 additions & 0 deletions docs/CreateAccessTokenReply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CreateAccessTokenReply


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**token** | **str** | | [optional]

## Example

```python
from koyeb.models.create_access_token_reply import CreateAccessTokenReply

# TODO update the JSON string below
json = "{}"
# create an instance of CreateAccessTokenReply from a JSON string
create_access_token_reply_instance = CreateAccessTokenReply.from_json(json)
# print the JSON string representation of the object
print(CreateAccessTokenReply.to_json())

# convert the object into a dict
create_access_token_reply_dict = create_access_token_reply_instance.to_dict()
# create an instance of CreateAccessTokenReply from a dict
create_access_token_reply_from_dict = CreateAccessTokenReply.from_dict(create_access_token_reply_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


29 changes: 29 additions & 0 deletions docs/CreateAccessTokenRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CreateAccessTokenRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**validity** | **str** | | [optional]

## Example

```python
from koyeb.models.create_access_token_request import CreateAccessTokenRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateAccessTokenRequest from a JSON string
create_access_token_request_instance = CreateAccessTokenRequest.from_json(json)
# print the JSON string representation of the object
print(CreateAccessTokenRequest.to_json())

# convert the object into a dict
create_access_token_request_dict = create_access_token_request_instance.to_dict()
# create an instance of CreateAccessTokenRequest from a dict
create_access_token_request_from_dict = CreateAccessTokenRequest.from_dict(create_access_token_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/Credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**organization_id** | **str** | | [optional]
**updated_at** | **datetime** | | [optional]
**created_at** | **datetime** | | [optional]
**expires_at** | **datetime** | | [optional]

## Example

Expand Down
Loading