Service Accounts

Service accounts enable programmatic access to the NVIDIA Run:ai API, allowing applications or automated systems to authenticate and interact securely. Each service account is associated with an access key which includes a client ID and secret used to generate access token. Service accounts can be managed organization-wide or with a defined scope.

Get a list of service accounts.

get

Retrieve a list of service accounts.

Authorizations
AuthorizationstringRequired

Bearer authentication

Responses
chevron-right
200

Executed successfully.

application/json
namestringRequired

The name of the service account.

createdBystringRequired

The email address of the user who created the service account.

createdAtstring · date-time · nullableRequired

The timestamp for when the service account was created.

updatedAtstring · date-time · nullableRequired

The timestamp for when the service account was last updated.

enabledbooleanRequired

Indicates whether the service account is enabled.

tenantIdstringOptional

The unique identifier of the tenant.

lastLoginstring · date-time · nullableRequired

The timestamp of the last time the service account was used to authenticate.

idstringRequired

The unique identifier of the service account.

clientIdstringRequired

The client identifier associated with the service account. Used when requesting authentication tokens.

get
/api/v1/service-accounts

Create a service account.

post

Used to create a service account.

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
namestring · min: 2 · max: 255Required

The name of the service account. The name must be unique within the organization and can only contain lowercase alphanumeric characters and hyphens. It must start and end with a letter.

Pattern: ^[a-z][-_a-z0-9]*[a-z0-9]$
Responses
post
/api/v1/service-accounts

Get service account by id.

get

Retrieve the details of a service account by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
serviceAccountIdstringRequired

Service account id

Example: 6d2894ba-f998-4039-bba1-caba57caf681
Responses
chevron-right
200

Executed successfully.

application/json
namestringRequired

The name of the service account.

createdBystringRequired

The email address of the user who created the service account.

createdAtstring · date-time · nullableRequired

The timestamp for when the service account was created.

updatedAtstring · date-time · nullableRequired

The timestamp for when the service account was last updated.

enabledbooleanRequired

Indicates whether the service account is enabled.

tenantIdstringOptional

The unique identifier of the tenant.

lastLoginstring · date-time · nullableRequired

The timestamp of the last time the service account was used to authenticate.

idstringRequired

The unique identifier of the service account.

clientIdstringRequired

The client identifier associated with the service account. Used when requesting authentication tokens.

get
/api/v1/service-accounts/{serviceAccountId}

Delete a service account by id.

delete

Use to delete a service account by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
serviceAccountIdstringRequired

Service account id

Example: 6d2894ba-f998-4039-bba1-caba57caf681
Responses
delete
/api/v1/service-accounts/{serviceAccountId}

No content

Update service account details by id.

patch

Use to update the details of a service account by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
serviceAccountIdstringRequired

Service account id

Example: 6d2894ba-f998-4039-bba1-caba57caf681
Body
enabledbooleanRequired

Indicates whether the service account is enabled.

Responses
chevron-right
200

Executed successfully.

No content

patch
/api/v1/service-accounts/{serviceAccountId}

No content

Regenerate a service account secret.

post

Use to regenerate the service account secret by id.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
serviceAccountIdstringRequired

Service account id

Example: 6d2894ba-f998-4039-bba1-caba57caf681
Responses
chevron-right
200

Regenerated successfully.

application/json
clientSecretstringOptional

Secret credential paired with the client ID. Used to obtain authentication tokens. Displayed only once upon regeneration.

post
/api/v1/service-accounts/{serviceAccountId}/secret

Last updated