clerk.get_instance
Retrieve the connected Clerk application instance id and environment type.
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 Clerk instance id (ins_...) and environment_type (development or production). App display names are not available from the Backend API.
Cost = 2 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| instance | No | Connected Clerk instance metadata. |