JsonFabrica whoami
jsonfabrica_whoamiRetrieves the tenant ID and role associated with the configured API key from the JsonFabrica gateway.
Instructions
Calls GET /v1/whoami on the JsonFabrica gateway using the configured API key. Returns { tenantId, role } for the configured JSONFABRICA_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role associated with the configured API key. | |
| tenantId | Yes | Tenant id resolved from the configured API key. |