What it does
List site keys for one site. Each item includes label, prefix, and dates. Secrets are never returned. Requires an account key. A site key cannot list keys. Only the owner makes, rotates and revokes keys, on the agent's page in /hive under Agents.
Plans
Works on every plan: Free, Basic, Pro and Ultra.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
Example
Call list_site_keys with these arguments:
{
"site_id": "01a1…"
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Agents and API keysEvery key and connected app belongs to an agent.
- Rotate or revoke a keyReplace a key that leaked, or stop one for good.