get_identity
Retrieve current Prefect instance identity, API URL, type (cloud or open-source), and user information to determine which environment you are connected to.
Instructions
Get identity and connection information for the current Prefect instance.
Returns API URL, type (cloud/oss), and user information if available. Essential for understanding which Prefect instance you're connected to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| success | Yes | ||
| identity | Yes |