Skip to main content
POST
/
accounts
Python
import os
from scale_gp import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
create_account_response = client.accounts.create(
    account_name="account_name",
)
print(create_account_response.account_id)
{
  "account_id": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
account_name
string
required

The name of the account. This will be displayed in the Scale GenAI Platform UI.

Response

Successful Response

account_id
string
required

The ID of the created account.