Get API Key
get_api_keyMint a DC Hub API key to unlock more data center and energy data than keyless access, optionally tying it to an email for recovery and weekly lookup summaries.
Instructions
Use this when the user wants more DC Hub data center data than keyless allows, or asks for a key; no key is needed to start. DATA USE: the optional email, used to make the key recoverable and send its weekly lookup summary. DC Hub keeps it and never sells it or shares it for anyone else’s use (https://dchub.cloud/privacy). Run only when your human asks; confirm the email with them first. Mints a key and returns it plus connect_url, a connector URL with the key embedded (the only thing hosted chat clients keep). WHAT AN EMAIL KEEPS: the key, with its saved shortlists, alerts and tracked changes (get_changes), for the next chat; fuller grid, queue and market answers; a weekly summary of what your key looked up (unsubscribe anytime); and recovery (recover_my_key re-sends a lost key to that inbox). Ask the user for an email first; pass it only if they typed it. Save and reuse the key (lost one: recover_my_key); don't re-mint. Then ask the real question (execute_plan for multi-step). If a call was answered with a sign-in challenge (401 WWW-Authenticate), prefer signing in: that identity persists, but a human must finish it in a browser. For multi-step data center or energy questions, start with execute_plan.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Optional owner email to make the key recoverable across sessions; use only an address your human explicitly gave and confirmed. DC Hub keeps it and never sells or shares it | ||
| market | No | Optional market slug to follow with the email, e.g. northern-virginia: the same call follows its daily changes | |
| client_name | No | Your agent/app name for attribution, e.g. "Claude Desktop" or "acme-siting-bot" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||