API Authentication

NVIDIA Air uses NGC API keys for authenticating API requests. This page covers Air-specific authentication details. For general information about NGC API keys, see the NGC API Keys documentation.

For the full API reference, see the NVIDIA Air API documentation.

API Key Types

NGC supports two types of API keys:

Key TypeUse CaseLifecycle
Personal KeyIndividual development, testingTied to user account
Service KeyAutomation, CI/CD pipelinesTied to NGC org (not a user)

For most Air API usage, a Personal Key is sufficient. Use Service Keys when you need automation that shouldn’t depend on an individual user’s account.

Generating API Keys

To generate an API key:

When generating a key, select NVIDIA Air from the services list to grant Air API access.

Using API Keys

Include your API key in the Authorization header:

curl -X GET "https://api.air-ngc.nvidia.com/api/v3/simulations/" \
  -H "Authorization: Bearer YOUR_API_KEY"

Roles and Scopes

Air uses a role-based access control system managed through NGC. The Air API checks scopes to authorize requests. How you get scopes depends on the key type:

  • Personal API Keys: You assign roles to users in NGC. Air automatically derives scopes from those roles.
  • Service Keys: You assign scopes directly when creating the key, giving you fine-grained control.

Roles

Roles are assigned to users in your NGC organization and apply to Personal API Keys. To manage user roles, see Updating User Roles in the NGC documentation.

RoleDescription
airStandard Air user with full simulation access
air-adminAdministrative access to all Air resources
air-demo-managerCan manage Demo Marketplace content
air-image-uploaderCan upload custom images
air-image-publisherCan publish images for public availability
air-image-sharerCan create cross-org image sharing links
air-instructorCan create and manage training sessions

Scopes

Scopes are the permissions that the Air API checks to authorize requests. For Personal API Keys, scopes are derived from assigned roles. For Service Keys, you select scopes directly when generating the key.

ScopeDescription
air:accessBasic platform access (required for all users)
air:simulation_readRead simulation details, nodes, interfaces, services
air:simulation_createCreate simulations via import, clone, or UI
air:simulation_editModify simulation properties and topology
air:simulation_deleteDelete simulations
air:simulation_start_stopStart and stop simulations
air:image_readView published and org images
air:image_writeUpload and edit images
air:image_publishPublish images for public availability (not restricted to any org)
air:image_sharingCreate cross-org image share links
air:marketplace_demo_readView and interact with marketplace demos
air:marketplace_demo_writeCreate and edit marketplace demos
air:marketplace_demo_publishPublish demos to the marketplace
air:training_instructorCreate and manage training sessions

Role to Scope Mapping

The standard air role grants these scopes:

  • air:access
  • air:simulation_read
  • air:simulation_create
  • air:simulation_edit
  • air:simulation_delete
  • air:simulation_start_stop
  • air:image_read

Additional roles grant additional scopes as indicated by their names.