clerk.get_api_key
Retrieve API key metadata by id from a connected Clerk application.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the API key summary without the secret.
Cost = 3 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key_id | Yes | Clerk API key id (ak_...) to retrieve, update, delete, or revoke. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Clerk API key metadata from the Backend API. |