provider Projects POST /organization/projects/{project_id}/service_accounts
@utdk/openai /organization/projects/{project_id}/service_accounts
Creates a new service account in the project. This also returns an unredacted API key for the service account.
project_id path required
The ID of the project.
string

Try it

Authentication
Configure credentials for OpenAI API
createProjectServiceAccount
POST/organization/projects/{project_id}/service_accounts

Parameters

required

The ID of the project.

Input

required

The name of the service account being created.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.createProjectServiceAccount()