Authorizations
Body
application/json
The name of the account. This will be displayed in the Scale GenAI Platform UI.
Response
Successful Response
The ID of the created account.
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const createAccountResponse = await client.accounts.create({ account_name: 'account_name' });
console.log(createAccountResponse.account_id);
{
"account_id": "<string>"
}
Create a new account that with yourself as the admin.
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const createAccountResponse = await client.accounts.create({ account_name: 'account_name' });
console.log(createAccountResponse.account_id);
{
"account_id": "<string>"
}
The name of the account. This will be displayed in the Scale GenAI Platform UI.
Successful Response
The ID of the created account.