Retrieve a Resource ID
In this guide, you will find the Turbot ID (Resource ID) for any managed resource in the Guardrails console.
Every resource in Guardrails has a unique numeric Resource ID (also called the Turbot ID) that you can use in GraphQL queries, CLI commands, Terraform configurations, log lookups, and troubleshooting. You will find it, along with ready-to-use API snippets, on the resource's Developers tab.
Prerequisites
Turbot/Operatorpermissions at the Turbot resource level.
Step 1: Locate the Resource
Click Search in the sidebar and enter the resource name or type. Results are grouped by kind (Accounts, Resources, Controls, and more), and you can narrow them with the Resource, Type, and Category filters at the top.

Click the resource in the Resources group to open it. You can also reach a resource by clicking a resource link from a control, policy value, or activity entry.
Step 2: Open the Developers Tab
On the resource page, click the Developers tab. The Identifiers section lists everything you need to reference the resource:

| Field | Description |
|---|---|
| RESOURCE ID | The unique numeric Turbot ID for this resource. This is the Resource ID. |
| RESOURCE AKAS | Also Known As, the cloud provider's identifier for this resource (for example, an ARN or GCP resource URI). |
| RESOURCE TYPE URI | The Guardrails type identifier (for example, tmod:@turbot/gcp-storage#/resource/types/bucket). |
Click the copy icon next to any value to copy it to your clipboard.
[!TIP] The Developers tab also gives you prebuilt GraphQL queries and Terraform for this exact resource, ready to copy into your own tooling.
Using the Resource ID
The Resource ID can be used in:
- GraphQL queries: As the
idparameter inresourcequeries. - CLI commands: With the
turbot graphqlcommand orturbot resourcecommands. - Terraform: As a resource reference in Guardrails Terraform provider configurations.
- Troubleshooting: To look up specific resources in logs, activity history, or support tickets.
The Resource ID is also visible in the URL when viewing a resource, for example https://your-workspace.cloud.turbot.com/resources/387711514326187.
Troubleshooting
| Issue | Description | Guide |
|---|---|---|
| Developers tab shows no data | You may not have sufficient permissions, or the page may not have fully loaded. | Ensure you have Turbot/Operator permissions and refresh the page. |
| Resource not found in search | The resource may have been deleted or may be in a different account. | Try searching by cloud provider ID (ARN, resource URI) or check the deleted resources history. |
| Further assistance | If you cannot locate the resource or its ID. | Open a Support Ticket |