> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/run-ai/self-hosted/v3.0/reference/rest-api/endpoints/authentication-and-authorization/tokens/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/run-ai/_mcp/server. # Tokens Use tokens to facilitate authentication to the NVIDIA Run:ai API. The API server must be configured to use the NVIDIA Run:ai identity service to validate authentication tokens. ## API Docs - Tokens [Create an access token v1](https://docs.nvidia.com/run-ai/self-hosted/v3.0/reference/rest-api/endpoints/authentication-and-authorization/tokens/grant-token.md) - Tokens [Create an access token v2](https://docs.nvidia.com/run-ai/self-hosted/v3.0/reference/rest-api/endpoints/authentication-and-authorization/tokens/grant-token-v-2.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.nvidia.com/run-ai/self-hosted/v3.0/reference/rest-api/endpoints/authentication-and-authorization/tokens/openapi.json) - [OpenAPI YAML](https://docs.nvidia.com/run-ai/self-hosted/v3.0/reference/rest-api/endpoints/authentication-and-authorization/tokens/openapi.yaml)