agentuity-cli-auth-apikey

Display the API key for the currently authenticated user. Requires authentication. Use for managing authentication credentials

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026

When & Why to Use This Skill

The agentuity-cli-auth-apikey skill allows users to securely retrieve and display the API key for their currently authenticated session within the Agentuity CLI. It is designed to streamline credential management, providing a quick way to access the necessary tokens for environment configuration, script integration, and programmatic authentication.

Use Cases

  • Environment Configuration: Quickly retrieve your API key to set up local environment variables or .env files for development projects requiring Agentuity access.
  • CI/CD Pipeline Integration: Use the JSON output capability to programmatically inject authentication credentials into automated build and deployment workflows.
  • Authentication Troubleshooting: Verify the active API key to diagnose permission errors or confirm that the correct user account is currently logged into the CLI tool.
  • Scripting and Automation: Extract the API key for use in custom Bash or Python scripts that automate interactions with the Agentuity platform.
nameagentuity-cli-auth-apikey
descriptionDisplay the API key for the currently authenticated user. Requires authentication. Use for managing authentication credentials
version"0.1.2"
licenseApache-2.0
allowed-tools"Bash(agentuity:*)"
command"agentuity auth apikey"
tags"read-only fast requires-auth"

Auth Apikey

Display the API key for the currently authenticated user

Prerequisites

  • Authenticated with agentuity auth login

Usage

agentuity auth apikey

Examples

Print the API key:

bunx @agentuity/cli auth apikey

Output API key in JSON format:

bunx @agentuity/cli --json auth apikey

Output

Returns JSON object:

{
  "apiKey": "string"
}
Field Type Description
apiKey string The API key for the authenticated user