Auth Apikey
Display the API key for the currently authenticated user
Prerequisites
- •Authenticated with
agentuity auth login
Usage
bash
agentuity auth apikey
Examples
Print the API key:
bash
bunx @agentuity/cli auth apikey
Output API key in JSON format:
bash
bunx @agentuity/cli --json auth apikey
Output
Returns JSON object:
json
{
"apiKey": "string"
}
| Field | Type | Description |
|---|---|---|
apiKey | string | The API key for the authenticated user |